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(RouteListener routeListener)
          Adds a RouteListener which is interested in events generated by the Route.
 Call getCall()
          Returns a reference to the Call responsible for creation of the Route.
 void removeRouteListener(RouteListener routeListener)
          Removes a RouteListener which is no longer interested events generated by the Route.
 void routeReq(CallReportRequest[] responseRequested, Address targetAddress, Address originatingAddress, Address originalDestinationAddress, Address redirectingAddress, 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 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(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(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(CallReportRequest[] responseRequested,
                     Address targetAddress,
                     Address originatingAddress,
                     Address originalDestinationAddress,
                     Address redirectingAddress,
                     CallAppInfo[] appInfo)
              throws PlatformException,
                     java.lang.IllegalStateException,
                     CommonException,
                     InvalidAddressException,
                     UnsupportedAddressPlanException,
                     InvalidNetworkStateException,
                     InvalidCriteriaException,
                     InvalidEventTypeException
Invokes the routeReq() method on the Parlay Gateway.

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