| java.lang.Object com.sun.kvem.jsr082.bluetooth.ServiceRecordImpl
ServiceRecordImpl | final public class ServiceRecordImpl implements ServiceRecord(Code) | | Service record implementation.
|
NAME_ATTR_ID | final public static int NAME_ATTR_ID(Code) | | Name attribute id.
|
PROTOCOL_DESCRIPTOR_LIST | final public static int PROTOCOL_DESCRIPTOR_LIST(Code) | | ProtocolDescriptorList attribute ID.
|
RETRIEVABLE_MAX | final static int RETRIEVABLE_MAX(Code) | | Maxumum quantity of attributes in one request
|
SERVICE_CLASS_ATTR_ID | final public static int SERVICE_CLASS_ATTR_ID(Code) | | Service class attribute id.
|
SERVICE_RECORD_HANDLE | final public static int SERVICE_RECORD_HANDLE(Code) | | ServiceRecordHandle attribute ID.
|
TRANS_MAX | final static int TRANS_MAX(Code) | | Maximum number of concurrent service searches that can
exist at any one time.
|
ServiceRecordImpl | protected ServiceRecordImpl(RemoteDevice device, int[] attrIDs, DataElement[] attrValues)(Code) | | Creates service records on client device.
Parameters: device - server device Parameters: attrIDs - attributes IDs Parameters: attrValues - attributes values |
ServiceRecordImpl | public ServiceRecordImpl(BluetoothNotifier notifier, int[] attrIDs, DataElement[] attrValues)(Code) | | Creates service records for the given notifier.
Parameters: notifier - notifier to be associated with this service record Parameters: attrIDs - attributes IDs Parameters: attrValues - attributes values |
copy | public synchronized ServiceRecordImpl copy()(Code) | | Creates a copy of this record. The copy recieves new instances of
attributes values which are of types DataElement.DATSEQ
or DataElement.DATALT (the only data element types that
can be modified after creation).
new instance, a copy of this one. |
getAttributeIDs | public synchronized int[] getAttributeIDs()(Code) | | |
getConnectionURL | public synchronized String getConnectionURL(int requiredSecurity, boolean mustBeMaster)(Code) | | |
getDeviceServiceClasses | public int getDeviceServiceClasses()(Code) | | Retrieve service classes bits provided by corresponing service
at local device.
an integer that keeps the service classes bits |
getHandle | public int getHandle()(Code) | | Returns service record handle.
service record handle, or 0 if the record is not in SDDB. |
getNotifier | public BluetoothNotifier getNotifier()(Code) | | Returns notifier that has created this record.
corresponding notifier. |
populateRecord | public synchronized boolean populateRecord(int[] attrIDs) throws IOException(Code) | | |
setAttributeValue | public synchronized boolean setAttributeValue(int attrID, DataElement attrValue)(Code) | | |
setDeviceServiceClasses | public synchronized void setDeviceServiceClasses(int classes)(Code) | | |
setHandle | public void setHandle(int handle)(Code) | | Sets service record handle.
Parameters: handle - new service record handle value |
|
|