uicc.hci.framework
Interface HCIListener

All Superinterfaces:
javacard.framework.Shareable
All Known Subinterfaces:
CardEmulationListener, ConnectivityListener, ReaderListener

public interface HCIListener
extends javacard.framework.Shareable

The base interface for all types of HCI listeners.

An Object shall not implement this interface but only implement one of the subinterfaces.

An Applet instance implementing the *Listener interface shall only receive events defined in the same *Listener interface.

Messages received through the inherited method HCIListener shall be the message type defined in the same package as the *Listener interface

See Also:
CardEmulationListener, ConnectivityListener, ReaderListener

Method Summary
 void onCallback(byte event, HCIMessage message)
          This method is called by the HCI framework to inform the Listener Object about a specific event and pass the corresponding HCIMessage to the Listener Object.
 

Method Detail

onCallback

void onCallback(byte event,
                HCIMessage message)
This method is called by the HCI framework to inform the Listener Object about a specific event and pass the corresponding HCIMessage to the Listener Object.

Parameters:
event - that triggers the invocation of the method
message - the HCIMessage