class documentation
class TestHandshakeListener(TestProtocol): (source)
Implements interfaces: twisted.internet.interfaces.IHandshakeListener
A Protocol that implements IHandshakeListener
and records the number of times its handshakeCompleted method has been called.
Method | __init__ |
Undocumented |
Method | handshake |
Called when a TLS handshake has completed. Implemented per IHandshakeListener |
Instance Variable | handshake |
The number of times handshakeCompleted |
Inherited from TestProtocol
:
Method | connection |
Called when the connection is shut down. |
Method | connection |
Called when a connection is made. |
Method | data |
Called whenever data is received. |
Method | log |
Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Instance Variable | connection |
Undocumented |
Instance Variable | connections |
Undocumented |
Instance Variable | data |
Undocumented |
Inherited from Protocol
(via TestProtocol
):
Class Variable | factory |
Undocumented |
Inherited from BaseProtocol
(via TestProtocol
, Protocol
):
Method | make |
Make a connection to a transport and a server. |
Instance Variable | connected |
Undocumented |
Instance Variable | transport |
Undocumented |