Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
tornado.curl_httpclient.CurlAsyncHTTPClient Class Reference

List of all members.

Public Member Functions

def close
def fetch
def handle_callback_exception
def initialize

Public Attributes

 io_loop

Private Member Functions

def _finish
def _finish_pending_requests
def _handle_events
def _handle_force_timeout
def _handle_socket
def _handle_timeout
def _process_queue
def _set_timeout

Private Attributes

 _closed
 _curls
 _fds
 _force_timeout_callback
 _free_list
 _multi
 _requests
 _socket_action
 _timeout

Detailed Description

Definition at line 36 of file curl_httpclient.py.


Member Function Documentation

def tornado.curl_httpclient.CurlAsyncHTTPClient._finish (   self,
  curl,
  curl_error = None,
  curl_message = None 
) [private]

Definition at line 219 of file curl_httpclient.py.

Process any requests that were completed by the last
call to multi.socket_action.

Definition at line 178 of file curl_httpclient.py.

def tornado.curl_httpclient.CurlAsyncHTTPClient._handle_events (   self,
  fd,
  events 
) [private]
Called by IOLoop when there is activity on one of our
file descriptors.

Definition at line 115 of file curl_httpclient.py.

Called by IOLoop periodically to ask libcurl to process any
events it may have forgotten about.

Definition at line 164 of file curl_httpclient.py.

def tornado.curl_httpclient.CurlAsyncHTTPClient._handle_socket (   self,
  event,
  fd,
  multi,
  data 
) [private]
Called by libcurl when it wants to change the file descriptors
it cares about.

Definition at line 85 of file curl_httpclient.py.

Called by IOLoop when the requested timeout has passed.

Definition at line 133 of file curl_httpclient.py.

Definition at line 192 of file curl_httpclient.py.

def tornado.curl_httpclient.CurlAsyncHTTPClient._set_timeout (   self,
  msecs 
) [private]
Called by libcurl to schedule a timeout.

Definition at line 108 of file curl_httpclient.py.

Definition at line 70 of file curl_httpclient.py.

def tornado.curl_httpclient.CurlAsyncHTTPClient.fetch (   self,
  request,
  callback,
  kwargs 
)

Definition at line 78 of file curl_httpclient.py.

Definition at line 256 of file curl_httpclient.py.

def tornado.curl_httpclient.CurlAsyncHTTPClient.initialize (   self,
  io_loop = None,
  max_clients = 10,
  max_simultaneous_connections = None 
)

Definition at line 37 of file curl_httpclient.py.


Member Data Documentation

Definition at line 70 of file curl_httpclient.py.

Definition at line 37 of file curl_httpclient.py.

Definition at line 37 of file curl_httpclient.py.

Definition at line 37 of file curl_httpclient.py.

Definition at line 37 of file curl_httpclient.py.

Definition at line 37 of file curl_httpclient.py.

Definition at line 37 of file curl_httpclient.py.

Definition at line 37 of file curl_httpclient.py.

Definition at line 37 of file curl_httpclient.py.

Definition at line 37 of file curl_httpclient.py.


The documentation for this class was generated from the following file:


roswww
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:30