twisted.internet.test.test_endpoints.TestHandshakeListener(TestProtocol) class documentationtwisted.internet.test.test_endpoints
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IHandshakeListener
A Protocol that implements IHandshakeListener
and records the number of times its handshakeCompleted method 
has been called.
| Instance Variable | handshakeCompletedCalls | The number of times handshakeCompleted(type:int) | 
| Method | __init__ | Undocumented | 
| Method | handshakeCompleted | Called when a TLS handshake has completed.  Implemented per IHandshakeListener | 
Inherited from TestProtocol:
| Method | logPrefix | Return a prefix matching the class name, to identify log messages related to this protocol instance. | 
| Method | connectionMade | Called when a connection is made. | 
| Method | dataReceived | Called whenever data is received. | 
| Method | connectionLost | Called when the connection is shut down. | 
Inherited from BaseProtocol (via TestProtocol, Protocol):
| Method | makeConnection | Make a connection to a transport and a server. | 
Called when a TLS handshake has completed.  Implemented per IHandshakeListener