Notification classes for notification across tasks

The following diagram illustrates how MRemoteCallerNotifier and MRemoteDispatcherNotifier are commonly used.


MRemoteCallerNotifier -- mixes into MRemoteCaller and its derived classes. Together with MRemoteDispatcherNotifier, MRemoteCallerNotifier allows derived classes of MRemoteDispatcher to send notifications to receivers in other tasks. There are no special requirements placed on connections or notification receivers when connecting to an MRemoteCallerNotifier. Cross-task communication is handled transparently.

MRemoteDispatcherNotifier -- mixes into MRemoteDispatcher and its derived classes. It provides a dispatcher that has the capability to notify its caller clients. As illustrated in Figure 18, to use MRemoteDispatcherNotifier you implement stubs that forward to member functions of MRemoteDispatcherNotifer, that handle adding and removing interests in notification.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker