public abstract class Command extends Message
| Modifier and Type | Field and Description |
|---|---|
protected AtallaSimulator |
simulator |
| Constructor and Description |
|---|
Command() |
Command(java.lang.String response) |
| Modifier and Type | Method and Description |
|---|---|
static Command |
createInstance(java.lang.String message,
AtallaSimulator simulator) |
protected byte[] |
decrypt(int keyField,
int dataField) |
protected byte[] |
decryptKey(int keyField) |
protected abstract java.lang.String |
doProcess() |
protected AnsiPinBlock |
getPinBlock(int kpeField,
int pinBlockField,
int partialPanField) |
Message |
process() |
static <T> T |
run(int fieldNumber,
java.util.concurrent.Callable<T> call) |
protected void |
setDecimalizationTable(IBM3624PINOffset ibm,
int fieldNo) |
protected AtallaSimulator simulator
public static Command createInstance(java.lang.String message, AtallaSimulator simulator)
public Message process()
protected abstract java.lang.String doProcess()
throws CommandException
CommandExceptionpublic static <T> T run(int fieldNumber,
java.util.concurrent.Callable<T> call)
throws CommandException
CommandExceptionprotected void setDecimalizationTable(IBM3624PINOffset ibm, int fieldNo) throws CommandException
CommandExceptionprotected AnsiPinBlock getPinBlock(int kpeField, int pinBlockField, int partialPanField) throws CommandException
CommandExceptionprotected byte[] decryptKey(int keyField)
throws CommandException
CommandExceptionprotected byte[] decrypt(int keyField,
int dataField)
throws CommandException
CommandException