📄 java.telephony.callcenter.routecallback.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.RouteCallback</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.RouteAddress.html#_top_">Previous</a> <a href="java.telephony.callcenter.RouteSession.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Interface java.telephony.callcenter.RouteCallback</h1><dl> <dt> public interface <b>RouteCallback</b> <dt> extends <a href="java.lang.Object.html#_top_">Object</a></dl>The RouteCallback interface provides a mechanism to handlerouting events. The application implements the RouteCallbackinterface which is called back when the provider wants theapplication to route a call.<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="#reRouteEvent(java.telephony.callcenter.events.RouteSessionEvent)"><b>reRouteEvent</b></a>(RouteSessionEvent) <dd> The reRouteEvent method is called by the providerwhen it wants the application to select anotherdestination for the call. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#routeCallbackEndedEvent(java.telephony.callcenter.events.RouteCallbackEndedEvent)"><b>routeCallbackEndedEvent</b></a>(RouteCallbackEndedEvent) <dd> The routeCallbackEndedEvent method is called by theprovider to inform the application of the terminationof a previous registration by the application to routecalls for a RouteAddress. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#routeEndEvent(java.telephony.callcenter.events.RouteEndEvent)"><b>routeEndEvent</b></a>(RouteEndEvent) <dd> The routeEndEvent method is called by the providerto inform the application of the termination of aRouteSession. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#routeEvent(java.telephony.callcenter.events.RouteEvent)"><b>routeEvent</b></a>(RouteEvent) <dd> The routeEvent method is called by the providerwhen it wants the application to route a call. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#routeUsedEvent(java.telephony.callcenter.events.RouteUsedEvent)"><b>routeUsedEvent</b></a>(RouteUsedEvent) <dd> The routeUsedEvent method is called by the providerto inform the application of the actual destinationof a call, that the application helped to route.</dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="routeEvent(java.telephony.callcenter.events.RouteEvent)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="routeEvent"><b>routeEvent</b></a><pre> public abstract void routeEvent(<a href="java.telephony.callcenter.events.RouteEvent.html#_top_">RouteEvent</a> event)</pre><dl> <dd> The routeEvent method is called by the providerwhen it wants the application to route a call.<br>This corresponds to the RouteSession objecttransitioning to the ROUTE state.</dl><a name="reRouteEvent(java.telephony.callcenter.events.RouteSessionEvent)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="reRouteEvent"><b>reRouteEvent</b></a><pre> public abstract void reRouteEvent(<a href="java.telephony.callcenter.events.RouteSessionEvent.html#_top_">RouteSessionEvent</a> event)</pre><dl> <dd> The reRouteEvent method is called by the providerwhen it wants the application to select anotherdestination for the call.<br>This corresponds to the RouteSession objecttransitioning to the RE_ROUTE state.</dl><a name="routeUsedEvent(java.telephony.callcenter.events.RouteUsedEvent)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="routeUsedEvent"><b>routeUsedEvent</b></a><pre> public abstract void routeUsedEvent(<a href="java.telephony.callcenter.events.RouteUsedEvent.html#_top_">RouteUsedEvent</a> event)</pre><dl> <dd> The routeUsedEvent method is called by the providerto inform the application of the actual destinationof a call, that the application helped to route.<br>This corresponds to the RouteSession objecttransitioning to the ROUTE_USED state.</dl><a name="routeEndEvent(java.telephony.callcenter.events.RouteEndEvent)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="routeEndEvent"><b>routeEndEvent</b></a><pre> public abstract void routeEndEvent(<a href="java.telephony.callcenter.events.RouteEndEvent.html#_top_">RouteEndEvent</a> event)</pre><dl> <dd> The routeEndEvent method is called by the providerto inform the application of the termination of aRouteSession.<br>This corresponds to the RouteSession objecttransitioning to the ROUTE_END state.</dl><a name="routeCallbackEndedEvent(java.telephony.callcenter.events.RouteCallbackEndedEvent)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="routeCallbackEndedEvent"><b>routeCallbackEndedEvent</b></a><pre> public abstract void routeCallbackEndedEvent(<a href="java.telephony.callcenter.events.RouteCallbackEndedEvent.html#_top_">RouteCallbackEndedEvent</a> event)</pre><dl> <dd> The routeCallbackEndedEvent method is called by theprovider to inform the application of the terminationof a previous registration by the application to routecalls for a RouteAddress.<br>This corresponds to the RouteSession objecttransitioning to the ROUTE_CALLBACK_ENDED state.</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.RouteAddress.html#_top_">Previous</a> <a href="java.telephony.callcenter.RouteSession.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -