|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cardcontact.opencard.terminal.jcwdpsim.JCWDPSimCardTerminalFactory
public class JCWDPSimCardTerminalFactory
Class implementing a JCWDP simulation card terminal factory
Field Summary |
---|
Fields inherited from interface opencard.core.terminal.CardTerminalFactory |
---|
TERMINAL_ADDRESS_ENTRY, TERMINAL_NAME_ENTRY, TERMINAL_TYPE_ENTRY |
Constructor Summary | |
---|---|
JCWDPSimCardTerminalFactory()
Constructor |
Method Summary | |
---|---|
void |
close()
deinitialize the CardTerminalFactory |
void |
createCardTerminals(CardTerminalRegistry ctr,
java.lang.String[] terminalInfo)
create a specific CardTerminal object that knows how to handle a specific card terminal and register it to the CardTerminalRegistry. |
void |
open()
initialize the CardTerminalFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCWDPSimCardTerminalFactory()
Method Detail |
---|
public void createCardTerminals(CardTerminalRegistry ctr, java.lang.String[] terminalInfo) throws CardTerminalException, TerminalInitException
CardTerminalFactory
createCardTerminals
in interface CardTerminalFactory
ctr
- the CardTerminalRegistry for registration-processterminalInfo
- the parameter array for the terminal.
{TerminalName, TerminalType, factory-specific count of parameters....}.
CardTerminalException
- thrown when CardTerminal error occured
TerminalInitException
- thrown when terminalInfo is incorrect or factory not able to
support requested terminal type.public void open() throws CardTerminalException
CardTerminalFactory
open
in interface CardTerminalFactory
CardTerminalException
- thrown when error occurred while open initializes the factory.public void close() throws CardTerminalException
CardTerminalFactory
close
in interface CardTerminalFactory
CardTerminalException
- thrown when error occurred while close deinitializes the factory.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |