rpki.publication.publication_object_elt Class Reference

Inheritance diagram for rpki.publication.publication_object_elt:

Inheritance graph

List of all members.

Public Member Functions

def endElement
def serve_dispatch
def serve_publish
def serve_withdraw
def toXML
def uri_to_filename

Static Public Attributes

tuple attributes = ("action", "tag", "client_id", "uri")
 XML attributes for this element.
 payload = None


Detailed Description

Virtual class for publishable objects.  These have very similar
syntax, differences lie in underlying datatype and methods.  XML
methods are a little different from the pattern used for objects
that support the create/set/get/list/destroy actions, but
publishable objects don't go in SQL either so these classes would be
different in any case.

Definition at line 138 of file publication.py.


Member Function Documentation

def rpki.publication.publication_object_elt.endElement (   self,
  stack,
  name,
  text 
)

Handle a publishable element element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 150 of file publication.py.

def rpki.publication.publication_object_elt.serve_dispatch (   self,
  r_msg,
  client 
)

Action dispatch handler.

Definition at line 164 of file publication.py.

def rpki.publication.publication_object_elt.serve_publish (   self  ) 

Publish an object.

Definition at line 180 of file publication.py.

def rpki.publication.publication_object_elt.serve_withdraw (   self  ) 

Withdraw an object.

Definition at line 191 of file publication.py.

def rpki.publication.publication_object_elt.toXML (   self  ) 

Generate XML element for publishable object.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 157 of file publication.py.

def rpki.publication.publication_object_elt.uri_to_filename (   self  ) 

Convert a URI to a local filename.

Definition at line 196 of file publication.py.


Member Data Documentation

tuple rpki.publication.publication_object_elt.attributes = ("action", "tag", "client_id", "uri") [static]

XML attributes for this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 147 of file publication.py.

Definition at line 148 of file publication.py.


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

Generated on Mon Jun 16 22:22:52 2008 for RPKI Engine by  doxygen 1.5.5