|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectivityService
The connectivity services defines:
| Method Summary | |
|---|---|
void |
prepareAndSendConnectivityEvent()
This non-blocking method builds the HCI event EVT_CONNECTIVITY which notifies the terminal host that it shall send a "HCI connectivity event" as defined in TS 102 223. |
void |
prepareAndSendTransactionEvent(byte[] parameters,
short parametersOffset,
short parametersLen)
This non-blocking method builds the HCI event EVT_TRANSACTION which notifies the terminal host that it shall launch an application on the terminal which is associated to an Applet in the UICC host identified. |
void |
prepareAndSendTransactionEvent(byte[] aid,
short aidOffset,
short aidLen,
byte[] parameters,
short parametersOffset,
short parametersLen)
This non-blocking method builds the HCI event EVT_TRANSACTION which notifies the terminal host that it shall launch an application on the terminal which is associated to an Applet in the UICC host identified. |
| Methods inherited from interface uicc.hci.framework.HCIService |
|---|
activateEvent, deactivateEvent, deregister, getEventNotificationStatus, register, requestCallbackNotification |
| Method Detail |
|---|
void prepareAndSendConnectivityEvent()
throws HCIException
HCIException - with the following reason code:
HCI_CURRENTLY_DISABLED if the HCI interface was disabled
HCI_RESOURCES_NOT_AVAILABLE if the contactless framework does not have enough resources to process the command
HCI_CONDITIONS_NOT_SATISFIED if the conditions to call this method are not satisfied
void prepareAndSendTransactionEvent(byte[] aid,
short aidOffset,
short aidLen,
byte[] parameters,
short parametersOffset,
short parametersLen)
throws HCIException,
java.lang.ArrayIndexOutOfBoundsException,
java.lang.NullPointerException
aid - buffer with the AID of the Applet instanceaidOffset - offset in the buffer with the AIDaidLen - AID lengthparameters - buffer with the parametersparametersOffset - offset in the buffer with the parametersparametersLen - length of the parameters
HCIException - with the following reason code:
HCI_CURRENTLY_DISABLED if the HCI interface was disabled
HCI_RESOURCES_NOT_AVAILABLE if the contactless framework does not have enough resources to process the command
HCI_CONDITIONS_NOT_SATISFIED if the conditions to call this method are not satisfied
HCI_INVALID_LENGTH if the parameter length or the AID is not compliant to TS 102 622[4]
java.lang.ArrayIndexOutOfBoundsException - if operation would cause access of data outside
array bounds.
java.lang.NullPointerException - if parameters is null or aid is null
void prepareAndSendTransactionEvent(byte[] parameters,
short parametersOffset,
short parametersLen)
throws HCIException,
java.lang.ArrayIndexOutOfBoundsException,
java.lang.NullPointerException
parameters - buffer with the parametersparametersOffset - offset in the buffer with the parametersparametersLen - length of the parameters
HCIException - with the following reason code:
HCI_CURRENTLY_DISABLED if the HCI interface was disabled
HCI_RESOURCES_NOT_AVAILABLE if the contactless framework does not have enough resources to process the command
HCI_CONDITIONS_NOT_SATISFIED if the conditions to call this method are not satisfied
HCI_INVALID_LENGTH if the parameter length or the AID is not compliant to TS 102 622[4]
java.lang.ArrayIndexOutOfBoundsException - if operation would cause access of data outside
array bounds.
java.lang.NullPointerException - if parameters is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||