com.ecebs.rtd.enabler.callback
Interface ITransactionControllerCallback


public interface ITransactionControllerCallback

Interface that allows for the result of an ITransactionController operation to be returned asynchnously.

Author:
kyleb

Method Summary
 void onCardDetected()
          Called to inform the application that a CM has been detected, i.e.
 void onComplete(Outcome outcome)
          Called when an operation has completed.
 void onErrorRetrying(Outcome outcome)
          Called to inform the application that a recoverable error has occurred and the RTD Transaction Controller is retrying the operation
 void onQueryComplete(ResponseMessage status)
          Called when a query operation completed successfully.
 void onRequestAccepted(String requestId)
          Called to inform the application that the request has been initiated successfully with the RTD SERVER, also informs the application of the unique Request ID
 

Method Detail

onCardDetected

void onCardDetected()
Called to inform the application that a CM has been detected, i.e. the application should remove the prompt to present the CM


onRequestAccepted

void onRequestAccepted(String requestId)
Called to inform the application that the request has been initiated successfully with the RTD SERVER, also informs the application of the unique Request ID

Parameters:
requestId - ID of the request

onErrorRetrying

void onErrorRetrying(Outcome outcome)
Called to inform the application that a recoverable error has occurred and the RTD Transaction Controller is retrying the operation

Parameters:
outcome - Details about the error that occurred

onComplete

void onComplete(Outcome outcome)
Called when an operation has completed.

Parameters:
outcome - Details of the outcome of the operation

onQueryComplete

void onQueryComplete(ResponseMessage status)
Called when a query operation completed successfully.

If the operation failed, onComplete(Outcome) will be called

Parameters:
status - The result of the query


Copyright © 2013 Ecebs Ltd. All Rights Reserved.