|
Platform SDK Java 8.5 API Reference | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Event
messages that contain information
about the status of your requests.
See:
Description
This package includes the Event
messages that contain information
about the status of your requests.
For example, if you use RequestReadObjects
to ask for information
about objects in the Configuration Layer, you will receive one or more
EventObjectsRead
messages and an EventObjectsSent
message. You can use the getConfObjects()
method to retrieve an
XML Document
containing the information you asked for, as shown
here:
Message response = confServerProtocol.request(requestReadObjects);
switch(response.messageId())
{
case EventObjectsRead.ID:
// Object information has arrived, keep going...
case EventError.ID:
// There has been an error, go somewhere else...
...
}
EventObjectsRead eventObjectsRead = (EventObjectsRead) theMessage;
Document resultDocument =
(Document) eventObjectsRead.getConfObject();
For general information on the structure and usage of the Platform SDKs, or an introduction to the use of the Configuration Platform SDK, please refer to the introductory articles located in the Platform SDK Developer's Guide.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |