public class SetClientId extends RequestPacket
| Constructor and Description |
|---|
SetClientId()
Create a SET_CLIENT_ID packet with a random ID
|
SetClientId(byte[] pktdata) |
SetClientId(String clientId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId() |
int |
getPayloadSize() |
byte[] |
toByteArray() |
getMagicconcatByteArrays, getHeader, getSize, getType, parseString, stringsToTerminatedByteArray, stringsToTerminatedByteArray, toStringpublic SetClientId()
public SetClientId(String clientId)
public SetClientId(byte[] pktdata)
public String getClientId()
public byte[] toByteArray()
toByteArray in class Packetpublic int getPayloadSize()
getPayloadSize in class PacketCopyright © 2013. All Rights Reserved.