uicc.hci.services.readermode
Interface ReaderListener

All Superinterfaces:
HCIListener, javacard.framework.Shareable

public interface ReaderListener
extends HCIListener

The instance of an Applet which implements the interface ReaderListener can receive events through the onCallback method of this interface and can process ReaderMessage objects passed through the onCallback method of this interface. The Contactless Framework shall invoke the method ReaderListener.onCallback only with events which are defined in ReaderListener or HCIListener and only with ReaderMessage objects. The Applet instance must activate the events with ReaderService.activateEvent before it will receive any event notification.

See Also:
ReaderService, ReaderMessage

Field Summary
static byte EVENT_GET_PARAMETER_RESPONSE
          This value is used to notify the Applet when a response to the ReaderMessage.prepareAndSendGetParameterCommand(byte) is received.
static byte EVENT_TARGET_DISCOVERED
          This value is used to notify the Applet when the HCI event EVT_TARGET_DISCOVERD as received from the CLF.
static byte EVENT_WRITE_EXCHANGE_DATA_RESPONSE
          This value is used to notify the Applet when a response to the ReaderMessage.prepareAndSendWriteXchgDataCommand(byte, byte[], short, short) is received.
 
Fields inherited from interface uicc.hci.framework.HCIListener
EVENT_HCI_RECEPTION_FAILED, EVENT_HCI_TRANSMISSION_FAILED
 
Method Summary
 
Methods inherited from interface uicc.hci.framework.HCIListener
onCallback
 

Field Detail

EVENT_GET_PARAMETER_RESPONSE

static final byte EVENT_GET_PARAMETER_RESPONSE
This value is used to notify the Applet when a response to the ReaderMessage.prepareAndSendGetParameterCommand(byte) is received. The Applet shall return this value to the HCI framework if it wants to be notified about the outcome of the GetParameterCommand.

See Also:
Constant Field Values

EVENT_WRITE_EXCHANGE_DATA_RESPONSE

static final byte EVENT_WRITE_EXCHANGE_DATA_RESPONSE
This value is used to notify the Applet when a response to the ReaderMessage.prepareAndSendWriteXchgDataCommand(byte, byte[], short, short) is received. The Applet shall return this value to the HCI framework if it wants to be notified about the outcome of the GetParameterCommand.

See Also:
Constant Field Values

EVENT_TARGET_DISCOVERED

static final byte EVENT_TARGET_DISCOVERED
This value is used to notify the Applet when the HCI event EVT_TARGET_DISCOVERD as received from the CLF. This constant can be used in HCIService.activateEvent() and HCIService.deactivateEvent().

See Also:
Constant Field Values