t.i.i.IStreamClientEndpoint(Interface) : interface documentation

Part of twisted.internet.interfaces View Source View In Hierarchy

A stream client endpoint is a place that ClientFactory can connect to. For example, a remote TCP host/port pair would be a TCP client endpoint.
Present Since10.1
Method connect Connect the protocolFactory to the location specified by this IStreamClientEndpoint provider.
def connect(protocolFactory): (source)
Connect the protocolFactory to the location specified by this IStreamClientEndpoint provider.
ParametersprotocolFactoryA provider of IProtocolFactory
ReturnsA Deferred that results in an IProtocol upon successful connection otherwise a Failure wrapping ConnectError or NoProtocol.
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.