List of all members.
Definition at line 14 of file dispatch.py.
Constructor & Destructor Documentation
Member Function Documentation
dispatch: XBee data dict -> None
When called, dispatch checks the given packet against each
registered callback method and calls each callback whose filter
function returns true.
Definition at line 63 of file dispatch.py.
register: string, function: string, data -> None, function: data -> boolean -> None
Register will save the given name, callback, and filter function
for use when a packet arrives. When one arrives, the filter
function will be called to determine whether to call its associated
callback function. If the filter method returns true, the callback
method will be called with its associated name string and the packet
which triggered the call.
Definition at line 25 of file dispatch.py.
run: boolean -> None
run will read and dispatch any packet which arrives from the
Definition at line 47 of file dispatch.py.
Member Data Documentation
The documentation for this class was generated from the following file: