Home | Trees | Indices | Help |
|
---|
|
object --+ | receive
The receive decorator can be used to decorate functions and static methods (NOT methods of class instances) that should receive messages of a given type. In the case of static methods, be sure to put the staticmethod decorator first.
When a message of the given type is received, the function will be called with (srcNodeId, message type, attached object) as the arguments to it.
|
|||
| __call__(self, handler) | ||
| __init__(self, msgtype) | ||
Inherited from |
|
|||
Inherited from |
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Mon Nov 27 18:56:25 2006 | http://epydoc.sourceforge.net |