public class CommandData.Body extends CommandData.Header
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.ByteBuffer |
contents |
protected java.lang.Byte |
type |
LENGTH_SIZE| Constructor and Description |
|---|
Body() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(byte nextByte) |
byte[] |
getContents() |
java.lang.Byte |
getType() |
boolean |
isCompleted() |
void |
resetFor(int length) |
getLength, resetpublic void append(byte nextByte)
append in class CommandData.Headerpublic boolean isCompleted()
isCompleted in class CommandData.Headerpublic void resetFor(int length)
public java.lang.Byte getType()
public byte[] getContents()