|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITransactionController
Provides methods for carrying out RTD operations.
Method Summary | |
---|---|
void |
addStoredUse(AddStoredUseRequest product,
DownloadMode mode,
ITransactionControllerCallback callback)
The DEDUCT JOURNEYS/PASSES function can be called by the APPLICATION to request the RTD SERVER deducts a number of stored passes from an ITSO TYP22 product, or a number of journeys from an ITSO TYP23 or TYP24 product. |
void |
addStrValue(AddSTRRequest product,
DownloadMode mode,
ITransactionControllerCallback callback)
The ADD STR VALUE function can be called by the APPLICATION to request the RTD SERVER adds or credits value to the STR Product of the specified CM . |
void |
cancelRequest(String requestId,
ITransactionControllerCallback listener)
Cancels a previously registered request. |
void |
deductStoredUse(DeductStoredUseRequest product,
DownloadMode mode,
ITransactionControllerCallback callback)
The ADD JOURNEYS/PASSES function can be called by the APPLICATION to request the RTD SERVER adds a number of stored passes to an ITSO TYP22 product, or a number of journeys to an ITSO TYP23 or TYP24 product. |
void |
deductStrValue(DeductSTRRequest product,
DownloadMode mode,
ITransactionControllerCallback callback)
The DEDUCT STR VALUE function can be called by the APPLICATION to request the RTD SERVER deduct or debit value from the STR Product of the specified CM . |
void |
deleteProduct(DeleteProductRequest product,
DownloadMode mode,
ITransactionControllerCallback callback)
The DELETE PRODUCT function is called by the APPLICATION to request the RTD SERVER deletes one or more products from the CM. |
void |
loadProduct(LoadProductRequest product,
DownloadMode mode,
ITransactionControllerCallback callback)
The LOAD PRODUCT function is called by the application to request a Product from the RTD SERVER and load it onto the specified CM. |
void |
performPendingRequests(ITransactionControllerCallback callback)
The PERFORM PENDING REQUESTS function is called by the application to download one or more previously requested product loads and/or modifications. |
void |
performPendingRequests(String cardId,
CardType cardType,
ITransactionControllerCallback callback)
The PERFORM PENDING REQUESTS function is called by the application to download one or more previously requested product loads and/or modifications. |
void |
performPendingRequests(String requestId,
ITransactionControllerCallback callback)
The PERFORM PENDING REQUESTS function is called by the application to download one or more previously requested product loads and/or modifications. |
void |
performPendingRequests(String requestId,
String cardId,
CardType cardType,
ITransactionControllerCallback callback)
The PERFORM PENDING REQUESTS function is called by the application to download one or more previously requested product loads and/or modifications. |
void |
queryStatus(String id,
QueryMode mode,
ITransactionControllerCallback listener)
Get details about the requests handled during the last download involving the CM with the specified Id |
void |
updatePassExpiryDate(UpdatePassExpiryDateRequest product,
DownloadMode mode,
ITransactionControllerCallback callback)
The UPDATE PASS EXPIRY DATE function can be called by the APPLICATION to request the RTD SERVER updates the current pass expiry date of a ITSO TYP22 product. |
Method Detail |
---|
void addStoredUse(AddStoredUseRequest product, DownloadMode mode, ITransactionControllerCallback callback)
product
- An instance containing the details of the operation to be carried outmode
- Specifies what to do, i.e. just register, register and download, etccallback
- Callback used to inform the application on the progress of the operationvoid deductStoredUse(DeductStoredUseRequest product, DownloadMode mode, ITransactionControllerCallback callback)
product
- An instance containing the details of the operation to be carried outmode
- Specifies what to do, i.e. just register, register and download, etccallback
- Callback used to inform the application on the progress of the operationvoid addStrValue(AddSTRRequest product, DownloadMode mode, ITransactionControllerCallback callback)
product
- An instance containing the details of the operation to be carried outmode
- Specifies what to do, i.e. just register, register and download, etccallback
- Callback used to inform the application on the progress of the operationvoid deductStrValue(DeductSTRRequest product, DownloadMode mode, ITransactionControllerCallback callback)
product
- An instance containing the details of the operation to be carried outmode
- Specifies what to do, i.e. just register, register and download, etccallback
- Callback used to inform the application on the progress of the operationvoid deleteProduct(DeleteProductRequest product, DownloadMode mode, ITransactionControllerCallback callback)
product
- An instance containing the details of the operation to be carried outmode
- Specifies what to do, i.e. just register, register and download, etccallback
- Callback used to inform the application on the progress of the operationvoid loadProduct(LoadProductRequest product, DownloadMode mode, ITransactionControllerCallback callback)
product
- An instance containing the details of the operation to be carried outmode
- Specifies what to do, i.e. just register, register and download, etccallback
- Callback used to inform the application on the progress of the operationvoid updatePassExpiryDate(UpdatePassExpiryDateRequest product, DownloadMode mode, ITransactionControllerCallback callback)
product
- An instance containing the details of the operation to be carried outmode
- Specifies what to do, i.e. just register, register and download, etccallback
- Callback used to inform the application on the progress of the operationvoid performPendingRequests(ITransactionControllerCallback callback)
callback
- Callback used to inform the application on the progress of the operationvoid performPendingRequests(String requestId, ITransactionControllerCallback callback)
requestId
- ID of a specific request that should be completedcallback
- Callback used to inform the application on the progress of the operationvoid performPendingRequests(String cardId, CardType cardType, ITransactionControllerCallback callback)
cardId
- ID of a specific card to perform pending requests forcardType
- Type of card to perform pending requests forcallback
- Callback used to inform the application on the progress of the operationvoid performPendingRequests(String requestId, String cardId, CardType cardType, ITransactionControllerCallback callback)
requestId
- ID of a specific request that should be completedcardId
- ID of a specific card to perform pending requests forcardType
- Type of card to perform pending requests forcallback
- Callback used to inform the application on the progress of the operationvoid cancelRequest(String requestId, ITransactionControllerCallback listener)
requestId
- ID of the request to be cancelledlistener
- Used to pass back the outcome of the operation asynchronouslyvoid queryStatus(String id, QueryMode mode, ITransactionControllerCallback listener)
id
- ID that is of interestlistener
- Used to pass back the outcome of the operation asynchronously
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |