RPKI Engine  1.0
Public Member Functions
rpki::xml_utils::data_elt Class Reference
Inheritance diagram for rpki::xml_utils::data_elt:
Inheritance graph
Collaboration diagram for rpki::xml_utils::data_elt:
Collaboration graph

List of all members.

Public Member Functions

def endElement
def make_reply
def make_reply_clone_hook
def serve_create
def serve_destroy
def serve_destroy_hook
def serve_dispatch
def serve_fetch_one
def serve_get
def serve_list
def serve_post_save_hook
def serve_pre_save_hook
def serve_set
def toXML
def unimplemented_control

Detailed Description

Virtual base class for PDUs that map to SQL objects.  These objects
all implement the create/set/get/list/destroy action attribute.

Definition at line 247 of file xml_utils.py.


Member Function Documentation

def rpki::xml_utils::data_elt::endElement (   self,
  stack,
  name,
  text 
)
def rpki::xml_utils::data_elt::make_reply (   self,
  r_pdu = None 
)
def rpki::xml_utils::data_elt::make_reply_clone_hook (   self,
  r_pdu 
)
Overridable hook.

Reimplemented in rpki::left_right::data_elt.

Definition at line 294 of file xml_utils.py.

Referenced by make_reply().

Here is the caller graph for this function:

def rpki::xml_utils::data_elt::serve_create (   self,
  r_msg,
  cb,
  eb 
)
Handle a create action.

Definition at line 322 of file xml_utils.py.

References rpki::publication::config_elt::element_name, rpki::publication::client_elt::element_name, rpki::left_right::self_elt::element_name, rpki::publication::certificate_elt::element_name, rpki::publication::crl_elt::element_name, rpki::publication::manifest_elt::element_name, rpki::publication::roa_elt::element_name, rpki::publication::ghostbuster_elt::element_name, rpki::publication::report_error_elt::element_name, rpki::left_right::bsc_elt::element_name, rpki::left_right::repository_elt::element_name, rpki::left_right::parent_elt::element_name, rpki::left_right::child_elt::element_name, rpki::left_right::list_resources_elt::element_name, rpki::left_right::list_roa_requests_elt::element_name, rpki::left_right::list_ghostbuster_requests_elt::element_name, rpki::left_right::list_published_objects_elt::element_name, rpki::left_right::list_received_resources_elt::element_name, rpki::left_right::report_error_elt::element_name, make_reply(), rpki::left_right::list_published_objects_elt::make_reply(), rpki::left_right::list_received_resources_elt::make_reply(), rpki::left_right::data_elt::serve_fetch_one_maybe(), rpki::publication::config_elt::serve_fetch_one_maybe(), rpki::publication::client_elt::serve_fetch_one_maybe(), rpki::left_right::self_elt::serve_fetch_one_maybe(), rpki::left_right::self_elt::serve_post_save_hook(), serve_post_save_hook(), rpki::left_right::parent_elt::serve_post_save_hook(), rpki::left_right::child_elt::serve_post_save_hook(), rpki::left_right::data_elt::serve_pre_save_hook(), serve_pre_save_hook(), rpki::left_right::bsc_elt::serve_pre_save_hook(), rpki::sql::sql_persistent::sql_store(), rpki::publication::config_elt::sql_template, rpki::publication::client_elt::sql_template, rpki::left_right::self_elt::sql_template, rpki::rpkid::ca_obj::sql_template, rpki::rpkid::ca_detail_obj::sql_template, rpki::left_right::bsc_elt::sql_template, rpki::left_right::repository_elt::sql_template, rpki::left_right::parent_elt::sql_template, rpki::left_right::child_elt::sql_template, rpki::rpkid::child_cert_obj::sql_template, rpki::rpkid::revoked_cert_obj::sql_template, rpki::rpkid::roa_obj::sql_template, and rpki::rpkid::ghostbuster_obj::sql_template.

Referenced by serve_dispatch().

Here is the call graph for this function:

Here is the caller graph for this function:

def rpki::xml_utils::data_elt::serve_destroy (   self,
  r_msg,
  cb,
  eb 
)
Handle a destroy action.

Definition at line 392 of file xml_utils.py.

References make_reply(), rpki::left_right::list_published_objects_elt::make_reply(), rpki::left_right::list_received_resources_elt::make_reply(), and serve_fetch_one().

Referenced by serve_dispatch().

Here is the call graph for this function:

Here is the caller graph for this function:

def rpki::xml_utils::data_elt::serve_destroy_hook (   self,
  cb,
  eb 
)
Overridable hook.

Reimplemented in rpki::left_right::child_elt.

Definition at line 386 of file xml_utils.py.

def rpki::xml_utils::data_elt::serve_dispatch (   self,
  r_msg,
  cb,
  eb 
)
Action dispatch handler.

Reimplemented in rpki::publication::control_elt.

Definition at line 403 of file xml_utils.py.

References serve_create(), serve_destroy(), serve_get(), serve_list(), rpki::publication::config_elt::serve_set(), and serve_set().

Here is the call graph for this function:

def rpki::xml_utils::data_elt::serve_fetch_one (   self)
Find the object on which a get, set, or destroy method should
operate.

Definition at line 300 of file xml_utils.py.

Referenced by serve_destroy(), serve_get(), and serve_set().

Here is the caller graph for this function:

def rpki::xml_utils::data_elt::serve_get (   self,
  r_msg,
  cb,
  eb 
)
Handle a get action.

Definition at line 368 of file xml_utils.py.

References make_reply(), rpki::left_right::list_published_objects_elt::make_reply(), rpki::left_right::list_received_resources_elt::make_reply(), and serve_fetch_one().

Referenced by serve_dispatch().

Here is the call graph for this function:

Here is the caller graph for this function:

def rpki::xml_utils::data_elt::serve_list (   self,
  r_msg,
  cb,
  eb 
)
Handle a list action for non-self objects.

Definition at line 377 of file xml_utils.py.

References make_reply(), rpki::left_right::list_published_objects_elt::make_reply(), rpki::left_right::list_received_resources_elt::make_reply(), rpki::left_right::data_elt::serve_fetch_all(), rpki::publication::client_elt::serve_fetch_all(), and rpki::left_right::self_elt::serve_fetch_all().

Referenced by serve_dispatch().

Here is the call graph for this function:

Here is the caller graph for this function:

def rpki::xml_utils::data_elt::serve_post_save_hook (   self,
  q_pdu,
  r_pdu,
  cb,
  eb 
)
Overridable hook.

Reimplemented in rpki::left_right::child_elt, rpki::left_right::parent_elt, and rpki::left_right::self_elt.

Definition at line 316 of file xml_utils.py.

Referenced by serve_create().

Here is the caller graph for this function:

def rpki::xml_utils::data_elt::serve_pre_save_hook (   self,
  q_pdu,
  r_pdu,
  cb,
  eb 
)
Overridable hook.

Reimplemented in rpki::left_right::bsc_elt, and rpki::left_right::data_elt.

Definition at line 310 of file xml_utils.py.

Referenced by serve_create().

Here is the caller graph for this function:

def rpki::xml_utils::data_elt::serve_set (   self,
  r_msg,
  cb,
  eb 
)
Handle a set action.

Reimplemented in rpki::publication::config_elt.

Definition at line 345 of file xml_utils.py.

References make_reply(), rpki::left_right::list_published_objects_elt::make_reply(), rpki::left_right::list_received_resources_elt::make_reply(), and serve_fetch_one().

Referenced by serve_dispatch().

Here is the call graph for this function:

Here is the caller graph for this function:

def rpki::xml_utils::data_elt::toXML (   self)
def rpki::xml_utils::data_elt::unimplemented_control (   self,
  controls 
)
Uniform handling for unimplemented control operations.

Definition at line 416 of file xml_utils.py.


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