|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a ChargingSession.
Field Summary |
Fields inherited from interface org.csapi.jr.se.Service |
IN_SERVICE_STATE, OUT_OF_SERVICE_STATE |
Method Summary | |
void |
addChargingSessionListener(org.csapi.jr.se.cs.ChargingSessionListener chargingSessionListener)
Adds a ChargingSessionListener which is interested in events generated by the ChargingSession. |
void |
creditAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.ChargingPrice amount,
boolean closeReservation)
Invokes the creditAmountReq() method on the Parlay Gateway. |
void |
creditUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.Volume[] volumes,
boolean closeReservation)
Invokes the creditUnitReq() method on the Parlay Gateway. |
void |
debitAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.ChargingPrice amount,
boolean closeReservation)
Invokes the debitAmountReq() method on the Parlay Gateway. |
void |
debitUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.Volume[] volumes,
boolean closeReservation)
Invokes the debitUnitReq() method on the Parlay Gateway. |
void |
directCreditAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.ChargingParameter[] chargingParameters,
org.csapi.jr.se.cs.ChargingPrice amount)
Invokes the directCreditAmountReq() method on the Parlay Gateway. |
void |
directCreditUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.ChargingParameter[] chargingParameters,
org.csapi.jr.se.cs.Volume[] volumes)
Invokes the directCreditUnitReq() method on the Parlay Gateway. |
void |
directDebitAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.ChargingParameter[] chargingParameters,
org.csapi.jr.se.cs.ChargingPrice amount)
Invokes the directDebitAmountReq() method on the Parlay Gateway. |
void |
directDebitUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.ChargingParameter[] chargingParameters,
org.csapi.jr.se.cs.Volume[] volumes)
Invokes the directDebitUnitReq() method on the Parlay Gateway. |
void |
extendLifeTimeReq()
Invokes the extendLifeTimeReq() method on the Parlay Gateway. |
org.csapi.jr.se.cs.ChargingPrice |
getAmountLeft()
Invokes the getAmountLeft() method on the Parlay Gateway. |
org.csapi.jr.se.cs.ChargingManager |
getChargingManager()
Returns a reference to the ChargingManager responsible for creation of the ChargingSession. |
int |
getLifeTimeLeft()
Invokes the getLifeTimeLeft() method on the Parlay Gateway. |
org.csapi.jr.se.cs.Volume[] |
getUnitLeft()
Invokes the getUnitLeft() method on the Parlay Gateway. |
void |
rateReq(org.csapi.jr.se.cs.ChargingParameter[] chargingParameters)
Invokes the rateReq() method on the Parlay Gateway. |
void |
release()
Invokes the release() method on the Parlay Gateway. |
void |
removeChargingSessionListener(org.csapi.jr.se.cs.ChargingSessionListener chargingSessionListener)
Removes a ChargingSessionListener which is no longer interested in events generated by the ChargingSession. |
void |
reserveAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.ChargingParameter[] chargingParameters,
org.csapi.jr.se.cs.ChargingPrice preferredAmount,
org.csapi.jr.se.cs.ChargingPrice minimumAmount)
Invokes the reserveAmountReq() method on the Parlay Gateway. |
void |
reserveUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription,
org.csapi.jr.se.cs.ChargingParameter[] chargingParameters,
org.csapi.jr.se.cs.Volume[] volumes)
Invokes the reserveUnitReq() method on the Parlay Gateway. |
Methods inherited from interface org.csapi.jr.se.Service |
addServiceStateChangeListener, getServiceState, removeServiceStateChangeListener, setCallback |
Method Detail |
public void addChargingSessionListener(org.csapi.jr.se.cs.ChargingSessionListener chargingSessionListener)
chargingSessionListener
- A reference to the ChargingSessionListener which is to be added as
a listener.public void removeChargingSessionListener(org.csapi.jr.se.cs.ChargingSessionListener chargingSessionListener)
chargingSessionListener
- A reference to the ChargingSessionListener which is to be removed as
a listener.public org.csapi.jr.se.cs.ChargingManager getChargingManager()
public void creditAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.ChargingPrice amount, boolean closeReservation) throws PlatformException, CommonException, InvalidAmountException, InvalidCurrencyException, InvalidRequestNumberException
PlatformException
CommonException
InvalidAmountException
InvalidCurrencyException
InvalidRequestNumberException
public void creditUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.Volume[] volumes, boolean closeReservation) throws PlatformException, CommonException, InvalidVolumeException, InvalidRequestNumberException
PlatformException
CommonException
InvalidVolumeException
InvalidRequestNumberException
public void debitAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.ChargingPrice amount, boolean closeReservation) throws PlatformException, CommonException, InvalidAmountException, InvalidCurrencyException, InvalidRequestNumberException
PlatformException
CommonException
InvalidAmountException
InvalidCurrencyException
InvalidRequestNumberException
public void debitUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.Volume[] volumes, boolean closeReservation) throws PlatformException, CommonException, InvalidVolumeException, InvalidRequestNumberException
PlatformException
CommonException
InvalidVolumeException
InvalidRequestNumberException
public void directCreditAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.ChargingParameter[] chargingParameters, org.csapi.jr.se.cs.ChargingPrice amount) throws PlatformException, CommonException, InvalidAmountException, InvalidCurrencyException, InvalidRequestNumberException
PlatformException
CommonException
InvalidAmountException
InvalidCurrencyException
InvalidRequestNumberException
public void directCreditUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.ChargingParameter[] chargingParameters, org.csapi.jr.se.cs.Volume[] volumes) throws PlatformException, CommonException, InvalidVolumeException, InvalidRequestNumberException
PlatformException
CommonException
InvalidVolumeException
InvalidRequestNumberException
public void directDebitAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.ChargingParameter[] chargingParameters, org.csapi.jr.se.cs.ChargingPrice amount) throws PlatformException, CommonException, InvalidAmountException, InvalidCurrencyException, InvalidRequestNumberException
PlatformException
CommonException
InvalidAmountException
InvalidCurrencyException
InvalidRequestNumberException
public void directDebitUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.ChargingParameter[] chargingParameters, org.csapi.jr.se.cs.Volume[] volumes) throws PlatformException, CommonException, InvalidVolumeException, InvalidRequestNumberException
PlatformException
CommonException
InvalidVolumeException
InvalidRequestNumberException
public void extendLifeTimeReq() throws PlatformException, CommonException
PlatformException
CommonException
public org.csapi.jr.se.cs.ChargingPrice getAmountLeft() throws PlatformException, CommonException
PlatformException
CommonException
public int getLifeTimeLeft() throws PlatformException, CommonException
PlatformException
CommonException
public org.csapi.jr.se.cs.Volume[] getUnitLeft() throws PlatformException, CommonException
PlatformException
CommonException
public void rateReq(org.csapi.jr.se.cs.ChargingParameter[] chargingParameters) throws PlatformException, CommonException
PlatformException
CommonException
public void release() throws PlatformException, CommonException, InvalidRequestNumberException
PlatformException
CommonException
InvalidRequestNumberException
public void reserveAmountReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.ChargingParameter[] chargingParameters, org.csapi.jr.se.cs.ChargingPrice preferredAmount, org.csapi.jr.se.cs.ChargingPrice minimumAmount) throws PlatformException, CommonException, InvalidAmountException, InvalidCurrencyException, InvalidRequestNumberException
PlatformException
CommonException
InvalidAmountException
InvalidCurrencyException
InvalidRequestNumberException
public void reserveUnitReq(org.csapi.jr.se.cs.ApplicationDescription applicationDescription, org.csapi.jr.se.cs.ChargingParameter[] chargingParameters, org.csapi.jr.se.cs.Volume[] volumes) throws PlatformException, CommonException, InvalidVolumeException, InvalidRequestNumberException
PlatformException
CommonException
InvalidVolumeException
InvalidRequestNumberException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |