com.gemplus.opencard.terminal
Class GemplusCardTerminalFactory
java.lang.Object
|
+--com.gemplus.opencard.terminal.GemplusCardTerminalFactory
- public class GemplusCardTerminalFactory
- extends java.lang.Object
- implements CardTerminalFactory
CardTerminalFactory for Gemplus card terminals.
Supported terminals types are GemCore-based readers (GCR410,GCR700 and E-PAD)
and Oros-based readers (GCR400, GCI400 and GCR500).
Terminal specific informations are stored in a String array.
- The first element is always the friendly name of the reader
- Second element declares the type of the reader hardware (for example GCR410)
- In case of GCR410 (GemCore) the third parameter declares the
device used for communication (e.g., COM1, COM2, SERIALA, SERIALB, ...)
- Version:
- $Id: GemplusCardTerminalFactory.java,v 1.1 1999/12/02 16:05:58 damke Exp $
- See Also:
CardTerminalFactory
|
Method Summary |
void |
close()
deinitialize the factory |
void |
createCardTerminals(CardTerminalRegistry ctr,
java.lang.String[] terminalInfo)
create a specific CardTerminal object that knows how to handle
a specific reader and register it to the CardTerminalRegistry. |
void |
open()
initialize the factory |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
GemplusCardTerminalFactory
public GemplusCardTerminalFactory()
createCardTerminals
public void createCardTerminals(CardTerminalRegistry ctr,
java.lang.String[] terminalInfo)
throws CardTerminalException,
TerminalInitException
- create a specific CardTerminal object that knows how to handle
a specific reader and register it to the CardTerminalRegistry.
- Specified by:
- createCardTerminals in interface CardTerminalFactory
- Parameters:
ctr - the CardTerminalRegistry for registration-processterminalInfo - The String array with configuration parameters for the
specific terminal.- See Also:
CardTerminalFactory,
GemCoreCardTerminal,
OrosCardTerminal
open
public void open()
throws CardTerminalException
- initialize the factory
- Specified by:
- open in interface CardTerminalFactory
close
public void close()
throws CardTerminalException
- deinitialize the factory
- Specified by:
- close in interface CardTerminalFactory
|