Package opencard.opt.terminal
Interface TerminalCommand
-
- All Known Implementing Classes:
CTAPICardTerminal
,CTAPIWithKeyboardCardTerminal
,SmartCardIOTerminal
public interface TerminalCommand
TerminalCommand is a generic interface for sending commands to a CardTerminal.- Author:
- Dirk Husemann (hud@zurich.ibm.com), Peter Trommler (trp@zurich.ibm.com)
- See Also:
CardTerminal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
sendTerminalCommand(byte[] cmd)
Send a command to the terminal.
-
-
-
Method Detail
-
sendTerminalCommand
byte[] sendTerminalCommand(byte[] cmd) throws CardTerminalException
Send a command to the terminal.- Parameters:
cmd
- A byte[] containing the command to be send to the card terminal.- Returns:
- A byte[] with the result (null if no result is available).
- Throws:
CardTerminalException
- ;
-
-