public class StateReceiver
extends java.lang.Object
Constructor and Description |
---|
StateReceiver(com.jme3.network.Client client,
LocalZoneIndex zoneIndex,
SharedObjectSpace space) |
Modifier and Type | Method and Description |
---|---|
protected SentState |
ackReceivedState(int messageId)
Called when we receive our own ACK back so that we can
update the baseline with our "known good" state.
|
RemoteTimeSource |
getTimeSource() |
void |
handleMessage(ObjectStateMessage msg) |
protected void |
processAcks(com.simsilica.mathd.util.IntRange[] acked) |
public StateReceiver(com.jme3.network.Client client, LocalZoneIndex zoneIndex, SharedObjectSpace space)
public RemoteTimeSource getTimeSource()
public void handleMessage(ObjectStateMessage msg)
protected void processAcks(com.simsilica.mathd.util.IntRange[] acked)
protected SentState ackReceivedState(int messageId)