📄 java.telephony.callcenter.agentterminal.html
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title> Interface java.telephony.callcenter.AgentTerminal</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="java.telephony.callcenter.ACDManagerConnection.html#_top_">Previous</a> <a href="java.telephony.callcenter.AgentTerminalObserver.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Interface java.telephony.callcenter.AgentTerminal</h1><dl> <dt> public interface <b>AgentTerminal</b> <dt> extends <a href="java.lang.Object.html#_top_">Object</a> <dt> extends <a href="java.telephony.callcontrol.CallControlTerminal.html#_top_">CallControlTerminal</a></dl>The AgentTerminal interface models an agent extension for the ACDfeature. AgentTerminal extends CallControlTerminal.<p>The methods added allow any Terminal to manage the association withan ACDAddress in order to accept calls coming to the ACDAddress.<p>To observe state changes for the agent, an application must usethe methods Terminal.addObserver and Terminal.deleteObserver.<hr><a name="index"></a><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="#getAgents()"><b>getAgents</b></a>() <dd> This returns one or more Agent objects added previously to thisAgentTerminal. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#setAgents(java.telephony.callcenter.Agent[])"><b>setAgents</b></a>(Agent[]) <dd> This method either adds an Agent to this AgentTerminal in thestate specified or changes the state of a previously added Agentor removes a previously added Agent.</dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="setAgents(java.telephony.callcenter.Agent[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setAgents"><b>setAgents</b></a><pre> public abstract void setAgents(<a href="java.telephony.callcenter.Agent.html#_top_">Agent</a> agents[]) throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl> <dd> This method either adds an Agent to this AgentTerminal in thestate specified or changes the state of a previously added Agentor removes a previously added Agent.<p>If the state was set to LOG_IN, the Agent is added to thisAgentTerminal and the post and pre conditions are as follows:<p>The pre-condition predicates for this method are:<br>1. (agentTerm.getProvider()).getState() == IN_SERVICE<br>2. agent.setState (appropriate state)<br>3. agent.agentAddress (an Address associated with the AgentTerminal)<br>4. agent.set (any attribute that is needed by the implementationto associate the Agent with the AgentTerminal in the specifiedstate).<p>The post-condition predicates for this method are:<br>1. (agentTerm.getProvider()).getState() == IN_SERVICE<br>2. agent.getState() == (state specified from the setState)<p>If the Agent has already been added, this method can be used tochange the Agent's state and the post and pre conditions are asfollows:<p>The pre-condition predicates for this method are:<br>1. (agentTerm.getProvider()).getState() == IN_SERVICE<br>2. (agentTerm.getAgents() union agent) == agent<br>3. agent.setState (appropriate state)<p>The post-condition predicates for this method are:<br>1. (agentTerm.getProvider()).getState() == IN_SERVICE<br>2. agent.getState() == (state specified from the setState)<p>If the state was set to LOG_OUT, the Agent is removed from thisAgentTerminal and the post and pre conditions are as follows:<p>The pre-condition predicates for this method are:<br>1. (agentTerm.getProvider()).getState() == IN_SERVICE<br>2. (agentTerm.getAgents() union agent) == agent<p>The post-condition predicates for this method are:<br>1. (agentTerm.getProvider()).getState() == IN_SERVICE<br>2. (agentTerm.getAgents() union agent) == nil<p> <dl> <dt> <b>Parameters:</b> <dd> agents - being added, changed or removed. <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a> <dd> A platform-specific exception occurred. </dl></dl><a name="getAgents()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getAgents"><b>getAgents</b></a><pre> public abstract <a href="java.telephony.callcenter.Agent.html#_top_">Agent</a>[] getAgents() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl> <dd> This returns one or more Agent objects added previously to thisAgentTerminal.<p>If an Agent has been removed from an AgentTerminal, no Agentobject will be returned to represent that.<p> <dl> <dt> <b>Returns:</b> <dd> A list of Agents associated with this Terminal. <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a> <dd> An platform-specific exception occurred. </dl></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="java.telephony.callcenter.ACDManagerConnection.html#_top_">Previous</a> <a href="java.telephony.callcenter.AgentTerminalObserver.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -