|
|||||||||
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.CAAccessEvent
public class CAAccessEvent
This event is used to notify a listener about a CA module status changes regarding the access, descrambling and purchasing periods. Under some circumstances, a single event in the CA system may result in multiple CAAccessEvents being posted. For example, successful purchase of a current program could result in both DESCRAMBLING_BEGIN and ACCESS_GRANTED.
Field Summary | |
---|---|
static int |
ACCESS_CLEAR
Notifies that the signal is not scrambled |
static int |
ACCESS_DENIED
Notifies that the CA is not entitled to descramble the current PPV event. |
static int |
ACCESS_DENIED_FOR_PARENTAL_RATING
Notifies that the CA is not entitled to descramble the current PPV event due to parental rating. |
static int |
ACCESS_DENIED_FOR_SMART_CARD_ERROR
Notifies that the CA is not entitled to descramble the current PPV event due to smart card issue. |
static int |
ACCESS_FREE
Notifies that the signal is scrambled in free mode |
static int |
ACCESS_GRANTED
Notifies that the CA is entitled to descramble the current PPV event. |
static int |
CA_GENERIC_EVENT
Used by the CA to notify an unknown event to the application. |
static int |
CARD_NEEDED
Notifies that a card is needed. |
static int |
DESCRAMBLING_BEGIN
Notifies that the current service has began being descrambled |
static int |
DESCRAMBLING_END
Notifies that the descrambling process has been stopped for the current service |
static int |
FREE_WINDOW_BEGIN
Notifies that the free window period for current PPV event is started |
static int |
FREE_WINDOW_END
Notifies that the free window period for current PPV event is ended |
static int |
PURCHASE_PERIOD_BEGIN
Notifies that the purchase period for current PPV event is started |
static int |
PURCHASE_PERIOD_END
Notifies that the purchase period for current PPV event is ended |
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 |
CAAccessEvent(CAManager caManager,
int type)
Creates a CAEvent instance |
protected |
CAAccessEvent(CAManager caManager,
java.lang.Object data,
java.lang.String description)
|
Method Summary | |
---|---|
CAManager |
getCAManager()
Retrieves the CAManager instance |
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 CA_GENERIC_EVENT
public static final int DESCRAMBLING_BEGIN
public static final int DESCRAMBLING_END
public static final int FREE_WINDOW_BEGIN
public static final int FREE_WINDOW_END
public static final int PURCHASE_PERIOD_BEGIN
public static final int PURCHASE_PERIOD_END
public static final int ACCESS_GRANTED
public static final int ACCESS_DENIED
public static final int ACCESS_DENIED_FOR_PARENTAL_RATING
public static final int CARD_NEEDED
public static final int ACCESS_DENIED_FOR_SMART_CARD_ERROR
public static final int ACCESS_CLEAR
public static final int ACCESS_FREE
Constructor Detail |
---|
protected CAAccessEvent(CAManager caManager, int type)
caManager
- the CAManagertype
- the type of eventprotected CAAccessEvent(CAManager caManager, java.lang.Object data, java.lang.String description)
Method Detail |
---|
public CAManager getCAManager()
public int getType()
getType
in class CAEvent
CAEvent.CA_ACCESS_EVENT
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |