Part of twisted.internet.endpoints View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
Instance Variables | _reactor | An IReactorTCP
provider.
|
_host | The hostname to connect to as a str
(type: str
) | |
_port | The port to connect to as int
(type: int
) | |
_timeout | number of seconds to wait before assuming the connection has failed. (type: int ) |
Method | __init__ | No summary |
Method | connect | Implement IStreamClientEndpoint.connect
to connect via TCP.
|
Parameters | reactor | An IReactorTCP
provider
|
host | A hostname, used when connecting | |
port | The port number, used when connecting | |
timeout | number of seconds to wait before assuming the connection has failed. | |
bindAddress | a (host, port tuple of local address to bind to, or None. |
IStreamClientEndpoint.connect
to connect via TCP.