it.dtt.ca.event
Class SmartCardStatusEvent

java.lang.Object
  extended by it.dtt.ca.event.CAEvent
      extended by it.dtt.ca.event.SmartCardEvent
          extended by it.dtt.ca.event.SmartCardStatusEvent

public class SmartCardStatusEvent
extends SmartCardEvent

Notifies the status of the smart card.


Field Summary
static int BLACKLISTED
          Notifies that the smart card is blacklisted.
static int EXPIRED
          Notifies that the smart card is expired.
static int GENERIC_CARD_ERROR
          Notifies that there is an unknown error with the smart card.
static int INVALID
          Notifies that the smart cart is not valid.
static int MEMORY_FULL
          Notifies that the smart card has filled up memory.
static int NEVER_PAIRED
          Notifies that the smart card has never been paired with box.
static int NOT_CERTIFIED
          Notifies that the smart card is not certified.
static int NOT_PAIRED
          Notifies that the smart card is not actually paired with the box.
static int PIN_CHANGED
          Notifies that the pin of the smart card is changed (i.e. to have notification on reset by SMS).
static int SUSPENDED
          Notifies that the smart card is suspended.
static int VALID
          Notifies that the smart card is valid.
 
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 SmartCardStatusEvent(SmartCard smartCard, java.lang.Object data, java.lang.String description)
          Constructor for SmartCardStatusEvent object
 
Method Summary
 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

VALID

public static final int VALID
Notifies that the smart card is valid. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

INVALID

public static final int INVALID
Notifies that the smart cart is not valid. When in this state, the smart card cannot perform any further operation. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

EXPIRED

public static final int EXPIRED
Notifies that the smart card is expired. When in this state, the smart card cannot perform any further operation. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

BLACKLISTED

public static final int BLACKLISTED
Notifies that the smart card is blacklisted. When in this state, the smart card cannot perform any further operation. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

SUSPENDED

public static final int SUSPENDED
Notifies that the smart card is suspended. When in this state, the smart card cannot perform any further operation. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

NEVER_PAIRED

public static final int NEVER_PAIRED
Notifies that the smart card has never been paired with box. When in this state, the smart card cannot perform any further operation. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

NOT_PAIRED

public static final int NOT_PAIRED
Notifies that the smart card is not actually paired with the box. When in this state, the smart card cannot perform any further operation. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

NOT_CERTIFIED

public static final int NOT_CERTIFIED
Notifies that the smart card is not certified. When in this state, the smart card cannot perform any further operation. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

MEMORY_FULL

public static final int MEMORY_FULL
Notifies that the smart card has filled up memory. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

GENERIC_CARD_ERROR

public static final int GENERIC_CARD_ERROR
Notifies that there is an unknown error with the smart card. When in this state, the smart card cannot perform any further operation. This value may also be returned when a smart card check is performed. This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values

PIN_CHANGED

public static final int PIN_CHANGED
Notifies that the pin of the smart card is changed (i.e. to have notification on reset by SMS). This is a type which can be returned by the getType method of this class.

See Also:
Constant Field Values
Constructor Detail

SmartCardStatusEvent

protected SmartCardStatusEvent(SmartCard smartCard,
                               java.lang.Object data,
                               java.lang.String description)
Constructor for SmartCardStatusEvent object

Parameters:
smartCard - the smart card generating the event
data - event related data
description - description of the event
Method Detail

getType

public int getType()
Returns the type of event that's arrived.

Specified by:
getType in class CAEvent
Returns:
type of event.
See Also:
CAEvent.SMART_CARD_STATUS_EVENT