RPKI Engine  1.0
Public Member Functions | Public Attributes | Static Public Attributes
rpki::http::http_listener Class Reference
Inheritance diagram for rpki::http::http_listener:
Inheritance graph
Collaboration diagram for rpki::http::http_listener:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __repr__
def handle_accept
def handle_error

Public Attributes

 handlers

Static Public Attributes

 log = log_method

Detailed Description

Listener for incoming HTTP connections.

Definition at line 575 of file http.py.


Constructor & Destructor Documentation

def rpki::http::http_listener::__init__ (   self,
  handlers,
  addrinfo 
)

Definition at line 589 of file http.py.


Member Function Documentation

def rpki::http::http_listener::__repr__ (   self)

Definition at line 582 of file http.py.

References rpki::http::http_client::addr, and rpki::http::addr_to_string().

Here is the call graph for this function:

def rpki::http::http_listener::handle_accept (   self)
Asyncore says we have an incoming connection, spawn an http_server
stream for it and pass along all of our handler data.

Definition at line 611 of file http.py.

References rpki::http::addr_to_string(), rpki::adns::dispatcher::handle_error(), rpki::http::http_stream::handle_error(), handle_error(), rpki::http::http_server::handlers, handlers, rpki::http::http_stream::log, and log.

Here is the call graph for this function:

def rpki::http::http_listener::handle_error (   self)
Asyncore signaled an error, pass it along or log it.

Definition at line 626 of file http.py.

References rpki::http::http_stream::log, and log.

Referenced by rpki::http::http_client::dns_error(), handle_accept(), and rpki::http::http_client::handle_timeout().

Here is the caller graph for this function:


Member Data Documentation

rpki::http::http_listener::log = log_method [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties