The Assimilation Project  based on Assimilation version 1.1.7.1474836767
cma.dispatchtarget.DispatchTarget Class Reference
Inheritance diagram for cma.dispatchtarget.DispatchTarget:
Collaboration diagram for cma.dispatchtarget.DispatchTarget:

Public Member Functions

def __init__ (self)
 
def dispatch (self, origaddr, frameset)
 
def setconfig (self, io, config)
 

Static Public Member Functions

def register (classtoregister)
 

Data Fields

 droneinfo
 
 io
 
 config
 

Static Public Attributes

dictionary dispatchtable = {}
 

Detailed Description

Base class for handling incoming FrameSets.
This base class is designated to handle unhandled FrameSets.
All it does is print that we received them.

Definition at line 36 of file dispatchtarget.py.

Constructor & Destructor Documentation

def cma.dispatchtarget.DispatchTarget.__init__ (   self)

Definition at line 42 of file dispatchtarget.py.

Member Function Documentation

def cma.dispatchtarget.DispatchTarget.dispatch (   self,
  origaddr,
  frameset 
)

Definition at line 49 of file dispatchtarget.py.

def cma.dispatchtarget.DispatchTarget.register (   classtoregister)
static
Register the given class in DispatchTarget.dispatchtable
This function is intended to be used as a decorator.
This is requires that the class being registered be named
Dispatch{name-of-message-being-dispatched}

Definition at line 68 of file dispatchtarget.py.

Field Documentation

dictionary cma.dispatchtarget.DispatchTarget.dispatchtable = {}
static
cma.dispatchtarget.DispatchTarget.droneinfo

Definition at line 45 of file dispatchtarget.py.

cma.dispatchtarget.DispatchTarget.io

The documentation for this class was generated from the following file: