|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PowerManagementInterface
A CardTerminal that implements the PowerMangementInterface can power down and power up the smart card in a slot.
CardTerminal
Method Summary | |
---|---|
void |
powerDownCard(int slotID,
int timeout)
Power down an inserted smartcard. |
void |
powerUpCard(int slotID,
int timeout)
Power up an inserted smartcard. |
Method Detail |
---|
void powerUpCard(int slotID, int timeout) throws CardTerminalException
slotID
- slot identifiertimeout
- The time to wait before returning (in seconds); -1 signals
an indefinite timeout (i.e., wait forever).
CardTerminalException
- Thrown when there is no card present or a timeout occurs.void powerDownCard(int slotID, int timeout) throws CardTerminalException
slotID
- slot identifiertimeout
- The time to wait before returning (in seconds); -1 signals
an indefinite timeout (i.e., wait forever).
CardTerminalException
- Thrown when there is no card present or a timeout occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |