[This is preliminary documentation and is subject to change.]
Register a global IPublisher message handler with this 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_Request messages, the agent is expected to be
registered as a Provider of one or more object types in at least one
zone. This method does not send SIF_Provide messages to any zones.
| C# | Visual Basic | Visual C++ |
public virtual void SetPublisher( IPublisher IPublisher )
Public Overridable Sub SetPublisher ( _ IPublisher As IPublisher _ )
public: virtual void SetPublisher ( IPublisher^ IPublisher )
- IPublisher (IPublisher)
- An object that implements the IPublisher interface to respond to SIF_Request queries received by the agent. This object will be called whenever a SIF_Request is received by and no other object in the message dispatching chain has processed the message.