|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopencard.core.terminal.Slot
public final class Slot
A Slot object represents an individual slot of a card terminal.
CardTerminal
Field Summary | |
---|---|
protected int |
slotID
Deprecated. The slot identifier. |
protected CardTerminal |
terminal
Deprecated. The "owning" CardTerminal. |
Constructor Summary | |
---|---|
Slot(CardTerminal terminal,
int slotID)
Deprecated. Instantiate a Slot object belonging to the CardTerminal object terminal. |
Method Summary | |
---|---|
CardID |
getCardID()
Deprecated. Return the CardID object of the presently inserted smart card. |
CardID |
getCardID(int timeout)
Deprecated. |
CardTerminal |
getCardTerminal()
Deprecated. Return a reference to the "owning" CardTerminal object. |
int |
getSlotID()
Deprecated. Return the Slot number. |
boolean |
isCardPresent()
Deprecated. Check whether there is a smart card present. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CardTerminal terminal
protected int slotID
Constructor Detail |
---|
public Slot(CardTerminal terminal, int slotID)
terminal
- The card terminal to which this Slot belongs toslotID
- Slot number (0 = first slotID)Method Detail |
---|
public boolean isCardPresent() throws CardTerminalException
CardTerminalException
- Thrown when terminal.isCardPresent failed.public CardID getCardID(int timeout) throws CardTerminalException
CardTerminalException
public CardID getCardID() throws CardTerminalException
CardTerminalException
- Thrown when problems in the card terminal occur.public CardTerminal getCardTerminal()
public int getSlotID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |