SIFWorks ADK 2.0
SetPublisher Method (publisher, flags)
NamespacesEdustructures.SifWorksITopicSetPublisher(IPublisher, ProvisioningFlags)

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

Register a Publisher message handler to process SIF_Request messages received on the zones joined with this topic. The message handler will be called whenever a SIF_Request is received for the SIF Data Object type associated with the topic. For Topics created to represent the SIF_ReportObject object type, register a publisher message handler with the setReportPublisher method instead.
Declaration Syntax
C#Visual BasicVisual C++
void SetPublisher(
	IPublisher publisher,
	ProvisioningFlags flags
)
Sub SetPublisher ( _
	publisher As IPublisher, _
	flags As ProvisioningFlags _
)
void SetPublisher (
	IPublisher^ publisher, 
	ProvisioningFlags flags
)
Parameters
publisher (IPublisher)
An object that implements the Publisher interface.
flags (ProvisioningFlags)
Specify AdkFlags.PROV_PROVIDE to register the agent as the default provider of the object type associated with this topic. The Adk will send a SIF_Provide message to each zone joined with the topic. Specify AdkFlags.PROV_NONE if the agent can respond to requests for the object type but will not register as the authoritative provider.

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