SIFWorks ADK 2.0
AddMessagingListener Method (listener)
NamespacesEdustructures.SifWorksAgentAddMessagingListener(IMessagingListener)

[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.
Declaration Syntax
C#Visual BasicVisual C++
public virtual void AddMessagingListener(
	IMessagingListener listener
)
Public Overridable Sub AddMessagingListener ( _
	listener As IMessagingListener _
)
public:
virtual void AddMessagingListener (
	IMessagingListener^ listener
)
Parameters
listener (IMessagingListener)
a MessagingListener implementation

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10