twisted.internet.endpoints._WrappingProtocol(Protocol) class documentationtwisted.internet.endpoints
(View In Hierarchy)
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._wrappedProtocolto ourself.transportand callbackself._connectedDeferredwith theself._wrappedProtocol | 
| Method | dataReceived | Proxy dataReceivedcalls to ourself._wrappedProtocol | 
| Method | fileDescriptorReceived | Proxy fileDescriptorReceivedcalls to ourself._wrappedProtocol | 
| Method | connectionLost | Proxy connectionLostcalls to ourself._wrappedProtocol | 
| Method | readConnectionLost | Proxy IHalfCloseableProtocol.readConnectionLostto ourself._wrappedProtocol | 
| Method | writeConnectionLost | Proxy IHalfCloseableProtocol.writeConnectionLostto ourself._wrappedProtocol | 
| Method | handshakeCompleted | Proxy interfaces.IHandshakeListenerto ourself._wrappedProtocol. | 
Inherited from BaseProtocol (via Protocol):
| 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