RPKI Engine  1.0
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
rpki::rpkid::publication_queue Class Reference
Inheritance diagram for rpki::rpkid::publication_queue:
Inheritance graph
Collaboration diagram for rpki::rpkid::publication_queue:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def call_pubd
def publish
def withdraw

Public Attributes

 handlers
 msgs
 repositories
 uris

Static Public Attributes

 replace = True

Private Member Functions

def _add

Detailed Description

Utility to simplify publication from within rpkid.

General idea here is to accumulate a collection of objects to be
published, in one or more repositories, each potentially with its
own completion callback.  Eventually we want to publish everything
we've accumulated, at which point we need to iterate over the
collection and do repository.call_pubd() for each repository.

Definition at line 1773 of file rpki/rpkid.py.


Constructor & Destructor Documentation

def rpki::rpkid::publication_queue::__init__ (   self)

Definition at line 1786 of file rpki/rpkid.py.


Member Function Documentation

def rpki::rpkid::publication_queue::_add (   self,
  uri,
  obj,
  repository,
  handler,
  make_pdu 
) [private]

Definition at line 1793 of file rpki/rpkid.py.

References rpki::http::http_server::handlers, rpki::http::http_listener::handlers, handlers, msgs, replace, repositories, and uris.

Referenced by publish(), and withdraw().

Here is the caller graph for this function:

def rpki::rpkid::publication_queue::call_pubd (   self,
  cb,
  eb 
)
def rpki::rpkid::publication_queue::publish (   self,
  cls,
  uri,
  obj,
  repository,
  handler = None 
)

Definition at line 1809 of file rpki/rpkid.py.

References _add().

Here is the call graph for this function:

def rpki::rpkid::publication_queue::withdraw (   self,
  cls,
  uri,
  obj,
  repository,
  handler = None 
)

Definition at line 1812 of file rpki/rpkid.py.

References _add().

Here is the call graph for this function:


Member Data Documentation

Definition at line 1786 of file rpki/rpkid.py.

Referenced by _add(), and call_pubd().

Definition at line 1786 of file rpki/rpkid.py.

Referenced by _add(), and call_pubd().

Definition at line 1784 of file rpki/rpkid.py.

Referenced by _add().

Definition at line 1786 of file rpki/rpkid.py.

Referenced by _add(), and call_pubd().

Definition at line 1786 of file rpki/rpkid.py.

Referenced by _add().


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