Wrap another protocol in order to notify my user when a connection has been made.
Method | __init__ | |
Method | logPrefix | Transparently pass through the wrapped protocol's log prefix. |
Method | connectionMade | Connect the self._wrappedProtocol to our self.transport and callback self._connectedDeferred with the self._wrappedProtocol |
Method | dataReceived | Proxy dataReceived calls to our self._wrappedProtocol |
Method | fileDescriptorReceived | Proxy fileDescriptorReceived calls to our self._wrappedProtocol |
Method | connectionLost | Proxy connectionLost calls to our self._wrappedProtocol |
Method | readConnectionLost | Proxy IHalfCloseableProtocol.readConnectionLost to our self._wrappedProtocol |
Method | writeConnectionLost | Proxy IHalfCloseableProtocol.writeConnectionLost to our self._wrappedProtocol |
Method | handshakeCompleted | Proxy interfaces.IHandshakeListener to our self._wrappedProtocol . |
Instance Variable | _connectedDeferred | Undocumented |
Instance Variable | _wrappedProtocol | Undocumented |
Inherited from Protocol:
Class Variable | factory | Undocumented |
Inherited from BaseProtocol (via Protocol):
Instance Variable | connected | Undocumented |
Instance Variable | transport | Undocumented |
Method | makeConnection | Make a connection to a transport and a server. |
Connect the self._wrappedProtocol
to our self.transport
and callback self._connectedDeferred
with the self._wrappedProtocol
Proxy fileDescriptorReceived
calls to our self._wrappedProtocol
Proxy IHalfCloseableProtocol.readConnectionLost
to our self._wrappedProtocol
Proxy IHalfCloseableProtocol.writeConnectionLost
to our self._wrappedProtocol
Proxy interfaces.IHandshakeListener
to our self._wrappedProtocol
.