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 Deferred which will be fired in connectionLost.
Instance Variable lostConnectionReason None until the connection is lost, then a reference to the reason passed to connectionLost.
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.
def makeConnection(self, transport):

Save the platform-specific socket handle for future introspection.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.