SIFWorks ADK 2.0
SetPublisher Method (publisher, objectType, flags)
NamespacesEdustructures.SifWorksIZoneSetPublisher(IPublisher, IElementDef, ProvisioningFlags)

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

Register a Publisher message handler with this zone to process SIF_Requests for the specified object type. This method may be called repeatedly for each SIF Data Object type the agent will publish on this zone.
Declaration Syntax
C#Visual BasicVisual C++
void SetPublisher(
	IPublisher publisher,
	IElementDef objectType,
	ProvisioningFlags flags
)
Sub SetPublisher ( _
	publisher As IPublisher, _
	objectType As IElementDef, _
	flags As ProvisioningFlags _
)
void SetPublisher (
	IPublisher^ publisher, 
	IElementDef^ objectType, 
	ProvisioningFlags flags
)
Parameters
publisher (IPublisher)
An object that implements the
CopyC#
Publisher
interface to respond to SIF_Request queries received by the agent, where the SIF object type referenced by the request matches the specified objectType. This Publisher will be called whenever a SIF_Request is received on this zone and no other object in the message dispatching chain has processed the message.
objectType (IElementDef)
A constant from the SifDtd class that identifies a SIF Data Object type.
flags (ProvisioningFlags)
Specify
CopyC#
AdkFlags.PROV_PROVIDE
to register the agent as the default provider of this object type with this zone. The Adk will send a SIF_Provide message after registering with the zone. Specify
CopyC#
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