it.dtt.ca.event
Class PinRequestEvent

java.lang.Object
  extended by it.dtt.ca.event.CAEvent
      extended by it.dtt.ca.event.PinRequestEvent

public class PinRequestEvent
extends CAEvent

This event is thrown by the CA to notify that a PIN input is required in order to proceed. The Pin object to use is provided by this class.


Field Summary
static int PIN_REQUEST
          Ask the application to enter the PIN.
 
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 PinRequestEvent(CAManager caManager, Pin pin)
          Creates an istance of the PinRequestEvent
 
Method Summary
 Pin getPin()
          Get the PIN object that requires entering the correct PIN.
 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

PIN_REQUEST

public static final int PIN_REQUEST
Ask the application to enter the PIN.

See Also:
Constant Field Values
Constructor Detail

PinRequestEvent

protected PinRequestEvent(CAManager caManager,
                          Pin pin)
Creates an istance of the PinRequestEvent

Parameters:
caManager - the CaManager
pin - the pin
Method Detail

getPin

public Pin getPin()
Get the PIN object that requires entering the correct PIN.

Returns:
the PIN object.

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.PIN_REQUEST_EVENT