RPKI Engine  1.0
Public Member Functions
rpki::up_down::base_elt Class Reference
Inheritance diagram for rpki::up_down::base_elt:
Inheritance graph
Collaboration diagram for rpki::up_down::base_elt:
Collaboration graph

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::error_response_pdu, and rpki::up_down::issue_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::error_response_pdu, rpki::up_down::issue_pdu, rpki::up_down::class_elt, and rpki::up_down::certificate_elt.

Definition at line 59 of file up_down.py.

Referenced by rpki::xml_utils::sax_handler::endElementNS().

Here is the caller graph for this function:

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

Definition at line 78 of file up_down.py.

Referenced by rpki::up_down::class_elt::toXML(), and rpki::xml_utils::data_elt::toXML().

Here is the caller graph for this function:

def rpki::up_down::base_elt::make_elt (   self,
  name,
  attrs 
)
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::revoke_pdu, rpki::up_down::issue_pdu, rpki::up_down::list_pdu, rpki::rootd::revoke_pdu, rpki::rootd::issue_pdu, and rpki::rootd::list_pdu.

Definition at line 85 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::message_pdu, rpki::up_down::revoke_syntax, rpki::up_down::issue_pdu, rpki::up_down::class_response_syntax, rpki::up_down::class_elt, and rpki::up_down::certificate_elt.

Definition at line 50 of file up_down.py.

Referenced by rpki::xml_utils::sax_handler::startElementNS().

Here is the caller graph for this function:


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