org.dvb.smartcard
Class SmartCardReaderManager

java.lang.Object
  extended by org.dvb.smartcard.SmartCardReaderManager

public final class SmartCardReaderManager
extends java.lang.Object

The smart card reader manager allow user to know the status of any slot available on the terminal. The manager can dispatch the change of status in any reader to applications that registered themselves for monitoring it or can synchronously return the current status of the reader. The SmartCardReaderManager is a singleton.

Since:
MHP 1.1.3

Method Summary
static SmartCardReaderManager getInstance()
          Used to get the unique istance of the smart card reader manager.
 int getNumber()
          Retrieves the number of smart card readers provided on the terminal.
 SmartCardReader[] getSmartCardReaders()
          Allows application to retrieve an array including all the smart card readers provided on the terminal.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SmartCardReaderManager getInstance()
Used to get the unique istance of the smart card reader manager.

Returns:
SmartCardReaderManager the manager singleton instance

getNumber

public int getNumber()
Retrieves the number of smart card readers provided on the terminal.

Returns:
int number of card readers

getSmartCardReaders

public SmartCardReader[] getSmartCardReaders()
Allows application to retrieve an array including all the smart card readers provided on the terminal. In case no readers are provided, an array with length zero is returned.

Returns:
SmartCardReader[] array of smart card readers