opencard.opt.terminal
Interface TerminalCommand

All Known Implementing Classes:
CTAPICardTerminal, CTAPIWithKeyboardCardTerminal, Pcsc10CardTerminal, Pcsc10LockableTerminal, SmartCardIOTerminal

public interface TerminalCommand

TerminalCommand is a generic interface for sending commands to a CardTerminal.

Version:
$Id: TerminalCommand.java,v 1.1.1.1 1999/10/05 15:08:48 damke Exp $
Author:
Dirk Husemann (hud@zurich.ibm.com), Peter Trommler (trp@zurich.ibm.com)
See Also:
CardTerminal

Method Summary
 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;
CardTerminalException