|
|||||||||
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.CAProductEvent
public class CAProductEvent
Notifies events related to a Product.
Field Summary | |
---|---|
static int |
EVENT_BEGIN
Notifies that a new PPV event just started. |
static int |
EVENT_END
Notifies that the current PPV event reached the end. |
static int |
EVENT_STOPPED
Notifies that the current PPV event has been stopped by the user (e.g. by the remote control) |
static int |
PRODUCTS_OFFERS_LIST_CHANGED
This notifies that the offered products' list has 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 |
CAProductEvent(CAManager caManager,
Product product)
Constructor for a CAProductEvent |
Method Summary | |
---|---|
CAManager |
getManager()
Retrieves the CAManager |
Product |
getProduct()
Deprecated. Retrieves getProducts[0] Product object |
Product[] |
getProducts()
Retrieves the products |
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 |
Field Detail |
---|
public static final int EVENT_END
public static final int EVENT_STOPPED
public static final int EVENT_BEGIN
public static final int PRODUCTS_OFFERS_LIST_CHANGED
Constructor Detail |
---|
protected CAProductEvent(CAManager caManager, Product product)
caManager
- the CAManagerproduct
- the product to which the event refersMethod Detail |
---|
public CAManager getManager()
public Product getProduct()
public Product[] getProducts()
public int getType()
getType
in class CAEvent
CAEvent.CA_PRODUCT_EVENT
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |