org.csapi.jr.se.dsc
Interface DataSession

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

public interface DataSession
extends Service

This interface represents a DataSession.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Service
IN_SERVICE_STATE, OUT_OF_SERVICE_STATE
 
Method Summary
 void addDataSessionListener(org.csapi.jr.se.dsc.DataSessionListener dataSessionListener)
          Adds a DataSessionListener which is interested in events generated by the DataSession.
 void continueProcessing()
          Invokes the continueProcessing() method on the Parlay Gateway.
 org.csapi.jr.se.dsc.Connect createConnect()
          Creates a Connect object and returns a reference to the interface used to gain access to it's methods.
 void deassignDataSession()
          Invokes the deassignDataSession() method on the Parlay Gateway.
 org.csapi.jr.se.dsc.DataSessionControlManager getDataSessionControlManager()
          Returns a reference to the DataSessionControlManager responsible for creation of the DataSession.
 void release(org.csapi.jr.se.dsc.DataSessionReleaseCause cause)
          Invokes the release() method on the Parlay Gateway.
 void removeDataSessionListener(org.csapi.jr.se.dsc.DataSessionListener dataSessionListener)
          Removes a DataSessionListener which is no longer interested in events generated by the DataSession.
 void setAdviceOfCharge(org.csapi.jr.se.AoCInfo aoCInfo, int tariffSwitch)
          Invokes the setAdviceOfCharge() method on the Parlay Gateway.
 void setDataSessionChargePlan(org.csapi.jr.se.dsc.DataSessionChargePlan dataSessionChargePlan)
          Invokes the setDataSessionChargePlan() method on the Parlay Gateway.
 void superviseDataSessionReq(int treatment, org.csapi.jr.se.dsc.DataSessionSuperviseVolume bytes)
          Invokes the superviseDataSessionReq() method on the Parlay Gateway.
 
Methods inherited from interface org.csapi.jr.se.Service
addServiceStateChangeListener, getServiceState, removeServiceStateChangeListener, setCallback
 

Method Detail

addDataSessionListener

public void addDataSessionListener(org.csapi.jr.se.dsc.DataSessionListener dataSessionListener)
Adds a DataSessionListener which is interested in events generated by the DataSession.

Parameters:
dataSessionListener - A reference to the DataSessionListener which is to be added as a listener.

removeDataSessionListener

public void removeDataSessionListener(org.csapi.jr.se.dsc.DataSessionListener dataSessionListener)
Removes a DataSessionListener which is no longer interested in events generated by the DataSession.

Parameters:
dataSessionListener - A reference to the DataSessionListener which is to be removed as a listener.

getDataSessionControlManager

public org.csapi.jr.se.dsc.DataSessionControlManager getDataSessionControlManager()
Returns a reference to the DataSessionControlManager responsible for creation of the DataSession.

Returns:
A reference to the DataSessionControlManager responsible for creation of the DataSession.

release

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

PlatformException
CommonException
InvalidNetworkStateException

superviseDataSessionReq

public void superviseDataSessionReq(int treatment,
                                    org.csapi.jr.se.dsc.DataSessionSuperviseVolume bytes)
                             throws PlatformException,
                                    CommonException,
                                    InvalidNetworkStateException
Invokes the superviseDataSessionReq() method on the Parlay Gateway.

PlatformException
CommonException
InvalidNetworkStateException

setDataSessionChargePlan

public void setDataSessionChargePlan(org.csapi.jr.se.dsc.DataSessionChargePlan dataSessionChargePlan)
                              throws PlatformException,
                                     CommonException,
                                     InvalidNetworkStateException
Invokes the setDataSessionChargePlan() method on the Parlay Gateway.

PlatformException
CommonException
InvalidNetworkStateException

setAdviceOfCharge

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

PlatformException
CommonException
InvalidNetworkStateException
InvalidTimeAndDateFormatException

deassignDataSession

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

PlatformException
CommonException

continueProcessing

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

PlatformException
CommonException
InvalidNetworkStateException

createConnect

public org.csapi.jr.se.dsc.Connect createConnect()
Creates a Connect object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the Connect interface.