twisted.web.test.test_client.DummyEndPoint(object)
class documentationtwisted.web.test.test_client
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
An endpoint that does not connect anywhere
Method | __init__ | Undocumented |
Method | __repr__ | Undocumented |
Method | connect | Connect the protocolFactory to the location specified by
this IStreamClientEndpoint
provider. |
Connect the protocolFactory
to the location specified by
this IStreamClientEndpoint
provider.
Parameters | protocolFactory | A provider of IProtocolFactory |
Returns | A Deferred
that results in an IProtocol
upon successful connection otherwise a Failure
wrapping ConnectError
or NoProtocol . |