Cluster Protocol classes for Universal Contact Server.
Usage sample:
final UcsClusterProtocol ucsNProtocol =
new UcsClusterProtocolBuilder().build();
ucsNProtocol.setClientName(myClientName);
ucsNProtocol.setClientApplicationType(myApplicationType);
ucsNProtocol.setNodesEndpoints(clusterEndpointsList);
ucsNProtocol.setNodesEndpoints(
new Endpoint("ucs1", UCS_1_HOST, UCS_1_PORT),
new Endpoint("ucs2", UCS_2_HOST, UCS_2_PORT),
new Endpoint("ucs3", UCS_3_HOST, UCS_3_PORT));
try {
ucsNProtocol.open();
// ...
EventGetVersion ev1 = (EventGetVersion) ucsNProtocol.request(RequestGetVersion.create());
System.out.println("UCS version from " + ev1.getEndpoint() + " - " + ev1.getVersion());
EventGetVersion ev2 = (EventGetVersion) ucsNProtocol.request(RequestGetVersion.create());
System.out.println("UCS version from " + ev2.getEndpoint() + " - " + ev2.getVersion());
EventGetVersion ev3 = (EventGetVersion) ucsNProtocol.request(RequestGetVersion.create());
System.out.println("UCS version from " + ev3.getEndpoint() + " - " + ev3.getVersion());
// ...
} finally {
ucsNProtocol.close();
}
UcsClusterProtocolBuilder
,
UniversalContactServerProtocol
,
com.genesyslab.platform.contacts.protocol.contactserver.requests
Class | Description |
---|---|
UcsClusterProtocol |
Cluster Protocol for Universal Contact Server protocol.
|
UcsClusterProtocolBuilder |
Universal Contact Server Cluster Protocol builder.
|
UcsProtocolBuilder |
Default builder of Universal Contact Server Cluster Protocol Nodes.
It's automatically used if no custom builder specified. |
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.