This class implements a Java Callback Service Event in Agentry.
All members of ServiceEvent, including inherited members.
VariablesModifier and Type | Variable | Description |
---|---|---|
protected Server | _server | The active Server implementation in the Agentry Java system connection. |
protected SessionData | _sessionData | Session data for this service event session. |
Modifier and Type | Constructor | Description |
---|---|---|
public | ServiceEvent(Server, SessionData, CallbackInterface) | Constructs a new ServiceEvent object. |
Modifier and Type | Method | Description |
---|---|---|
public final void | dataReceived(Object) | This method should be called once you have obtained an object's data from the remote system. |
In a Java Callback Service Event, a remote enterprise system initiates a call into this class, then retrieves data for a single Agentry object and passes that data back to the Agentry server. (The Agentry object can be a collection, if you need to handle multiple objects of the same type at once.) The general process works like this:
How the enterprise system actually triggers a call into this class is up to you. Possible methods might include remote RMI calls into the Agentry JVM, receiving JMS messages, or whatever else you can come up with.