Class MsgBroadcast
#include <MsgBroadcast.h >
This class enables your application to send broadcast messages to all the other apps.
This is a special instance of the Messenger class.
All messages are routed through MsgBroker.
Constructor.
MessengerFN newcbfn |
the new callback function |
Register to listen for broadcast messages
Handle all broadcast messages
const string& request |
the broadcast request to send (should be registered in broadcast.mreg) |
HashArray& params |
parameters to accompany the request |
const string& group |
broadcast group name Default value: "" |
Package the request and send to display handler (usergw)
Return value: true if message sent, false if it failed
Messenger messengerBroadcast |
The Messenger|Messenger class instance for sending messages |
static MessengerFN cbfn |
Callback function to handle broadcast messages |