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.
handshakeCompletedCalls =
The number of times handshakeCompleted (type: int)
def __init__(self):
def handshakeCompleted(self):

Called when a TLS handshake has completed. Implemented per IHandshakeListener

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.