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

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

public interface Call
extends Service

This interface represents a Call.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Service
IN_SERVICE_STATE, OUT_OF_SERVICE_STATE
 
Method Summary
 void addCallListener(org.csapi.jr.se.cc.gccs.CallListener callListener)
          Adds a CallListener which is interested in events generated by the Call.
 org.csapi.jr.se.cc.gccs.Route createRoute()
          Creates a Route object and returns a reference to the interface used to gain access to it's methods.
 void deassignCall()
          Invokes the deassignCall() method on the Parlay Gateway.
 org.csapi.jr.se.cc.gccs.CallControlManager getCallControlManager()
          Returns a reference to the CallControlManager responsible for creation of the Call.
 void getCallInfoReq(int callInfoRequested)
          Invokes the getCallInfoReq() method on the Parlay Gateway.
 void getMoreDialledDigitsReq(int length)
          Invokes the getMoreDialledDigitsReq() method on the Parlay Gateway.
 void release(org.csapi.jr.se.cc.gccs.CallReleaseCause cause)
          Invokes the release() method on the Parlay Gateway.
 void removeCallListener(org.csapi.jr.se.cc.gccs.CallListener callListener)
          Removes a CallListener which is no longer interested in events generated by the Call.
 void setAdviceOfCharge(org.csapi.jr.se.AoCInfo aOCInfo, int tariffSwitch)
          Invokes the setAdviceOfCharge() method on the Parlay Gateway.
 void setCallChargePlan(org.csapi.jr.se.cc.CallChargePlan callChargePlan)
          Invokes the setCallChargePlan() method on the Parlay Gateway.
 void superviseCallReq(int time, int treatment)
          Invokes the superviseCallReq() method on the Parlay Gateway.
 
Methods inherited from interface org.csapi.jr.se.Service
addServiceStateChangeListener, getServiceState, removeServiceStateChangeListener, setCallback
 

Method Detail

addCallListener

public void addCallListener(org.csapi.jr.se.cc.gccs.CallListener callListener)
Adds a CallListener which is interested in events generated by the Call.

Parameters:
callListener - A reference to the CallListener which is to be added as a listener.

removeCallListener

public void removeCallListener(org.csapi.jr.se.cc.gccs.CallListener callListener)
Removes a CallListener which is no longer interested in events generated by the Call.

Parameters:
callListener - A reference to the CallListener which is to be removed as a listener.

getCallControlManager

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

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

release

public void release(org.csapi.jr.se.cc.gccs.CallReleaseCause cause)
             throws PlatformException,
                    CommonException,
                    InvalidNetworkStateException
Invokes the release() method on the Parlay Gateway.

PlatformException
CommonException
InvalidNetworkStateException

deassignCall

public void deassignCall()
                  throws PlatformException,
                         CommonException
Invokes the deassignCall() method on the Parlay Gateway.

PlatformException
CommonException

getCallInfoReq

public void getCallInfoReq(int callInfoRequested)
                    throws PlatformException,
                           CommonException
Invokes the getCallInfoReq() method on the Parlay Gateway.

PlatformException
CommonException

setCallChargePlan

public void setCallChargePlan(org.csapi.jr.se.cc.CallChargePlan callChargePlan)
                       throws PlatformException,
                              CommonException
Invokes the setCallChargePlan() method on the Parlay Gateway.

PlatformException
CommonException

setAdviceOfCharge

public void setAdviceOfCharge(org.csapi.jr.se.AoCInfo aOCInfo,
                              int tariffSwitch)
                       throws PlatformException,
                              CommonException
Invokes the setAdviceOfCharge() method on the Parlay Gateway.

PlatformException
CommonException

getMoreDialledDigitsReq

public void getMoreDialledDigitsReq(int length)
                             throws PlatformException,
                                    CommonException
Invokes the getMoreDialledDigitsReq() method on the Parlay Gateway.

PlatformException
CommonException

superviseCallReq

public void superviseCallReq(int time,
                             int treatment)
                      throws PlatformException,
                             CommonException
Invokes the superviseCallReq() method on the Parlay Gateway.

PlatformException
CommonException

createRoute

public org.csapi.jr.se.cc.gccs.Route createRoute()
Creates a Route object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the Route interface.