ist.palcom.base.networking
Class BluetoothPacket
java.lang.Object
ist.palcom.base.networking.BluetoothPacket
public class BluetoothPacket
- extends java.lang.Object
This class implements core.BluetoothPacket
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BluetoothPacket
public BluetoothPacket(byte[] data,
java.lang.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 java.lang.String getReceiverHost()
setReceiverHost
public void setReceiverHost(java.lang.String address)
toByteRepresentation
public byte[] toByteRepresentation()
fromByteRepresentation
public void fromByteRepresentation(byte[] byteArray)
getLength
public int getLength()
setLength
public void setLength(int length)
getSenderHost
public java.lang.String getSenderHost()
setSenderHost
public void setSenderHost(java.lang.String senderHost)