| java.lang.Object com.sun.kvem.jsr082.bluetooth.ServiceRecordSerializer
ServiceRecordSerializer | public class ServiceRecordSerializer (Code) | | Serializes ServiceRecord objects.
|
Method Summary | |
public static synchronized ServiceRecordImpl | restore(BluetoothNotifier notifier, byte[] data) Restores previously serialized service record. | public static synchronized byte[] | serialize(ServiceRecord record) Serializes given service record - creates an array of bytes representing
data elements as described in Bluetooth Specification Version 1.2,
vol 3, page 127. |
restore | public static synchronized ServiceRecordImpl restore(BluetoothNotifier notifier, byte[] data)(Code) | | Restores previously serialized service record.
Parameters: notifier - notifier object the newly created recordto be associated with Parameters: data - serialized service record data restored service record |
serialize | public static synchronized byte[] serialize(ServiceRecord record)(Code) | | Serializes given service record - creates an array of bytes representing
data elements as described in Bluetooth Specification Version 1.2,
vol 3, page 127.
Parameters: record - the service record to serialize an array containing the serialized record |
|
|