Dispatches messages to registered services in a secondary thread context. More...
Public Member Functions | |
| MessageDispatcher () | |
| Ctor. | |
| virtual | ~MessageDispatcher () |
| Dtor. | |
| virtual bool | registerMessageHandler (Service *, MessageEventInfo::SharedPtr &pMEI) |
| Register a service with the MessageDispatcher. | |
| virtual bool | unRegisterMessageHandler (Service *) |
| UnRegister a service from the MessageDispatcher. | |
Dispatches messages to registered services in a secondary thread context.
For more details refer to MessageDispatcher
| Tonido::System::MessageDispatcher::MessageDispatcher | ( | ) |
Ctor.
details if needed ...
| Tonido::System::MessageDispatcher::~MessageDispatcher | ( | ) | [virtual] |
Dtor.
details if needed ...
| bool Tonido::System::MessageDispatcher::registerMessageHandler | ( | Service * | a_pService, |
| MessageEventInfo::SharedPtr & | pMEI | ||
| ) | [virtual] |
Register a service with the MessageDispatcher.
This is the function called by services to register themselves.
Reimplemented from Tonido::System::Dispatcher.
| bool Tonido::System::MessageDispatcher::unRegisterMessageHandler | ( | Service * | a_pService | ) | [virtual] |
UnRegister a service from the MessageDispatcher.
same notes as registerServiceActive
Reimplemented from Tonido::System::Dispatcher.