org.csapi.jr.se.cc.gccs
Interface Route

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface Route
extends Activity

This interface represents a Route activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addRouteListener(org.csapi.jr.se.cc.gccs.RouteListener routeListener)
          Adds a RouteListener which is interested in events generated by the Route.
 org.csapi.jr.se.cc.gccs.Call getCall()
          Returns a reference to the Call responsible for creation of the Route.
 void removeRouteListener(org.csapi.jr.se.cc.gccs.RouteListener routeListener)
          Removes a RouteListener which is no longer interested events generated by the Route.
 void routeReq(org.csapi.jr.se.cc.gccs.CallReportRequest[] responseRequested, org.csapi.jr.se.Address targetAddress, org.csapi.jr.se.Address originatingAddress, org.csapi.jr.se.Address originalDestinationAddress, org.csapi.jr.se.Address redirectingAddress, org.csapi.jr.se.cc.gccs.CallAppInfo[] appInfo)
          Invokes the routeReq() method on the Parlay Gateway.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getCall

public org.csapi.jr.se.cc.gccs.Call getCall()
Returns a reference to the Call responsible for creation of the Route.

Returns:
A reference to the Call responsible for creation of the Route.

addRouteListener

public void addRouteListener(org.csapi.jr.se.cc.gccs.RouteListener routeListener)
Adds a RouteListener which is interested in events generated by the Route.

Parameters:
routeListener - A reference to the RouteListener which is to be added as a listener.

removeRouteListener

public void removeRouteListener(org.csapi.jr.se.cc.gccs.RouteListener routeListener)
Removes a RouteListener which is no longer interested events generated by the Route.

Parameters:
routeListener - A reference to the RouteListener which is to be removed as a listener.

routeReq

public void routeReq(org.csapi.jr.se.cc.gccs.CallReportRequest[] responseRequested,
                     org.csapi.jr.se.Address targetAddress,
                     org.csapi.jr.se.Address originatingAddress,
                     org.csapi.jr.se.Address originalDestinationAddress,
                     org.csapi.jr.se.Address redirectingAddress,
                     org.csapi.jr.se.cc.gccs.CallAppInfo[] appInfo)
              throws PlatformException,
                     java.lang.IllegalStateException,
                     CommonException,
                     InvalidAddressException,
                     UnsupportedAddressPlanException,
                     InvalidNetworkStateException,
                     InvalidCriteriaException,
                     InvalidEventTypeException
Invokes the routeReq() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
InvalidAddressException
UnsupportedAddressPlanException
InvalidNetworkStateException
InvalidCriteriaException
InvalidEventTypeException