Public Member Functions
Tonido::System::MessageDispatcher Class Reference

Dispatches messages to registered services in a secondary thread context. More...

Inheritance diagram for Tonido::System::MessageDispatcher:
Tonido::System::Dispatcher

List of all members.

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.

Detailed Description

Dispatches messages to registered services in a secondary thread context.

For more details refer to MessageDispatcher


Constructor & Destructor Documentation

Tonido::System::MessageDispatcher::MessageDispatcher ( )

Ctor.

details if needed ...

Tonido::System::MessageDispatcher::~MessageDispatcher ( ) [virtual]

Dtor.

details if needed ...


Member Function Documentation

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.


Generated on Wed Oct 12 2011 21:46:54. © CodeLathe LLC 2007-2011. All Rights Reserved.