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 ConnectError
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.