|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The RouteCallback
interface is used by applications to receive
routing requests for a particular RouteSession
. Applications
instantiates an object which implements this interface and registers the
callback for a particular routeable address via the
RouteAddress.registerRouteCallback()
method.
Applications override the individual methods defined by this interface, each of which corresponds to a different kind of routing request.
RouteAddress
,
RouteSession
Method Summary | |
void |
reRouteEvent(ReRouteEvent event)
This method indicates the application is being asked to select another route for a Call. |
void |
routeCallbackEndedEvent(RouteCallbackEndedEvent event)
This method indicates that this callback will no longer receive routing requests or routing information and the callback has been terminated. |
void |
routeEndEvent(RouteEndEvent event)
This method indicates that a routing session has ended. |
void |
routeEvent(RouteEvent event)
This method indicates the application is being asked to route a Call. |
void |
routeUsedEvent(RouteUsedEvent event)
This method indicates that a Call has successfully reached a final destination which the application has selected. |
Method Detail |
public void routeEvent(RouteEvent event)
RouteSession
associated with this RouteCallback
has transitioned into the RouteSession.ROUTE
state.
event
- The RouteEvent object describing the routing request.public void reRouteEvent(ReRouteEvent event)
RouteSession
associated with this
RouteCallback
has transitioned into the
RouteSession.RE_ROUTE
state.
event
- The ReRouteEvent object describing the routing request.public void routeUsedEvent(RouteUsedEvent event)
RouteSession
associated with this RouteCallback
has transitioned into the RouteSession.ROUTE_USED
state.
event
- The RouteUsedEvent object describing the route used.public void routeEndEvent(RouteEndEvent event)
RouteSession
associated with this RouteCallback
has transitioned into the RouteSession.ROUTE_END
state.
event
- The RouteEndEvent object describing the ending of the routing
session.public void routeCallbackEndedEvent(RouteCallbackEndedEvent event)
RouteSession
associated with this
RouteCallback
has transitioned into the
RouteSession.ROUTE_CALLBACK_ENDED
state.
event
- The RouteCallbackEndedEvent object describing the ending of
the routing callback.
|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |