org.dvb.smartcard
Class SmartCardReaderManager

java.lang.Object
  extended byorg.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

Constructor Summary
protected SmartCardReaderManager()
          This constructor is provided for the use of implementations and specifications which extend this specification.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartCardReaderManager

protected SmartCardReaderManager()
This constructor is provided for the use of implementations and specifications which extend this specification. Applications shall not define sub-classes of this class. Implementations are not required to behave correctly if any such application defined sub-classes are used.

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