RPKI Engine 1.0
Public Member Functions | Static Public Attributes

rpki.left_right.data_elt Class Reference

Inheritance diagram for rpki.left_right.data_elt:
Inheritance graph
Collaboration diagram for rpki.left_right.data_elt:
Collaboration graph

List of all members.

Public Member Functions

def bsc
def make_reply_clone_hook
def self
def serve_fetch_all
def serve_fetch_handle
def serve_fetch_one_maybe
def serve_pre_save_hook

Static Public Attributes

tuple handles = ()
 self_handle = None
 self_id = None

Detailed Description

Virtual class for top-level left-right protocol data elements.

Definition at line 50 of file left_right.py.


Member Function Documentation

def rpki.left_right.data_elt.bsc (   self)
Return BSC object to which this object links.

Definition at line 68 of file left_right.py.

def rpki.left_right.data_elt.make_reply_clone_hook (   self,
  r_pdu 
)
Set handles when cloning, including _id -> _handle translation.

Reimplemented from rpki.xml_utils.data_elt.

Definition at line 74 of file left_right.py.

def rpki.left_right.data_elt.self (   self)
Fetch self object to which this object links.

Definition at line 61 of file left_right.py.

def rpki.left_right.data_elt.serve_fetch_all (   self)
Find the objects on which a list method should operate.

Reimplemented in rpki.left_right.self_elt.

Definition at line 105 of file left_right.py.

def rpki.left_right.data_elt.serve_fetch_handle (   cls,
  gctx,
  self_id,
  handle 
)
Find an object based on its handle.

Reimplemented in rpki.left_right.self_elt.

Definition at line 90 of file left_right.py.

def rpki.left_right.data_elt.serve_fetch_one_maybe (   self)
Find the object on which a get, set, or destroy method should
operate, or which would conflict with a create method.

Reimplemented in rpki.left_right.self_elt.

Definition at line 96 of file left_right.py.

def rpki.left_right.data_elt.serve_pre_save_hook (   self,
  q_pdu,
  r_pdu,
  cb,
  eb 
)
Hook to do _handle => _id translation before saving.

self is always the object to be saved to SQL.  For create
operations, self and q_pdu are be the same object; for set
operations, self is the pre-existing object from SQL and q_pdu is
the set request received from the the IRBE.

Reimplemented from rpki.xml_utils.data_elt.

Reimplemented in rpki.left_right.bsc_elt.

Definition at line 112 of file left_right.py.


Member Data Documentation

tuple rpki.left_right.data_elt.handles = () [static]

Definition at line 58 of file left_right.py.

Definition at line 57 of file left_right.py.


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