|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.DataObject
com.genesyslab.platform.commons.protocol.Message
com.genesyslab.platform.routing.protocol.routingserver.requests.RequestGetStatistic
public abstract class RequestGetStatistic
This request asks URS to provide the statistics values for the specified list of targets.
You can use it to determine why the router chose a particular target or so
that you can determine the best target in your own application.
Required parameters:
Name | Description |
---|---|
Tenant | The contact center in whose environment the statistic is to be calculated. |
Targets | A list of eligible routing targets. |
Statistic | The statistic to be calculated. |
Name | Description |
---|---|
EventExecutionAck |
Indicates that the request executed successfully; provides information about the results of its execution. |
EventExecutionError |
Indicates that the request was not executed successfully. |
EventExecutionInProgress |
Indicates that URS has accepted the request and started to execute it. |
EventError |
Indicates that the request was unknown to URS, or that some parameters were missing or invalid. |
RequestGetStatistic requestGetStatistic =
RequestGetStatistic.create();
requestGetStatistic.setTenant("TheTenant");
requestGetStatistic.setTargets("TheTargetList");
requestGetStatistic.setStatistic("StatAgentsBusy");
Message ret = protocol.request(requestGetStatistic);
Field Summary | |
---|---|
static int |
ID
|
static java.lang.String |
NAME
|
Method Summary | |
---|---|
static RequestGetStatistic |
create()
Creates instance of RequestGetStatistic with no parameters set. |
static RequestGetStatistic |
create(java.lang.String tenant,
java.lang.String targets,
java.lang.String statistic)
Creates instance of RequestGetStatistic with all parameters set. |
abstract java.lang.Integer |
getReferenceId()
The reference ID that connects a response to a request; if set to 0, it means that the ReferenceId should be assigned by ReferenceBuilder. |
abstract java.lang.String |
getStatistic()
The type of statistic to be associated with a request. |
abstract java.lang.String |
getTargets()
A list of eligible routing targets. |
abstract java.lang.String |
getTenant()
The contact center in whose environment a request is to be executed. |
abstract void |
setReferenceId(int referenceId)
The reference ID that connects a response to a request; if set to 0, it means that the ReferenceId should be assigned by ReferenceBuilder. |
abstract void |
setReferenceId(java.lang.Integer referenceId)
The reference ID that connects a response to a request; if set to 0, it means that the ReferenceId should be assigned by ReferenceBuilder. |
abstract void |
setStatistic(java.lang.String statistic)
The type of statistic to be associated with a request. |
abstract void |
setTargets(java.lang.String targets)
A list of eligible routing targets. |
abstract void |
setTenant(java.lang.String tenant)
The contact center in whose environment a request is to be executed. |
Methods inherited from class com.genesyslab.platform.commons.protocol.Message |
---|
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName, setProtocolDescription |
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject |
---|
equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ID
public static final java.lang.String NAME
Method Detail |
---|
public static RequestGetStatistic create()
public static RequestGetStatistic create(java.lang.String tenant, java.lang.String targets, java.lang.String statistic)
tenant
- The contact center in whose environment a request is to be executed.targets
- A list of eligible routing targets.statistic
- The type of statistic to be associated with a request.
public abstract java.lang.Integer getReferenceId()
public abstract void setReferenceId(java.lang.Integer referenceId)
public abstract void setReferenceId(int referenceId)
public abstract java.lang.String getTenant()
public abstract void setTenant(java.lang.String tenant)
public abstract java.lang.String getTargets()
public abstract void setTargets(java.lang.String targets)
public abstract java.lang.String getStatistic()
public abstract void setStatistic(java.lang.String statistic)
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |