Stores all information about incoming messages.
Incoming messages are unwrapped at many several locations within the
G4DS module tree. In order to avoid passing this information from one
function to another, a message context may be created for this message.
The key is always the message id - this way, only the message id needs to
be passed and all remaining information may be accessed using the id.
Method Summary |
|
__init__ (self)
Initialises the dictionary for messages. |
|
addMessage (self,
messageid)
Initialises a new context for a certain message. |
|
addValue (self,
messageid,
key,
value)
Adds a value to the context of the message with the given id. |
|
deleteMessage (self,
messageid)
Deletes the context for the given message id. |
any
|
getValue (self,
messageid,
key)
Requests a value for a certain message stored behind a certain
key. |