|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.dtt.ca.event.CAEvent
it.dtt.ca.event.SmartCardEvent
it.dtt.ca.event.CreditsEvent
public class CreditsEvent
Notifies that the credit on the smart card changed.
Field Summary | |
---|---|
static int |
CREDIT_CHANGED
Notifies that the credit on the card is changed. |
Fields inherited from class it.dtt.ca.event.CAEvent |
---|
CA_ACCESS_EVENT, CA_PRODUCT_EVENT, HISTORY_UPDATE_EVENT, NEW_MESSAGE_EVENT, PIN_REQUEST_EVENT, RECHARGE_EVENT, SLOT_EVENT, SMART_CARD_STATUS_EVENT |
Constructor Summary | |
---|---|
protected |
CreditsEvent(SmartCard smartCard,
java.lang.Object data,
java.lang.String description,
Wallet wallet)
|
Method Summary | |
---|---|
int |
getType()
Returns the type of event that's arrived. |
Wallet |
getWallet()
Retrieves the wallet on the given card, generating the credit update event |
Methods inherited from class it.dtt.ca.event.SmartCardEvent |
---|
getSmartCard |
Methods inherited from class it.dtt.ca.event.CAEvent |
---|
getData, getDescription, getPrivateData, getSource, setPrivateData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CREDIT_CHANGED
Constructor Detail |
---|
protected CreditsEvent(SmartCard smartCard, java.lang.Object data, java.lang.String description, Wallet wallet)
smartCard
- the smart card generating the eventdata
- event related datadescription
- description of the eventwallet
- the wallet generating the event on the given cardMethod Detail |
---|
public Wallet getWallet()
public int getType()
getType
in class CAEvent
CAEvent.CA_ACCESS_EVENT
,
CAEvent.CA_PRODUCT_EVENT
,
CAEvent.NEW_MESSAGE_EVENT
,
CAEvent.PIN_REQUEST_EVENT
,
CAEvent.RECHARGE_EVENT
,
CAEvent.SLOT_EVENT
,
CAEvent.HISTORY_UPDATE_EVENT
,
CAEvent.SMART_CARD_STATUS_EVENT
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |