#include <Dispatcher.h>
Public Member Functions | |
CDispatcher () | |
CDispatcher. | |
virtual | ~CDispatcher () |
~CDispatcher | |
void | SetDispatcherMode (DISPATCHER_MODE mode) |
SetDispatcherMode. | |
void | AddMailbox (CMailbox *pMailbox) |
AddMailbox. | |
void | RemoveMailbox (CMailbox *pMailbox) |
RemoveMailbox. | |
CAccCtrl * | GetNewCtrl () |
GetNewCtrl. | |
int | GetCtrlList (CAccCtrl **&) |
GetNewCtrl. | |
void | Process () |
Process. | |
Friends | |
class | CAccCtrl |
Description: Receives messages and dispatches them to the appropriate mailbox.
Limitations: NONE
|
CDispatcher. Description: The CDispatcher class constructor
|
|
~CDispatcher Description: The CDispatcher class deconstructor Limitations: Does not delete the actual mailbox objects. |
|
AddMailbox. Description: Adds a mailbox to the Dispatcher.
|
|
GetNewCtrl. Description:
|
|
GetNewCtrl. Description:
|
|
Process. Description: Reads messages out of all the mailbox and forwards them to the correct destination. This function will delete messages that come out of the mailboxes to be dispatched. It will copy messages before it puts them into mailboxes.
|
|
RemoveMailbox. Description: Removes a mailbox from the Dispatcher.
|
|
SetDispatcherMode. Description: This function sets the mode of the dispatcher. Possible values are defined in the DISPATCHER_MODE enumeration.
|