rpki.up_down.base_elt Class Reference

Inherits object.

Inherited by rpki.up_down.certificate_elt, rpki.up_down.class_elt, rpki.up_down.class_response_syntax, rpki.up_down.error_response_pdu, rpki.up_down.issue_pdu, rpki.up_down.list_pdu, rpki.up_down.message_pdu, and rpki.up_down.revoke_syntax.

List of all members.

Public Member Functions

def check_response
def endElement
def make_b64elt
def make_elt
def serve_pdu
def startElement

Detailed Description

Generic PDU object.

Virtual class, just provides some default methods.

Definition at line 43 of file up_down.py.


Member Function Documentation

def rpki.up_down.base_elt.check_response (   self  ) 
Placeholder for response checking.

Reimplemented in rpki.up_down.issue_response_pdu, and rpki.up_down.error_response_pdu.

Definition at line 91 of file up_down.py.

def rpki.up_down.base_elt.endElement (   self,
  stack,
  name,
  text 
)
Ignore endElement() if there's no specific handler.

If we don't need to do anything else, just pop the stack.

Reimplemented in rpki.up_down.certificate_elt, rpki.up_down.class_elt, rpki.up_down.issue_pdu, and rpki.up_down.error_response_pdu.

Definition at line 59 of file up_down.py.

def rpki.up_down.base_elt.make_b64elt (   self,
  elt,
  name,
  value = None 
)
Construct a sub-element with Base64 text content.

Definition at line 78 of file up_down.py.

def rpki.up_down.base_elt.make_elt (   self,
  name,
  attrs 
)
Construct a element, copying over a set of attributes.

Definition at line 67 of file up_down.py.

def rpki.up_down.base_elt.serve_pdu (   self,
  q_msg,
  r_msg,
  child,
  callback,
  errback 
)
Default PDU handler to catch unexpected types.

Reimplemented in rpki.up_down.list_pdu, rpki.up_down.issue_pdu, rpki.up_down.revoke_pdu, rootd.list_pdu, rootd.issue_pdu, and rootd.revoke_pdu.

Definition at line 87 of file up_down.py.

def rpki.up_down.base_elt.startElement (   self,
  stack,
  name,
  attrs 
)
Ignore startElement() if there's no specific handler.

Some elements have no attributes and we only care about their
text content.

Reimplemented in rpki.up_down.certificate_elt, rpki.up_down.class_elt, rpki.up_down.class_response_syntax, rpki.up_down.issue_pdu, rpki.up_down.revoke_syntax, and rpki.up_down.message_pdu.

Definition at line 50 of file up_down.py.


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

Generated on Tue Jan 12 07:56:03 2010 for RPKI Engine by  doxygen 1.6.1