Changes between Initial Version and Version 1 of Ticket #203, comment 6
- Timestamp:
- 10/04/2013 03:32:10 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #203, comment 6
initial v1 1 Attached is my first pass at migrating `foolscap.pb.Listener` to use Twisted endpoints. Calling `Tub.listenOn()` should work with any valid endpoint description. This is untested, and non-TCP endpoint descriptions will not work because the client side still expects TCP.1 Attached is my first pass at migrating `foolscap.pb.Listener` to use Twisted endpoints. Calling `Tub.listenOn()` should work with any valid endpoint description. This is untested, and non-TCP endpoint descriptions will listen but not be used because the client side still only knows TCP. 2 2 3 3 Modifying the client side will take more time, because I don't yet understand how connections are managed by foolscap. [https://twistedmatrix.com/documents/13.1.0/api/twisted.internet.interfaces.IReactorTCP.html#connectTCP reactor.connectTCP()] (used in `TubConnector.connectToAll()`) returns an [https://twistedmatrix.com/documents/13.1.0/api/twisted.internet.interfaces.IConnector.html IConnector] which I think can be restarted, but [https://twistedmatrix.com/documents/13.1.0/api/twisted.internet.interfaces.IStreamClientEndpoint.html#connect IStreamClientEndpoint.connect()] returns an [https://twistedmatrix.com/documents/13.1.0/api/twisted.internet.interfaces.IProtocol.html IProtocol] which cannot.