|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.dvb.smartcard.SmartCardReaderEvent
Represents an event generated by a change in the status of a smart card reader. All available constants are defined within this class.
Field Summary | |
static int |
SMART_CARD_ERROR
Smart card is inserted into the reader, there is electrical communication with the smart card but no ATR is retrieved. |
static int |
SMART_CARD_IN
A smart card is inserted into the reader and an ATR is correctly retrieved. |
static int |
SMART_CARD_MUTED
Smart card is inserted into the reader but no ATR is retrieved because no electrical communication is established with the smart card. |
static int |
SMART_CARD_OUT
Nothing is inserted into the reader, meaning the insertion contact is disabled. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
SmartCardReaderEvent(java.lang.Object source,
int type)
Constructor for a smart card reader event notifying the slot has identified a change in its status. |
Method Summary | |
int |
getType()
Retrieves the type of SmartCardReaderEvent that has been fired. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int SMART_CARD_IN
public static int SMART_CARD_OUT
public static int SMART_CARD_MUTED
public static int SMART_CARD_ERROR
Constructor Detail |
public SmartCardReaderEvent(java.lang.Object source, int type)
source
- Object the SmartCardReader
who is generating the eventtype
- int the event typeMethod Detail |
public int getType()
SmartCardReaderEvent
that has been fired. It can be either SMART_CARD_IN
,
SMART_CARD_OUT
, SMART_CARD_MUTED
or SMART_CARD_ERROR
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |