| java.lang.Object com.sun.kvem.jsr082.bluetooth.ServiceSearcherBase com.sun.kvem.jsr082.bluetooth.ServiceSelector
ServiceSelector | class ServiceSelector extends ServiceSearcherBase (Code) | | This class provides functionality of DiscoveryAgent.selectService()
(see JSR 82 texts for details) using SDP serviceAttribute request.
|
Method Summary | |
public void | errorResponse(int errorCode, String info, int transactionID) Recieves error information retrieved from SDP_ErrorResponse and
copmpletes the request activity by error reason. | ServiceRecord | getServiceRecord() Performs SERVICESEARCHATTRIBUTE transaction and returns newly created
ServiceRecordImpl instance with attributes and values
returned by server within SDP_serviceSearchAttributeResponse. | public void | serviceAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID) Base class method not relevant to this subclass, it must never be called. | public void | serviceSearchAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID) Receives arrays of service record attributes and their values retrieved
from SDP_ServiceSearchAttributeResponse. | public void | serviceSearchResponse(int[] handleList, int transactionID) Base class method not relevant to this subclass, it must never be called. |
ServiceSelector | ServiceSelector(int[] attrSet, UUID[] uuidSet, RemoteDevice btDev)(Code) | | Creates ServiceDiscoverer and save all required info in it.
|
errorResponse | public void errorResponse(int errorCode, String info, int transactionID)(Code) | | Recieves error information retrieved from SDP_ErrorResponse and
copmpletes the request activity by error reason.
|
getServiceRecord | ServiceRecord getServiceRecord()(Code) | | Performs SERVICESEARCHATTRIBUTE transaction and returns newly created
ServiceRecordImpl instance with attributes and values
returned by server within SDP_serviceSearchAttributeResponse.
newly created ServiceRecordImpl instance with attributes and values returned by server if the transaction has completedsuccessfully and attributes list retrieved is not empty, null otherwise. |
serviceAttributeResponse | public void serviceAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID)(Code) | | Base class method not relevant to this subclass, it must never be called.
|
serviceSearchAttributeResponse | public void serviceSearchAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID)(Code) | | Receives arrays of service record attributes and their values retrieved
from SDP_ServiceSearchAttributeResponse.
|
serviceSearchResponse | public void serviceSearchResponse(int[] handleList, int transactionID)(Code) | | Base class method not relevant to this subclass, it must never be called.
|
Methods inherited from com.sun.kvem.jsr082.bluetooth.ServiceSearcherBase | abstract public void errorResponse(int errorCode, String info, int transactionID)(Code)(Java Doc) abstract public void serviceAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID)(Code)(Java Doc) abstract public void serviceSearchAttributeResponse(int[] attrIDs, DataElement[] attributeValues, int transactionID)(Code)(Java Doc) abstract public void serviceSearchResponse(int[] handleList, int transactionID)(Code)(Java Doc)
|
|
|