|
|||||||||
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.NewMessageEvent
public class NewMessageEvent
Notifies that a new message arrived. Messages can be read getting the message history from the SmartCard class.
Field Summary |
---|
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 |
NewMessageEvent(CAManager caManager,
Message message)
Create a NewMessageEvent instance. |
Method Summary | |
---|---|
Message |
getNewMessage()
Get the new message. |
int |
getType()
Returns the type of event that's arrived. |
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 |
Constructor Detail |
---|
protected NewMessageEvent(CAManager caManager, Message message)
caManager
- the CaMangermessage
- the new messageMethod Detail |
---|
public Message getNewMessage()
public int getType()
getType
in class CAEvent
CAEvent.NEW_MESSAGE_EVENT
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |