class documentation
class TCP6ClientEndpoint: (source)
Constructor: TCP6ClientEndpoint(reactor, host, port, timeout, bindAddress)
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
TCP client endpoint with an IPv6 configuration.
| Method | __init__ |
No summary |
| Method | connect |
Implement IStreamClientEndpoint.connect to connect via TCP, once the hostname resolution is done. |
| Method | _name |
Resolve the hostname string into a tuple containing the host IPv6 address. |
| Method | _resolved |
Connect to the server using the resolved hostname. |
| Constant | _GAI |
Index of the address portion in result of getaddrinfo to be used. |
| Constant | _GAI |
Index of the actual host-address in the 5-tuple _GAI_ADDRESS. |
| Instance Variable | _bind |
Undocumented |
| Instance Variable | _defer |
A hook used for testing deferToThread. |
| Instance Variable | _getaddrinfo |
A hook used for testing name resolution. |
| Instance Variable | _host |
Undocumented |
| Instance Variable | _port |
Undocumented |
| Instance Variable | _reactor |
Undocumented |
| Instance Variable | _timeout |
Undocumented |
| Parameters | |
| reactor | Undocumented |
| host | An IPv6 address literal or a hostname with an IPv6 address |
| port | Undocumented |
| timeout | Undocumented |
| bind | Undocumented |
| See Also | |
twisted.internet.interfaces.IReactorTCP.connectTCP | |