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

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

Known implementations: twisted.internet.endpoints.SSL4ClientEndpoint, twisted.internet.endpoints.TCP4ClientEndpoint, twisted.internet.endpoints.UNIXClientEndpoint

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 2011-10-27 16:17:34.