[This is preliminary documentation and is subject to change.]
Register a MessagingListener to listen to messages received by the
message handlers of this class.
NOTE: Agents may register a MessagingListener with the Agent or IZone
classes. When a listener is registered with both classes, it will be
called twice. Consequently, it is recommended that most implementations
choose to register MessagingListeners with only one of these classes
depending on whether the agent is interested in receiving global
notifications or notifications on only a subset of zones.
| C# | Visual Basic | Visual C++ |
public virtual void AddMessagingListener( IMessagingListener listener )
Public Overridable Sub AddMessagingListener ( _ listener As IMessagingListener _ )
public: virtual void AddMessagingListener ( IMessagingListener^ listener )
- listener (IMessagingListener)
- a MessagingListener implementation