You can persist Twisted server and client endpoints. They are stored and created using their string descriptions. You can create the regular endpoint objects by calling their instantiate methods, but the preferred API is to call listen or connect just as if they were regular endpoints.