twisted.test.test_tcp.HandleSavingProtocol(ConnectionLostNotifyingProtocol) class documentationtwisted.test.test_tcp
(View In Hierarchy)
Protocol which grabs the platform-specific socket handle and saves it as an attribute on itself when the connection is established.
| Method | makeConnection | Save the platform-specific socket handle for future introspection. | 
Inherited from ConnectionLostNotifyingProtocol:
| Instance Variable | onConnectionLost | The Deferredwhich
will be fired inconnectionLost. | 
| Instance Variable | lostConnectionReason | Noneuntil the connection is lost, then a reference to the reason passed toconnectionLost. | 
| Method | __init__ | Undocumented | 
| Method | connectionLost | Called when the connection is shut down. | 
Inherited from Protocol (via ConnectionLostNotifyingProtocol):
| Method | logPrefix | Return a prefix matching the class name, to identify log messages related to this protocol instance. | 
| Method | dataReceived | Called whenever data is received. | 
Inherited from BaseProtocol (via ConnectionLostNotifyingProtocol, Protocol):
| Method | connectionMade | Called when a connection is made. |