public class TCPMessage
extends java.lang.Object
Constructor and Description |
---|
TCPMessage(java.nio.ByteBuffer buffer,
int e,
int l) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getByteBuffer() |
int |
getLength() |
TCPStatus |
getStatus() |
boolean |
isComplete() |
boolean |
isError() |
void |
setComplete() |
void |
setError() |
void |
setStatus(TCPStatus status) |
public TCPStatus getStatus()
public java.nio.ByteBuffer getByteBuffer()
public void setStatus(TCPStatus status)
public void setComplete()
public void setError()
public boolean isComplete()
public boolean isError()
public int getLength()