| Modifier and Type | Field and Description |
|---|---|
| private CardImpl | |
| pack-priv final long | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized Card | connect(String protocol)
Implements abstract javax. Establishes a connection to the card. |
| public String | getName()
Implements abstract javax. Returns the unique name of this terminal. |
| public boolean | isCardPresent()
Implements abstract javax. Returns whether a card is present in this terminal. |
| public String | |
| private boolean | |
| public boolean | waitForCardAbsent(long timeout)
Implements abstract javax. Waits until a card is absent in this terminal or the timeout expires. |
| public boolean | waitForCardPresent(long timeout)
Implements abstract javax. Waits until a card is present in this terminal or the timeout expires. |
| card | back to summary |
|---|---|
| private CardImpl card | |
| contextId | back to summary |
|---|---|
| pack-priv final long contextId | |
| name | back to summary |
|---|---|
| pack-priv final String name | |
| TerminalImpl | back to summary |
|---|---|
| pack-priv TerminalImpl(long contextId, String name) | |
| connect | back to summary |
|---|---|
| public synchronized Card connect(String protocol) throws CardException Implements abstract javax. Doc from javax. Establishes a connection to the card. If a connection has previously established using the specified protocol, this method returns the same Card object as the previous call.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract javax. Doc from javax. Returns the unique name of this terminal. | |
| isCardPresent | back to summary |
|---|---|
| public boolean isCardPresent() throws CardException Implements abstract javax. Doc from javax. Returns whether a card is present in this terminal.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| waitForCard | back to summary |
|---|---|
| private boolean waitForCard(boolean wantPresent, long timeout) throws CardException | |
| waitForCardAbsent | back to summary |
|---|---|
| public boolean waitForCardAbsent(long timeout) throws CardException Implements abstract javax. Doc from javax. Waits until a card is absent in this terminal or the timeout expires. If the method returns due to an expired timeout, it returns false. Otherwise it return true. If no card is present in this terminal when this method is called, it returns immediately.
| |
| waitForCardPresent | back to summary |
|---|---|
| public boolean waitForCardPresent(long timeout) throws CardException Implements abstract javax. Doc from javax. Waits until a card is present in this terminal or the timeout expires. If the method returns due to an expired timeout, it returns false. Otherwise it return true. If a card is present in this terminal when this method is called, it returns immediately.
| |