public interface ICliSiTefListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
onData(int currentStage,
int command,
int fieldId,
int minLength,
int maxLength,
byte[] input)
Routine that must handle the commands returned by CliSiTef
|
void |
onTransactionResult(int currentStage,
int resultCode)
Event triggered at the end of the stage
|
void onData(int currentStage, int command, int fieldId, int minLength, int maxLength, byte[] input)
currentStage
- Event stage. Currently: 1 - transaction stage; 2 - settlement stage (confirmation/non-confirmation).command
- Next command that need to be executed by the application.fieldId
- Id of the field.minLength
- Minimum size of the field that must be returned.maxLength
- Maximum size of the field that must be returned.input
- Buffer containing the data related to command.void onTransactionResult(int currentStage, int resultCode)
currentStage
- Event stage. Currently: 1 - transaction stage; 2 - settlement stage (confirmation/non-confirmation).resultCode
- Transaction result code (0 is success).