Public Member Functions | Public Attributes

rpki.adns.dispatcher Class Reference

Inherits asyncore::dispatcher.

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.


Member Function Documentation

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

Definition at line 82 of file adns.py.

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.

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.

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 86 of file adns.py.

Definition at line 87 of file adns.py.

Definition at line 84 of file adns.py.

Definition at line 85 of file adns.py.


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