SIFWorks ADK 2.0
SetSubscriber Method (subscriber)
NamespacesEdustructures.SifWorksAgentSetSubscriber(ISubscriber)

[This is preliminary documentation and is subject to change.]

Register a global ISubscriber message handler with the agent for all SIF object types. Note agents typically register message handlers with Topics or with Zones instead of with the Agent. The message dispatcher first delivers messages to Topics, then to Zones, and finally to the Agent itself. In order to receive SIF_Event messages, the agent is expected to be registered as a ISubscriber of one or more object types in at least one zone. This method does not send SIF_Subscribe messages to any zones.
Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetSubscriber(
	ISubscriber subscriber
)
Public Overridable Sub SetSubscriber ( _
	subscriber As ISubscriber _
)
public:
virtual void SetSubscriber (
	ISubscriber^ subscriber
)
Parameters
subscriber (ISubscriber)
An object that implements the ISubscriber interface to respond to SIF_Event notifications received by the agent. This object will be called whenever a SIF_Event is received and no other object in the message dispatching chain has processed the message.

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