ist.palcom.base
Class BluetoothPacket
java.lang.Object
ist.palcom.base.BluetoothPacket
public class BluetoothPacket
- extends Object
This class implements core.BluetoothPacket
BluetoothPacket
public BluetoothPacket(byte[] data,
String host)
- Parameters:
data - - the data in the packagehost - - address of the receiving host
BluetoothPacket
public BluetoothPacket()
getData
public byte[] getData()
getDataLength
public int getDataLength()
getReceiverHost
public String getReceiverHost()
setReceiverHost
public void setReceiverHost(String address)
toByteRepresentation
public byte[] toByteRepresentation()
fromByteRepresentation
public void fromByteRepresentation(byte[] byteArray)
getLength
public int getLength()
setLength
public void setLength(int length)
getSenderHost
public String getSenderHost()
setSenderHost
public void setSenderHost(String senderHost)