RPKI Engine  1.0
Public Member Functions | Public Attributes
rpki::adns::dispatcher Class Reference
Inheritance diagram for rpki::adns::dispatcher:
Inheritance graph
Collaboration diagram for rpki::adns::dispatcher:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def handle_connect
def handle_error
def handle_read
def writable

Public Attributes

 af
 bufsize
 cb
 eb

Detailed Description

Basic UDP socket reader for use with asyncore.

Definition at line 77 of file adns.py.


Constructor & Destructor Documentation

def rpki::adns::dispatcher::__init__ (   self,
  cb,
  eb,
  af,
  bufsize = 65535 
)

Definition at line 82 of file adns.py.


Member Function Documentation

def rpki::adns::dispatcher::handle_connect (   self)
Quietly ignore UDP "connection" events.

Definition at line 103 of file adns.py.

def rpki::adns::dispatcher::handle_error (   self)
Pass errors to query class errback.

Definition at line 97 of file adns.py.

References eb.

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

Here is the caller graph for this function:

def rpki::adns::dispatcher::handle_read (   self)
Receive a packet, hand it off to query class callback.

Definition at line 90 of file adns.py.

References af, bufsize, and cb.

def rpki::adns::dispatcher::writable (   self)
We don't need to hear about UDP socket becoming writable.

Definition at line 109 of file adns.py.


Member Data Documentation

Definition at line 82 of file adns.py.

Referenced by handle_read().

Definition at line 82 of file adns.py.

Referenced by handle_read().


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