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

📄 java.telephony.callcenter.callcentercall.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>  Interface java.telephony.callcenter.CallCenterCall</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.CallCenterAddress.html#_top_">Previous</a>  <a href="java.telephony.callcenter.CallCenterCallObserver.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Interface java.telephony.callcenter.CallCenterCall</h1><dl>  <dt> public interface <b>CallCenterCall</b>  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>  <dt> extends <a href="java.telephony.callcontrol.CallControlCall.html#_top_">CallControlCall</a></dl><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="#ANSWERING_TREATMENT_CONNECT"><b>ANSWERING_TREATMENT_CONNECT</b></a>  <dd> This answering endpoint treatment indicates that call should beconnected if answering endpoint is detected.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ANSWERING_TREATMENT_DROP"><b>ANSWERING_TREATMENT_DROP</b></a>  <dd> This answering endpoint treatment indicates that call should bedropped if answering endpoint is detected.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ANSWERING_TREATMENT_NONE"><b>ANSWERING_TREATMENT_NONE</b></a>  <dd> This answering endpoint treatment indicates that no treatment isspecified.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ANSWERING_TREATMENT_PROVIDER_DEFAULT"><b>ANSWERING_TREATMENT_PROVIDER_DEFAULT</b></a>  <dd> This answering endpoint treatment indicates that treatment shouldfollow the provider's default treatment administration.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ENDPOINT_ANSWERING_MACHINE"><b>ENDPOINT_ANSWERING_MACHINE</b></a>  <dd> This indicates that the endpoint answering the call may be ananswering machine.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ENDPOINT_ANY"><b>ENDPOINT_ANY</b></a>  <dd> This indicates that the endpoint answering the call may beany thing.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ENDPOINT_FAX_MACHINE"><b>ENDPOINT_FAX_MACHINE</b></a>  <dd> This indicates that the endpoint answering the call may be afax machine.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ENDPOINT_HUMAN_INTERVENTION"><b>ENDPOINT_HUMAN_INTERVENTION</b></a>  <dd> This indicates that the endpoint answering the call may be ahuman.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#MAX_RINGS"><b>MAX_RINGS</b></a>  <dd> Maximum number of rings allowed before classifying the call as noanswer.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#MIN_RINGS"><b>MIN_RINGS</b></a>  <dd> Minimum number of rings allowed before classifying the call as noanswer.</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="#connectPredictive(java.telephony.Terminal, java.telephony.Address, java.lang.String, int, int, int, int)"><b>connectPredictive</b></a>(Terminal, Address, String, int, int, int, int)  <dd> This method connects a pair of connections to a call, attemptingto connect the destination first.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getApplicationData()"><b>getApplicationData</b></a>()  <dd> Returns the application specific data associated with the call.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getTrunks()"><b>getTrunks</b></a>()  <dd> Returns an array of all Trunks currently being used for this Call.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setApplicationData(java.lang.Object)"><b>setApplicationData</b></a>(Object)  <dd> This method associates application specific data with a call.</dl><a name="variables"></a><h2>  <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="MIN_RINGS"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>MIN_RINGS</b><pre>  public final static int MIN_RINGS</pre><dl>  <dd> Minimum number of rings allowed before classifying the call as noanswer.</dl><a name="MAX_RINGS"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>MAX_RINGS</b><pre>  public final static int MAX_RINGS</pre><dl>  <dd> Maximum number of rings allowed before classifying the call as noanswer.</dl><a name="ANSWERING_TREATMENT_PROVIDER_DEFAULT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ANSWERING_TREATMENT_PROVIDER_DEFAULT</b><pre>  public final static int ANSWERING_TREATMENT_PROVIDER_DEFAULT</pre><dl>  <dd> This answering endpoint treatment indicates that treatment shouldfollow the provider's default treatment administration.</dl><a name="ANSWERING_TREATMENT_DROP"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ANSWERING_TREATMENT_DROP</b><pre>  public final static int ANSWERING_TREATMENT_DROP</pre><dl>  <dd> This answering endpoint treatment indicates that call should bedropped if answering endpoint is detected.</dl><a name="ANSWERING_TREATMENT_CONNECT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ANSWERING_TREATMENT_CONNECT</b><pre>  public final static int ANSWERING_TREATMENT_CONNECT</pre><dl>  <dd> This answering endpoint treatment indicates that call should beconnected if answering endpoint is detected.</dl><a name="ANSWERING_TREATMENT_NONE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ANSWERING_TREATMENT_NONE</b><pre>  public final static int ANSWERING_TREATMENT_NONE</pre><dl>  <dd> This answering endpoint treatment indicates that no treatment isspecified.</dl><a name="ENDPOINT_ANSWERING_MACHINE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ENDPOINT_ANSWERING_MACHINE</b><pre>  public final static int ENDPOINT_ANSWERING_MACHINE</pre><dl>  <dd> This indicates that the endpoint answering the call may be ananswering machine.</dl><a name="ENDPOINT_FAX_MACHINE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ENDPOINT_FAX_MACHINE</b><pre>  public final static int ENDPOINT_FAX_MACHINE</pre><dl>  <dd> This indicates that the endpoint answering the call may be afax machine.</dl><a name="ENDPOINT_HUMAN_INTERVENTION"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ENDPOINT_HUMAN_INTERVENTION</b><pre>  public final static int ENDPOINT_HUMAN_INTERVENTION</pre><dl>  <dd> This indicates that the endpoint answering the call may be ahuman.</dl><a name="ENDPOINT_ANY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ENDPOINT_ANY</b><pre>  public final static int ENDPOINT_ANY</pre><dl>  <dd> This indicates that the endpoint answering the call may beany thing.</dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="connectPredictive(java.telephony.Terminal, java.telephony.Address, java.lang.String, int, int, int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="connectPredictive"><b>connectPredictive</b></a><pre>  public abstract <a href="java.telephony.Connection.html#_top_">Connection</a>[] connectPredictive(<a href="java.telephony.Terminal.html#_top_">Terminal</a> originatorTerminal,                                                 <a href="java.telephony.Address.html#_top_">Address</a> originatorAddress,                                                 <a href="java.lang.String.html#_top_">String</a> destination,                                                 int connectionState,                                                 int maxRings,                                                 int answeringTreatment,                                                 int answeringEndpointType) throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> This method connects a pair of connections to a call, attemptingto connect the destination first. After the destination connectionis CONNECTED, ALERTING, NETWORK_REACHED or NETWORK_ALERTING asspecified by the connectionState, an attempt is made to connect theoriginator.<p>The method returns when the Connection objects are created.<p>The connection objects go through one or more state transitions togo from an intial IDLE state to a final CONNECTED state.<p>The pre-condition predicates for the CallCenterCall.connectPredictive()method indicate the statements that must be true in order for the methodto succeed. However, these predicates do not guarantee success.The variable "call" represents the instance of the CallCenterCall object.<br>1. (call.getProvider()).getState() == IN_SERVICE<br>2. call.getState() == IDLE<p>The post-condition predicates for the CallCenterCall.connectPredictive()method are as follows. connectionState is provided by the application.<br>1. (call.getProvider()).getState() == IN_SERVCE<br>2. call.getState() == ACTIVE<br>3. c = call.getConnections() && sizeof(c) == 2<br>4. c = call.getConnections() && c[0].getState() == connectionState<br>5. c = call.getConnections() && c[1].getState() == IDLE<p>  <dl>    <dt> <b>Parameters:</b>    <dd> originatorTerminal - The originating Terminal of the telephone call.This is optional when the originator is for example an ACDAddress.    <dd> originatorAddress - The originating Address of the telephone call.    <dd> destination - This must be a complete and valid telephone number.    <dd> connectionState - The application may set this to CONNECTEDALERTING, NETWORK_REACHED or NETWORK_ALERTING.    <dd> maxRings - This specifies the the number of rings that are allowedbefore classifying the call as no answer. The allowed range is fromMIN_RINGS of 2 to MAX_RINGS of 15.    <dd> answeringTreatment - This specifies the call treatment when ananswering endpoint is detected. The set includesANSWERING_TREATMENT_PROVIDER_DEFAULT, ANSWERING_TREATMENT_DROP,ANSWERING_TREATMENT_CONNECT and ANSWERING_TREATMENT_NONE.    <dd> answeringEndPointType - This specifies the type of answeringendpoint. The set includes ENDPOINT_ANSWERING_MACHINE,ENDPOINT_FAX_MACHINE, ENDPOINT_HUMAN_INTERVENTION, ENDPOINT_ANY.    <dt> <b>Returns:</b>    <dd> A pair of Connections.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="setApplicationData(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setApplicationData"><b>setApplicationData</b></a><pre>  public abstract void setApplicationData(<a href="java.lang.Object.html#_top_">Object</a> data) throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> This method associates application specific data with a call. Theformat of the data is application specific. If application specificdata exists for the call an application can clear it from the callby passing a NULL object.<p>The Call must be either IDLE or ACTIVE before this method is valid.The Provider must also be IN_SERVICE.The pre-conditions for this method are given by the following:<br>1. (call.getProvider()).getState() == IN_SERVICE<br>2. call.getState() == ACTIVE or IDLE<p>Notes: The application specific data associated with the Call objectfrom which the conference or transfer method is invoked will beretained with the call.<p>An ApplicationDataEvent will be sent when this method isused or the provider associates data with the call from anothersource.<p>  <dl>    <dt> <b>Parameters:</b>    <dd> data - The data to be associated with the call.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getApplicationData()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getApplicationData"><b>getApplicationData</b></a><pre>  public abstract <a href="java.lang.Object.html#_top_">Object</a> getApplicationData() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the application specific data associated with the call.<p>The Call must be either IDLE or ACTIVE before this method is valid.The Provider must also be IN_SERVICE.The pre-conditions for this method are given by the following:<br>1. (call.getProvider()).getState() == IN_SERVICE<br>2. call.getState() == ACTIVE or IDLE<p>  <dl>    <dt> <b>Returns:</b>    <dd> s String The data to be associated with the call.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getTrunks()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getTrunks"><b>getTrunks</b></a><pre>  public abstract <a href="java.telephony.callcenter.CallCenterTrunk.html#_top_">CallCenterTrunk</a>[] getTrunks() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns an array of all Trunks currently being used for this Call.If there are no Trunks being used, this method returns null.<p>  <dl>    <dt> <b>Returns:</b>    <dd> An array of Trunks, null if there arenone.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A 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.CallCenterAddress.html#_top_">Previous</a>  <a href="java.telephony.callcenter.CallCenterCallObserver.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

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