Public Member Functions | |
def | __str__ |
def | make_query |
def | serve_error |
def | serve_top_level |
def | startElement |
def | toXML |
Public Attributes | |
payload | |
recipient | |
sender | |
type | |
version | |
Static Public Attributes | |
dictionary | name2type |
tuple | type2name = dict((v,k) for k,v in name2type.items()) |
int | version = 1 |
Up-Down protocol message wrapper PDU.
Definition at line 447 of file up_down.py.
def rpki.up_down.message_pdu.__str__ | ( | self | ) |
def rpki.up_down.message_pdu.make_query | ( | cls, | ||
payload, | ||||
sender, | ||||
recipient | ||||
) |
def rpki.up_down.message_pdu.serve_error | ( | self, | ||
exception | ||||
) |
def rpki.up_down.message_pdu.serve_top_level | ( | self, | ||
child | ||||
) |
def rpki.up_down.message_pdu.startElement | ( | self, | ||
stack, | ||||
name, | ||||
attrs | ||||
) |
Handle message PDU. Payload of the <message/> element varies depending on the "type" attribute, so after some basic checks we have to instantiate the right class object to handle whatever kind of PDU this is.
Reimplemented from rpki.up_down.base_elt.
Definition at line 469 of file up_down.py.
def rpki.up_down.message_pdu.toXML | ( | self | ) |
dictionary rpki.up_down.message_pdu.name2type [static] |
Initial value:
{ "list" : list_pdu, "list_response" : list_response_pdu, "issue" : issue_pdu, "issue_response" : issue_response_pdu, "revoke" : revoke_pdu, "revoke_response" : revoke_response_pdu, "error_response" : error_response_pdu }
Reimplemented in rootd.message_pdu.
Definition at line 452 of file up_down.py.
Definition at line 481 of file up_down.py.
Definition at line 479 of file up_down.py.
Definition at line 478 of file up_down.py.
Definition at line 480 of file up_down.py.
tuple rpki.up_down.message_pdu.type2name = dict((v,k) for k,v in name2type.items()) [static] |
Definition at line 477 of file up_down.py.
int rpki.up_down.message_pdu.version = 1 [static] |
Definition at line 450 of file up_down.py.