|
|||||||||
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.HistoryUpdateEvent
public class HistoryUpdateEvent
This event notifies that an history stored on the card is changed.
Field Summary | |
---|---|
static int |
MESSAGE_HISTORY_CHANGED
Notifies that the message list stored on the card is changed. |
static int |
PURCHASE_HISTORY_CHANGED
Notifies that the purchase list stored on the card is changed. |
static int |
RECHARGE_HISTORY_CHANGED
Notifies that the recharge list stored 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 |
HistoryUpdateEvent(SmartCard smartCard,
java.lang.Object data,
java.lang.String description,
History history)
Generate an HistoryUpdateEvent instance. |
Method Summary | |
---|---|
History |
getHistory()
Retrieves the history that has been updated on the smart card |
int |
getType()
Returns the type of event that's arrived. |
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 PURCHASE_HISTORY_CHANGED
public static final int RECHARGE_HISTORY_CHANGED
public static final int MESSAGE_HISTORY_CHANGED
Constructor Detail |
---|
protected HistoryUpdateEvent(SmartCard smartCard, java.lang.Object data, java.lang.String description, History history)
smartCard
- the smart card generating the event.data
- event related datadescription
- description of the eventhistory
- the updated history of messages.Method Detail |
---|
public History getHistory()
public int getType()
getType
in class CAEvent
CAEvent.HISTORY_UPDATE_EVENT
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |