kiwi.tasklet.WaitForMessages(WaitCondition) class documentationkiwi.tasklet
(View In Hierarchy)
An object that waits for messages to arrive
| Method | __init__ | Creates an object that waits for a set of messages to arrive. |
| Method | arm | Overrides WaitCondition.arm |
| Method | disarm | Overrides WaitCondition.disarm |
Creates an object that waits for a set of messages to arrive.
| Parameters | accept | message name or names to accept (receive) in the current state (type: string or sequence of string) |
| defer | message name or names to defer (queue) in the current state (type: string or sequence of string) | |
| discard | message name or names to discard (drop) in the current state (type: string or sequence of string) | |
| Note | unlike other wait conditions, when a message is received, a Message instance is
returned by get_event(), not the WaitForMessages
instance. | |