⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 java.telephony.callcenter.agent.html

📁 JTAPI_html 用于JTAPI的HTML文档.
💻 HTML
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title>  Class java.telephony.callcenter.Agent</title></head><body><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.telephony.callcenter.html">This Package</a>  <a href="Package-java.telephony.callcenter.html">Previous</a>  <a href="java.telephony.callcenter.CallCenterTrunk.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Class java.telephony.callcenter.Agent</h1><pre><a href="java.lang.Object.html#_top_">java.lang.Object</a>   |   +----java.telephony.callcenter.Agent</pre><hr><dl>  <dt> public class <b>Agent</b>  <dt> extends <a href="java.lang.Object.html#_top_">Object</a></dl>The Agent object represents an AgentTerminals relationship toan ACDAddress. The Agent object represents a person acting as an agent inthe simplest case where the person is logged into only one ACD Address.If the person were logged into several ACD Addresses these scenarioswould be represented as several Agent objects.This relationship is created by constructing an Agent object with the necessaryinformation (e.g. desired agent state, ACD Address that the Agent willbe associated with, Agent Address to be associated with this Agent atthe Terminal, etc.) and used it with the setAgent() method of theAgentTerminal.The relationship can be changed by updating the appropriate attributesof the Agent object and using it with the setAgent() method again.<hr><a name="index"></a><h2>  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index"></h2><dl>  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#BUSY"><b>BUSY</b></a>  <dd> When the provider determines that the AgentTerminal is busy witha call and is not available to handle other ACD calls, it reportsthe AgentTerminal's state as BUSY.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#LOG_IN"><b>LOG_IN</b></a>  <dd> When the provider determines that the AgentTerminal haslogged into an ACDAddress it reports the AgentTerminal'sstate as LOG_IN.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#LOG_OUT"><b>LOG_OUT</b></a>  <dd> When the provider determines that the AgentTerminal haslogged out of an ACDAddress it reports the AgentTerminal'sstate as LOG_OUT.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#NOT_READY"><b>NOT_READY</b></a>  <dd> When the provider determines that the AgentTerminal isbusy with tasks other than servicing calls it reports theAgentTerminal's state as NOT_READY.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#READY"><b>READY</b></a>  <dd> When the provider determines that the AgentTerminal isready to service calls it reports theAgentTerminal's state as READY.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#UNKNOWN"><b>UNKNOWN</b></a>  <dd> When the provider is unable to determine the state of theAgentTerminal it reports is at UNKNOWN.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#WORK_NOT_READY"><b>WORK_NOT_READY</b></a>  <dd> When the provider determines that the AgentTerminal has beendisconnected from a call and is busy handling tasks associatedwith a call and is not available to service calls it reportsthe AgentTerminal's state as WORK_NOT_READY.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#WORK_READY"><b>WORK_READY</b></a>  <dd> When the provider determines that the AgentTerminal has beendisconnected from a call and is busy handling tasks associatedwith a call and is available to service calls it reportsthe AgentTerminal's state as WORK_READY.</dl><h2>  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl>  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#Agent(int, java.lang.String, java.telephony.callcenter.ACDAddress, java.telephony.Address, java.lang.String)"><b>Agent</b></a>(int, String, ACDAddress, Address, String)  <dd> The constructor is used to create an Agent object prior toinvoking setAgent() on AgentTerminal.</dl><h2>  <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl>  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getACDAddress()"><b>getACDAddress</b></a>()  <dd> This returns the ACDAddress this Agent is logged into.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getAgentAddress()"><b>getAgentAddress</b></a>()  <dd> This returns the Agent's Address that is associatedwith the given AgentTerminal.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getAgentID()"><b>getAgentID</b></a>()  <dd> This returns this Agent's ID.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getAgentTerminal()"><b>getAgentTerminal</b></a>()  <dd> This returns the Agent Terminal that is associated withthis Agent object.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getPasswd()"><b>getPasswd</b></a>()  <dd> This returns this Agent's password.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getState()"><b>getState</b></a>()  <dd> This returns this Agent's state in theACDAddress specified in the object.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setACDAddress(java.telephony.callcenter.ACDAddress)"><b>setACDAddress</b></a>(ACDAddress)  <dd> This sets the ACDAddress this Agent intendsto log in to or is already logged into.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setAgentAddress(java.telephony.Address)"><b>setAgentAddress</b></a>(Address)  <dd> This sets the Agent's Address that is associatedwith the given AgentTerminal.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setAgentID(java.lang.String)"><b>setAgentID</b></a>(String)  <dd> This sets this Agent's ID.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setPasswd(java.lang.String)"><b>setPasswd</b></a>(String)  <dd> This sets this Agent's password.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setState(int)"><b>setState</b></a>(int)  <dd> This sets this Agent's state.</dl><a name="variables"></a><h2>  <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="UNKNOWN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>UNKNOWN</b><pre>  public final static int UNKNOWN</pre><dl>  <dd> When the provider is unable to determine the state of theAgentTerminal it reports is at UNKNOWN.</dl><a name="LOG_IN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LOG_IN</b><pre>  public final static int LOG_IN</pre><dl>  <dd> When the provider determines that the AgentTerminal haslogged into an ACDAddress it reports the AgentTerminal'sstate as LOG_IN.</dl><a name="LOG_OUT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LOG_OUT</b><pre>  public final static int LOG_OUT</pre><dl>  <dd> When the provider determines that the AgentTerminal haslogged out of an ACDAddress it reports the AgentTerminal'sstate as LOG_OUT.</dl><a name="NOT_READY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>NOT_READY</b><pre>  public final static int NOT_READY</pre><dl>  <dd> When the provider determines that the AgentTerminal isbusy with tasks other than servicing calls it reports theAgentTerminal's state as NOT_READY.</dl><a name="READY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>READY</b><pre>  public final static int READY</pre><dl>  <dd> When the provider determines that the AgentTerminal isready to service calls it reports theAgentTerminal's state as READY.</dl><a name="WORK_NOT_READY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>WORK_NOT_READY</b><pre>  public final static int WORK_NOT_READY</pre><dl>  <dd> When the provider determines that the AgentTerminal has beendisconnected from a call and is busy handling tasks associatedwith a call and is not available to service calls it reportsthe AgentTerminal's state as WORK_NOT_READY.</dl><a name="WORK_READY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>WORK_READY</b><pre>  public final static int WORK_READY</pre><dl>  <dd> When the provider determines that the AgentTerminal has beendisconnected from a call and is busy handling tasks associatedwith a call and is available to service calls it reportsthe AgentTerminal's state as WORK_READY.</dl><a name="BUSY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>BUSY</b><pre>  public final static int BUSY</pre><dl>  <dd> When the provider determines that the AgentTerminal is busy witha call and is not available to handle other ACD calls, it reportsthe AgentTerminal's state as BUSY.</dl><a name="constructors"></a><h2>  <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="Agent"></a><a name="Agent(int, java.lang.String, java.telephony.callcenter.ACDAddress, java.telephony.Address, java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>Agent</b><pre>  public Agent(int _state,               <a href="java.lang.String.html#_top_">String</a> _agentID,               <a href="java.telephony.callcenter.ACDAddress.html#_top_">ACDAddress</a> _acdAddress,               <a href="java.telephony.Address.html#_top_">Address</a> _agentAddress,               <a href="java.lang.String.html#_top_">String</a> _passwd)</pre><dl>  <dd> The constructor is used to create an Agent object prior toinvoking setAgent() on AgentTerminal.</dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="setState(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setState"><b>setState</b></a><pre>  public void setState(int _state)</pre><dl>  <dd> This sets this Agent's state.<p>Valid states are UNKNOWN, LOG_IN, LOG_OUT, NOT_READY, READY,WORK_NOT_READY, WORK_READY.</dl><a name="setAgentID(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setAgentID"><b>setAgentID</b></a><pre>  public void setAgentID(<a href="java.lang.String.html#_top_">String</a> _agentID)</pre><dl>  <dd> This sets this Agent's ID.<p>Agent IDs are administered on the switch.</dl><a name="setACDAddress(java.telephony.callcenter.ACDAddress)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setACDAddress"><b>setACDAddress</b></a><pre>  public void setACDAddress(<a href="java.telephony.callcenter.ACDAddress.html#_top_">ACDAddress</a> _acdAddress)</pre><dl>  <dd> This sets the ACDAddress this Agent intendsto log in to or is already logged into.</dl><a name="setPasswd(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setPasswd"><b>setPasswd</b></a><pre>  public void setPasswd(<a href="java.lang.String.html#_top_">String</a> _passwd)</pre><dl>  <dd> This sets this Agent's password.</dl><a name="setAgentAddress(java.telephony.Address)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setAgentAddress"><b>setAgentAddress</b></a><pre>  public void setAgentAddress(<a href="java.telephony.Address.html#_top_">Address</a> _agentAddress)</pre><dl>  <dd> This sets the Agent's Address that is associatedwith the given AgentTerminal.</dl><a name="getState()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getState"><b>getState</b></a><pre>  public int getState()</pre><dl>  <dd> This returns this Agent's state in theACDAddress specified in the object.</dl><a name="getAgentID()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getAgentID"><b>getAgentID</b></a><pre>  public <a href="java.lang.String.html#_top_">String</a> getAgentID()</pre><dl>  <dd> This returns this Agent's ID.</dl><a name="getACDAddress()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getACDAddress"><b>getACDAddress</b></a><pre>  public <a href="java.telephony.callcenter.ACDAddress.html#_top_">ACDAddress</a> getACDAddress()</pre><dl>  <dd> This returns the ACDAddress this Agent is logged into.</dl><a name="getPasswd()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getPasswd"><b>getPasswd</b></a><pre>  public <a href="java.lang.String.html#_top_">String</a> getPasswd()</pre><dl>  <dd> This returns this Agent's password.</dl><a name="getAgentAddress()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getAgentAddress"><b>getAgentAddress</b></a><pre>  public <a href="java.telephony.Address.html#_top_">Address</a> getAgentAddress()</pre><dl>  <dd> This returns the Agent's Address that is associatedwith the given AgentTerminal.</dl><a name="getAgentTerminal()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getAgentTerminal"><b>getAgentTerminal</b></a><pre>  public <a href="java.telephony.callcenter.AgentTerminal.html#_top_">AgentTerminal</a> getAgentTerminal()</pre><dl>  <dd> This returns the Agent Terminal that is associated withthis Agent object.If the agent state is LOG_OUT, this method will return anull for the AgentTerminal object.</dl><hr><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.telephony.callcenter.html">This Package</a>  <a href="Package-java.telephony.callcenter.html">Previous</a>  <a href="java.telephony.callcenter.CallCenterTrunk.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -