public class ObjectStateMessage
extends com.jme3.network.AbstractMessage
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_SIZE |
Constructor and Description |
---|
ObjectStateMessage() |
ObjectStateMessage(int id,
long nanoTime,
byte[] buffer) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBuffer() |
int |
getId() |
SentState |
getState(ObjectStateProtocol protocol) |
long |
getTime() |
void |
setState(SentState state,
ObjectStateProtocol protocol) |
java.lang.String |
toString() |
public static final int HEADER_SIZE
public ObjectStateMessage()
public ObjectStateMessage(int id, long nanoTime, byte[] buffer)
public int getId()
public long getTime()
public byte[] getBuffer()
public SentState getState(ObjectStateProtocol protocol)
public void setState(SentState state, ObjectStateProtocol protocol)
public java.lang.String toString()
toString
in class java.lang.Object