RPKI Engine
1.0
|
Public Member Functions | |
def | __init__ |
def | __repr__ |
def | handle_accept |
def | handle_error |
Public Attributes | |
handlers | |
Static Public Attributes | |
log = log_method |
def rpki::http::http_listener::__init__ | ( | self, | |
handlers, | |||
addrinfo | |||
) |
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().
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.
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().
Definition at line 589 of file http.py.
Referenced by rpki::rpkid::publication_queue::_add(), rpki::rpkid::publication_queue::call_pubd(), and handle_accept().
rpki::http::http_listener::log = log_method [static] |
Definition at line 580 of file http.py.
Referenced by rpki::http::http_queue::detach(), handle_accept(), rpki::http::http_client::handle_close(), rpki::http::http_client::handle_connect(), handle_error(), rpki::http::http_client::handle_error(), rpki::http::http_server::handle_message(), rpki::http::http_client::handle_message(), rpki::http::http_client::handle_timeout(), rpki::http::http_queue::request(), rpki::http::http_queue::restart(), rpki::http::http_queue::return_result(), rpki::http::http_server::send_message(), rpki::http::http_client::send_request(), rpki::http::http_client::set_state(), and rpki::http::http_client::start().