Inheritance diagram for PacketDispatcher:
Public Member Functions | |
def | __init__ |
def | process |
process method | |
def | register |
register method | |
def | unregister |
unregister method | |
def | catchall |
catchall method | |
Private Attributes | |
__handlerList | |
__lock |
Class used to define a dispatch system for VSC packets
Definition at line 34 of file VscProxyTools.py.
|
Reimplemented in ScienceDispatcher. Definition at line 51 of file VscProxyTools.py. |
|
catchall method process all packets that are not processed by one of the registered handlers.
Definition at line 122 of file VscProxyTools.py. |
|
process method Loops over the registered handlers and calls their process() methods. If a packet isn't handled by any of the handlers, the catchall() method is called.
Reimplemented in TelemetryDispatcher, and ScienceDispatcher. Definition at line 56 of file VscProxyTools.py. |
|
register method register a handler with the dispatcher.
Definition at line 96 of file VscProxyTools.py. |
|
unregister method remove a handler from the dispatcher's registry.
Definition at line 109 of file VscProxyTools.py. |
|
Definition at line 53 of file VscProxyTools.py. |
|
Definition at line 54 of file VscProxyTools.py. |