class documentation
class HandleSavingProtocol(ConnectionLostNotifyingProtocol):
Constructor: HandleSavingProtocol(onConnectionLost)
Protocol which grabs the platform-specific socket handle and saves it as an attribute on itself when the connection is established.
Method | make |
Save the platform-specific socket handle for future introspection. |
Instance Variable | handle |
Undocumented |
Inherited from ConnectionLostNotifyingProtocol
:
Method | __init__ |
Undocumented |
Method | connection |
Called when the connection is shut down. |
Instance Variable | lost |
None until the connection is lost, then a reference to the reason passed to connectionLost. |
Instance Variable | on |
The Deferred which will be fired in connectionLost. |
Inherited from Protocol
(via ConnectionLostNotifyingProtocol
):
Method | data |
Called whenever data is received. |
Method | log |
Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Class Variable | factory |
Undocumented |
Inherited from BaseProtocol
(via ConnectionLostNotifyingProtocol
, Protocol
):
Method | connection |
Called when a connection is made. |
Instance Variable | connected |
Undocumented |
Instance Variable | transport |
Undocumented |