Public Member Functions | |
def | __init__ |
def | close |
def | connect |
Public Attributes | |
io_loop | |
resolver | |
Private Member Functions | |
def | _create_stream |
Private Attributes | |
_own_resolver |
A non-blocking TCP connection factory.
Definition at line 136 of file tcpclient.py.
def tornado.tcpclient.TCPClient.__init__ | ( | self, | |
resolver = None , |
|||
io_loop = None |
|||
) |
Definition at line 139 of file tcpclient.py.
def tornado.tcpclient.TCPClient._create_stream | ( | self, | |
max_buffer_size, | |||
af, | |||
addr | |||
) | [private] |
Definition at line 173 of file tcpclient.py.
def tornado.tcpclient.TCPClient.close | ( | self | ) |
Definition at line 148 of file tcpclient.py.
def tornado.tcpclient.TCPClient.connect | ( | self, | |
host, | |||
port, | |||
af = socket.AF_UNSPEC , |
|||
ssl_options = None , |
|||
max_buffer_size = None |
|||
) |
Connect to the given host and port. Asynchronously returns an `.IOStream` (or `.SSLIOStream` if ``ssl_options`` is not None).
Definition at line 153 of file tcpclient.py.
Definition at line 139 of file tcpclient.py.
Definition at line 139 of file tcpclient.py.
Definition at line 139 of file tcpclient.py.