Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## opencard.opt.terminal
Interface PowerManagementInterface

    public interface PowerManagementInterface

A `CardTerminal` that implements the `PowerMangementInterface` can power down and power up the smart card in a slot.

Version:
  $Id: PowerManagementInterface.java,v 1.1.1.1 1999/10/05 15:08:48 damke Exp $
Author:
  Dirk Husemann (hud@zurich.ibm.com), Peter Trommler (trp@zurich.ibm.com)
See Also:
  `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

### powerUpCard

    void powerUpCard(int slotID,
                     int timeout)
                     throws CardTerminalException

  Power up an inserted smartcard.

  Parameters:
    `slotID` - slot identifier
    `timeout` - The time to wait before returning (in seconds); `-1` signals an indefinite timeout (i.e., wait forever).
  Throws:
    `CardTerminalException` - Thrown when there is no card present or a timeout occurs.

### powerDownCard

    void powerDownCard(int slotID,
                       int timeout)
                       throws CardTerminalException

  Power down an inserted smartcard.

  Parameters:
    `slotID` - slot identifier
    `timeout` - The time to wait before returning (in seconds); `-1` signals an indefinite timeout (i.e., wait forever).
  Throws:
    `CardTerminalException` - Thrown when there is no card present or a timeout occurs.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD