Platform SDK Java 9.0 API Reference

Package com.genesyslab.platform.configuration.protocol.confserver.events

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.

Skip navigation links
Platform SDK Java 9.0 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.