[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.
| C# | Visual Basic | Visual 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 )
- publisher (IPublisher)
- An object that implements the
CopyC#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.Publisher
- objectType (IElementDef)
- A constant from the SifDtd class that identifies a SIF Data Object type.
- flags (ProvisioningFlags)
- Specify
CopyC#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. SpecifyAdkFlags.PROV_PROVIDE
CopyC#if the agent can respond to requests for the object type but will not register as the authoritative provider.AdkFlags.PROV_NONE