next up previous contents
Next: METKObjBrowser Up: Module descriptions in alphabetic Previous: METKMsgReceiver   Contents

Subsections


METKMsgSender

5mm
Genre: METKMessaging
Authors: Christian Tietjen
Short description: Module to send data to METKMsgReceiver for synchronized message handling

Usage

Module to send data to METKMsgReceiver. There must be only one receiver listening to the same message! For more general information, have a look into Section 6.

If there is no responsible receiver for a message, the transmission is canceled. Otherwise, the message will be send. After processing, METKMsgSender will be informed whether the data was handled. No further information can be sent back to the sender.

Image METKMsgSender

Known problems

The behavior is of the messaging modules is undefined when there is more than one METKMsgReceiver for one message!

Listen ObjMgr-Events

ObjMgr-Key Value Action
textttCommunication Image arrow StatusEvents Image arrow Status done Senders handling query

Send ObjMgr-Events

ObjMgr-Key Value Action
Communication Image arrow StatusEvents Image arrow Message Data channel Same as the field message
Communication Image arrow StatusEvents Image arrow Data Sent data Data to send to the receiver
     
textttCommunication Image arrow StatusEvents Image arrow Status initialize Current handling information

Fields

message: Defines the communication channel
data: Message to be send
send: Button to begin handling
done: False if no confirmation was received. True on reception or when no receiver was found.
successful: Only true when the message was handled successfully
status: handling status:
  idle/done: nothing to do
  processing: message is being processed
  Nobody's listening.: no appropriate receiver was found

Related modules

METKGlobalMessages, METKMsgReceiver





next up previous contents
Next: METKObjBrowser Up: Module descriptions in alphabetic Previous: METKMsgReceiver   Contents
Subversion User 2009-01-06