class documentation
class _WrappingProtocol(Protocol): (source)
Constructor: _WrappingProtocol(connectedDeferred, wrappedProtocol)
Wrap another protocol in order to notify my user when a connection has been made.
Method | __init__ |
No summary |
Method | connection |
Proxy connectionLost calls to our self._wrappedProtocol |
Method | connection |
Connect the self._wrappedProtocol to our self.transport and callback self._connectedDeferred with the self._wrappedProtocol |
Method | data |
Proxy dataReceived calls to our self._wrappedProtocol |
Method | file |
Proxy fileDescriptorReceived calls to our self._wrappedProtocol |
Method | handshake |
Proxy interfaces.IHandshakeListener to our self._wrappedProtocol. |
Method | log |
Transparently pass through the wrapped protocol's log prefix. |
Method | read |
Proxy IHalfCloseableProtocol.readConnectionLost to our self._wrappedProtocol |
Method | write |
Proxy IHalfCloseableProtocol.writeConnectionLost to our self._wrappedProtocol |
Instance Variable | _connected |
Undocumented |
Instance Variable | _wrapped |
Undocumented |
Inherited from Protocol
:
Class Variable | factory |
Undocumented |
Inherited from BaseProtocol
(via Protocol
):
Method | make |
Make a connection to a transport and a server. |
Instance Variable | connected |
Undocumented |
Instance Variable | transport |
Undocumented |
Connect the self._wrappedProtocol to our self.transport and callback self._connectedDeferred with the self._wrappedProtocol