com.genesyslab.platform.reporting.protocol.statserver
Class AgentStatus
java.lang.Object
com.genesyslab.platform.reporting.protocol.statserver.AgentStatus
- All Implemented Interfaces:
- XmlSerializable, IStatisticState, IStatisticStatus, Printable
public final class AgentStatus
- extends java.lang.Object
- implements IStatisticStatus
Contains information about the status of a Person
,
which is configured in the Genesys Configuration Layer.
Details may be found here -
Object Statuses
or Place and Agent Status
in the Stat Server User's Guide.
Or in the Stat Server Deployment Guide -
Table and Column Descriptions.
- See Also:
DnActions
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AgentStatus
public AgentStatus()
getObjectType
public StatisticObjectType getObjectType()
- Specified by:
getObjectType
in interface IStatisticState
getAgentId
public java.lang.String getAgentId()
getStatus
public int getStatus()
- The status of the place whose DBID appears in the PlaceDBID field or the status
of the agent whose DBID appears in the AgentDBID field. If agent is logged into a place,
he or she shares the status of the place and this status is written to the table.
Agent status is written when the agent is not logged into any place.
The following lists STATUS field values and their significance:
code | Status |
4 | - WaitForNextCall (Ready) |
5 | - OffHook |
6 | - CallDialing |
7 | - CallRinging |
8 | - NotReadyForNextCall |
9 | - AfterCallWork |
13 | - CallOnHold |
16 | - ASM_Engaged |
17 | - ASM_Outbound |
18 | - CallUnknown |
19 | - CallConsult |
20 | - CallInternal |
21 | - CallOutbound |
22 | - CallInbound |
- Returns:
- the Agent status code.
getTime
public long getTime()
getLoginId
public java.lang.String getLoginId()
getPlace
public PlaceStatus getPlace()
getPlaceCount
public int getPlaceCount()
setAgentId
public void setAgentId(java.lang.String agentId)
setStatus
public void setStatus(int agentStatus)
- The status of the place whose DBID appears in the PlaceDBID field or the status
of the agent whose DBID appears in the AgentDBID field. If agent is logged into a place,
he or she shares the status of the place and this status is written to the table.
Agent status is written when the agent is not logged into any place.
The following lists STATUS field values and their significance:
code | Status |
4 | - WaitForNextCall (Ready) |
5 | - OffHook |
6 | - CallDialing |
7 | - CallRinging |
8 | - NotReadyForNextCall |
9 | - AfterCallWork |
13 | - CallOnHold |
16 | - ASM_Engaged |
17 | - ASM_Outbound |
18 | - CallUnknown |
19 | - CallConsult |
20 | - CallInternal |
21 | - CallOutbound |
22 | - CallInbound |
- Parameters:
agentStatus
- the Agent status code.
setTime
public void setTime(int timeActive)
setPlace
public void setPlace(PlaceStatus placeStatus)
setLoginId
public void setLoginId(java.lang.String loginId)
toXml
public org.w3c.dom.Element toXml(org.w3c.dom.Element element,
XmlUtil util)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
toXml
in interface XmlSerializable
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
fromXml
public void fromXml(org.w3c.dom.Element element,
XmlUtil util)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
fromXml
in interface XmlSerializable
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(int indent)
- Specified by:
toString
in interface Printable
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.