|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Provisioner
Provisioner is a common interface implemented by the Agent, Zone, and Topic classes. It provides common APIs for setting Subscribers, Publisher, and QueryResults handlers
| Method Summary | |
|---|---|
void |
setPublisher(Publisher publisher)
Register a Publisher message handler to process SIF_Request messages for all object types. |
void |
setPublisher(Publisher publisher,
ElementDef objectType,
PublishingOptions options)
Register a Publisher message handler with this zone to process SIF_Requests for the specified object type. |
void |
setQueryResults(QueryResults queryResults)
Register a QueryResults message handler with this zone to process SIF_Response messages for all object types. |
void |
setQueryResults(QueryResults queryResults,
ElementDef objectType,
QueryResultsOptions options)
Register a QueryResults object with this zone for the specified SIF object type. |
void |
setReportPublisher(ReportPublisher publisher,
ReportPublishingOptions options)
Register a ReportPublisher message handler to respond to SIF_Requests for SIF_ReportObject objects. |
void |
setSubscriber(Subscriber subscriber,
ElementDef objectType,
SubscriptionOptions options)
Register a Subscriber message handler with this zone to process SIF_Event messages for the specified object type. |
| Method Detail |
|---|
void setPublisher(Publisher publisher)
throws ADKException
publisher - An object that implements the Publisher
interface to respond to SIF_Request queries received by the agent.
This object will be called whenever a SIF_Request is received and
no other object in the message dispatching chain has
processed the message.
ADKException
void setPublisher(Publisher publisher,
ElementDef objectType,
PublishingOptions options)
throws ADKException
publisher - An object that implements the 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 - An ElementDef constant from the SIFDTD class that
identifies a SIF Data Object type. E.g. SIFDTD.STUDENTPERSONALoptions - Specify options about which SIF Contexts to join and whether
SIF_Provide messagees will be sent when the agent is running in SIF 1.5r1 or lower
ADKException
void setReportPublisher(ReportPublisher publisher,
ReportPublishingOptions options)
throws ADKException
publisher - An object that implements the Publisher
interface to respond to SIF_Request queries received by the agent.
This object will be called whenever a SIF_Request is received and
no other object in the message dispatching chain has
processed the message.options - Specify which contexts to join as a provider and whether
to send a SIF_Provide message when the agent is running in SIF 1.5r1 or lower
ADKException
void setSubscriber(Subscriber subscriber,
ElementDef objectType,
SubscriptionOptions options)
throws ADKException
subscriber - An object that implements the Subscriber
interface to respond to SIF_Event notifications received by the agent,
where the SIF object type referenced by the request matches the
specified objectType. This Subscriber will be called whenever a
SIF_Event is received on this zone and no other object in the
message dispatching chain has processed the message.objectType - A constant from the SIFDTD class that identifies a
SIF Data Object type.options - Specify which contexts to join and whether SIF_Subscribe
messages will be sent when the agent is running in SIF 1.5r1 or lower
ADKException
void setQueryResults(QueryResults queryResults)
throws ADKException
queryResults - An object that implements the QueryResults
interface to respond to SIF_Response query results received by the
agent. This object will be called whenever a SIF_Response is received
and no other object in the message dispatching chain has processed the message.
ADKException
void setQueryResults(QueryResults queryResults,
ElementDef objectType,
QueryResultsOptions options)
throws ADKException
queryResults - An object that implements the QueryResults
interface to respond to SIF_Response query results received by the agent,
where the SIF object type referenced by the request matches the
specified objectType. This QueryResults object will be called whenever
a SIF_Response is received on this zone and no other object in the
message dispatching chain has processed the message.objectType - A constant from the SIFDTD class that identifies a
SIF Data Object type.options - Specify which contexts to join
ADKException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||