| java.lang.Object com.sun.kvem.jsr082.bluetooth.ServiceSearcherBase
All known Subclasses: com.sun.kvem.jsr082.bluetooth.ServiceSearcher, com.sun.kvem.jsr082.bluetooth.ServiceSelector,
ServiceSearcherBase | abstract class ServiceSearcherBase implements SDPResponseListener(Code) | | This class saves information about every service descovery request
to provide functionality of DiscoveryAgent using multiple requests
via SDPClient (Service Descovery Protocol) by ServiceSelector
and ServiceSearcher classes.
|
Field Summary | |
int[] | attrSet Attributes list from SDP_ServiceSearchAttrbuteRequest. | RemoteDevice | btDev RemoteDevice whose response to be listened. | UUID[] | uuidSet The UUIDs from SDP_ServiceSearchRequest or
SDP_ServiceSearchAttrbuteRequest. |
Method Summary | |
abstract public void | errorResponse(int errorCode, String info, int transactionID) Informs this listener about errors during Service Discovering process. | abstract public void | serviceAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID) Informs this listener about found attributes of specified service record. | abstract public void | serviceSearchAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID) Informs this listener about attributes of fisrt found service record. | abstract public void | serviceSearchResponse(int[] handleList, int transactionID) Informs this listener about found services records. |
ServiceSearcherBase | ServiceSearcherBase(int[] attrSet, UUID[] uuidSet, RemoteDevice btDev)(Code) | | Creates ServiceSearcherBase and save all required info in it.
|
errorResponse | abstract public 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 locallydue to transaction terminating. Parameters: info - detail information about the error Parameters: transactionID - ID of transaction response recieved within. |
serviceAttributeResponse | abstract public 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 serverwithin SDP_ServiceAttributesRequest. Parameters: attributeValues - values returned by server withinSDP_ServiceAttributesResponse. Parameters: transactionID - ID of transaction response recieved within. |
serviceSearchAttributeResponse | abstract public void serviceSearchAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID)(Code) | | Informs this listener about attributes of fisrt found service record.
|
serviceSearchResponse | abstract public void serviceSearchResponse(int[] handleList, int transactionID)(Code) | | Informs this listener about found services records.
Parameters: handleList - service records handles returned by server withinSDP_ServiceSearchResponse. Parameters: transactionID - ID of transaction response recieved within. |
|
|