public class JCSTerminal extends CardTerminal
| Constructor and Description |
|---|
JCSTerminal() |
| Modifier and Type | Method and Description |
|---|---|
Card |
connect(String protocol) |
String |
getName() |
boolean |
isCardPresent()
Always returns true
|
boolean |
waitForCardAbsent(long l)
Immediately returns true
|
boolean |
waitForCardPresent(long l)
Immediately returns true
|
public String getName()
getName in class CardTerminalpublic Card connect(String protocol) throws CardException
connect in class CardTerminalCardExceptionCardTerminal.connect(String),
JavaCardInterface.changeProtocol(String)public boolean isCardPresent()
throws CardException
isCardPresent in class CardTerminalCardExceptionpublic boolean waitForCardPresent(long l)
throws CardException
waitForCardPresent in class CardTerminalCardExceptionpublic boolean waitForCardAbsent(long l)
throws CardException
waitForCardAbsent in class CardTerminalCardException