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

📄 java.telephony.callcenter.routesession.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.RouteSession</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.RouteCallback.html#_top_">Previous</a>  <a href="Package-java.telephony.callcenter.html">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Interface java.telephony.callcenter.RouteSession</h1><dl>  <dt> public interface <b>RouteSession</b>  <dt> extends <a href="java.lang.Object.html#_top_">Object</a></dl>The RouteSession interface represents an outstanding route request.<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="#CAUSE_INVALID_DESTINATION"><b>CAUSE_INVALID_DESTINATION</b></a>  <dd> Cause code indicating that the provider is ending the routesession because the application included an invalid destinationin the routeSelect().  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CAUSE_NO_ERROR"><b>CAUSE_NO_ERROR</b></a>  <dd> Cause code indicating no error.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CAUSE_PARAMETER_NOT_SUPPORTED"><b>CAUSE_PARAMETER_NOT_SUPPORTED</b></a>  <dd> Cause code indicating that the provider is ending the routesession because the application included a parameter in therouteSelect() that the provider does not support.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CAUSE_ROUTING_TIMER_EXPIRED"><b>CAUSE_ROUTING_TIMER_EXPIRED</b></a>  <dd> Cause code indicating a routing timer has expired.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CAUSE_STATE_INCOMPATIBLE"><b>CAUSE_STATE_INCOMPATIBLE</b></a>  <dd> Cause code indicating that the provider is ending the routesession because the Connection state is incompatible with theRouteSession.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CAUSE_UNSPECIFIED_ERROR"><b>CAUSE_UNSPECIFIED_ERROR</b></a>  <dd> Cause code indicating that the provider is ending the routesession because some unspecified erroroccurred.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#RE_ROUTE"><b>RE_ROUTE</b></a>  <dd> The RouteSession object transitions to the RE_ROUTE state whenthe provider requests the application to select another routefor a call.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ROUTE"><b>ROUTE</b></a>  <dd> The RouteSession object transitions to the ROUTE state whenthe provider requests the application to route a call.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ROUTE_CALLBACK_ENDED"><b>ROUTE_CALLBACK_ENDED</b></a>  <dd> The RouteSession object transitions to the ROUTE_CALLBACK_ENDEDstate when the provider informs the application of thetermination of a previous registration of a route callback.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ROUTE_END"><b>ROUTE_END</b></a>  <dd> The RouteSession object transitions to the ROUTE_END statewhen the provider informs the application of terminationof a RouteSession.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ROUTE_USED"><b>ROUTE_USED</b></a>  <dd> The RouteSession object transitions to the ROUTE_USED statewhen the provider informs the application of the destinationof a call the application helped to route.</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="#endRoute(int)"><b>endRoute</b></a>(int)  <dd> An application uses this method to end a route session.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getCause()"><b>getCause</b></a>()  <dd> An application uses this method to get the cause associatedwith the state of the route session.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getRouteAddress()"><b>getRouteAddress</b></a>()  <dd> This returns the RouteAddress that the application hasregistered to route calls for.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getState()"><b>getState</b></a>()  <dd> An application uses this method to get the state of a routesession.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#selectRoute(java.lang.String[])"><b>selectRoute</b></a>(String[])  <dd> An application uses this method to send back a selected route.</dl><a name="variables"></a><h2>  <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="ROUTE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ROUTE</b><pre>  public final static int ROUTE</pre><dl>  <dd> The RouteSession object transitions to the ROUTE state whenthe provider requests the application to route a call.</dl><a name="ROUTE_USED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ROUTE_USED</b><pre>  public final static int ROUTE_USED</pre><dl>  <dd> The RouteSession object transitions to the ROUTE_USED statewhen the provider informs the application of the destinationof a call the application helped to route.</dl><a name="ROUTE_END"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ROUTE_END</b><pre>  public final static int ROUTE_END</pre><dl>  <dd> The RouteSession object transitions to the ROUTE_END statewhen the provider informs the application of terminationof a RouteSession.</dl><a name="RE_ROUTE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>RE_ROUTE</b><pre>  public final static int RE_ROUTE</pre><dl>  <dd> The RouteSession object transitions to the RE_ROUTE state whenthe provider requests the application to select another routefor a call.</dl><a name="ROUTE_CALLBACK_ENDED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ROUTE_CALLBACK_ENDED</b><pre>  public final static int ROUTE_CALLBACK_ENDED</pre><dl>  <dd> The RouteSession object transitions to the ROUTE_CALLBACK_ENDEDstate when the provider informs the application of thetermination of a previous registration of a route callback.</dl><a name="CAUSE_NO_ERROR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CAUSE_NO_ERROR</b><pre>  public final static int CAUSE_NO_ERROR</pre><dl>  <dd> Cause code indicating no error.</dl><a name="CAUSE_ROUTING_TIMER_EXPIRED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CAUSE_ROUTING_TIMER_EXPIRED</b><pre>  public final static int CAUSE_ROUTING_TIMER_EXPIRED</pre><dl>  <dd> Cause code indicating a routing timer has expired.</dl><a name="CAUSE_PARAMETER_NOT_SUPPORTED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CAUSE_PARAMETER_NOT_SUPPORTED</b><pre>  public final static int CAUSE_PARAMETER_NOT_SUPPORTED</pre><dl>  <dd> Cause code indicating that the provider is ending the routesession because the application included a parameter in therouteSelect() that the provider does not support.</dl><a name="CAUSE_INVALID_DESTINATION"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CAUSE_INVALID_DESTINATION</b><pre>  public final static int CAUSE_INVALID_DESTINATION</pre><dl>  <dd> Cause code indicating that the provider is ending the routesession because the application included an invalid destinationin the routeSelect().</dl><a name="CAUSE_STATE_INCOMPATIBLE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CAUSE_STATE_INCOMPATIBLE</b><pre>  public final static int CAUSE_STATE_INCOMPATIBLE</pre><dl>  <dd> Cause code indicating that the provider is ending the routesession because the Connection state is incompatible with theRouteSession.</dl><a name="CAUSE_UNSPECIFIED_ERROR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CAUSE_UNSPECIFIED_ERROR</b><pre>  public final static int CAUSE_UNSPECIFIED_ERROR</pre><dl>  <dd> Cause code indicating that the provider is ending the routesession because some unspecified erroroccurred.</dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getRouteAddress()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getRouteAddress"><b>getRouteAddress</b></a><pre>  public abstract <a href="java.telephony.callcenter.RouteAddress.html#_top_">RouteAddress</a> getRouteAddress()</pre><dl>  <dd> This returns the RouteAddress that the application hasregistered to route calls for.</dl><a name="selectRoute(java.lang.String[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="selectRoute"><b>selectRoute</b></a><pre>  public abstract void selectRoute(<a href="java.lang.String.html#_top_">String</a> routeSelected[]) throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> An application uses this method to send back a selected route.</dl><a name="endRoute(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="endRoute"><b>endRoute</b></a><pre>  public abstract void endRoute(int errorValue) throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> An application uses this method to end a route session.</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 abstract int getState() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> An application uses this method to get the state of a routesession.</dl><a name="getCause()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getCause"><b>getCause</b></a><pre>  public abstract int getCause() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> An application uses this method to get the cause associatedwith the state of the route session.</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.RouteCallback.html#_top_">Previous</a>  <a href="Package-java.telephony.callcenter.html">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

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