Part of twisted.internet.endpoints View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
| Method | __init__ | No summary |
| Method | connect | Implement IStreamClientEndpoint.connect
to connect via TCP. |
| Instance Variable | _reactor | An IReactorTCP
provider. |
| Instance Variable | _host | The hostname to connect to as a str (type: str) |
| Instance Variable | _port | The port to connect to as int (type: int) |
| Instance Variable | _timeout | number of seconds to wait before assuming the connection has failed. (type: int) |
| 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.