| com.sun.kvem.jsr082.bluetooth.SDPResponseListener
All known Subclasses: com.sun.kvem.jsr082.bluetooth.ServiceSearcherBase,
SDPResponseListener | interface SDPResponseListener (Code) | | Common interface for SDP server responses listeners. Listenners are assigned
to active transactions and recieve SDP server responses.
|
Field Summary | |
final static int | IO_ERROR Transaction cancelling reason: abnormal IO error. | final static int | SDP_INSUFFICIENT_RESOURCES Error code returned by SDP server: Insufficient Resources to satisfy
Request. | final static int | SDP_INVALID_CONTINUATION_STATE Error code returned by SDP server: Invalid Continuation State. | final static int | SDP_INVALID_PDU_SIZE Error code returned by SDP server: Invalid PDU Size. | final static int | SDP_INVALID_SR_HANDLE Error code returned by SDP server: Invalid Service Record Handle. | final static int | SDP_INVALID_SYNTAX Error code returned by SDP server: Invalid request syntax. | final static int | SDP_INVALID_VERSION Error code returned by SDP server: Invalid/unsupported SDP version. | final static int | TERMINATED Transaction cancelling reason: transaction has been terminated. |
Method Summary | |
void | errorResponse(int errorCode, String info, int transactionID) Informs this listener about errors during Service Discovering process. | void | serviceAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID) Informs this listener about found attributes of specified service record. | void | serviceSearchAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID) Informs this listener about attributes of fisrt found service record. | void | serviceSearchResponse(int[] handleList, int transactionID) Informs this listener about found services records. |
IO_ERROR | final static int IO_ERROR(Code) | | Transaction cancelling reason: abnormal IO error.
|
SDP_INSUFFICIENT_RESOURCES | final static int SDP_INSUFFICIENT_RESOURCES(Code) | | Error code returned by SDP server: Insufficient Resources to satisfy
Request.
|
SDP_INVALID_CONTINUATION_STATE | final static int SDP_INVALID_CONTINUATION_STATE(Code) | | Error code returned by SDP server: Invalid Continuation State.
|
SDP_INVALID_PDU_SIZE | final static int SDP_INVALID_PDU_SIZE(Code) | | Error code returned by SDP server: Invalid PDU Size.
|
SDP_INVALID_SR_HANDLE | final static int SDP_INVALID_SR_HANDLE(Code) | | Error code returned by SDP server: Invalid Service Record Handle.
|
SDP_INVALID_SYNTAX | final static int SDP_INVALID_SYNTAX(Code) | | Error code returned by SDP server: Invalid request syntax.
|
SDP_INVALID_VERSION | final static int SDP_INVALID_VERSION(Code) | | Error code returned by SDP server: Invalid/unsupported SDP version.
|
TERMINATED | final static int TERMINATED(Code) | | Transaction cancelling reason: transaction has been terminated.
|
errorResponse | void errorResponse(int errorCode, String info, int transactionID)(Code) | | Informs this listener about errors during Service Discovering process.
Parameters: errorCode - error code recieved from server or generated locally due to transaction terminating. Parameters: info - detail information about the error Parameters: transactionID - ID of transaction response recieved within. |
serviceAttributeResponse | void serviceAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID)(Code) | | Informs this listener about found attributes of specified service record.
Parameters: attrIDs - list of attributes whose values requested from server within SDP_ServiceAttributesRequest. Parameters: attributeValues - values returned by server within SDP_ServiceAttributesResponse. Parameters: transactionID - ID of transaction response recieved within. |
serviceSearchAttributeResponse | void serviceSearchAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID)(Code) | | Informs this listener about attributes of fisrt found service record.
Parameters: attrIDs - list of attributes whose values requested from server within SDP_ServiceSearchAttributesRequest. Parameters: attributeValues - values returned by server within SDP_ServiceSearchAttributesResponse. Parameters: transactionID - ID of transaction response recieved within. |
serviceSearchResponse | void serviceSearchResponse(int[] handleList, int transactionID)(Code) | | Informs this listener about found services records.
Parameters: handleList - service records handles returned by server within SDP_ServiceSearchResponse. Parameters: transactionID - ID of transaction response recieved within. |
|
|