net.sf.juoserver.protocol
Class ClientMovementTrackerImpl

java.lang.Object
  extended by net.sf.juoserver.protocol.ClientMovementTrackerImpl
All Implemented Interfaces:
ClientMovementTracker

public class ClientMovementTrackerImpl
extends Object
implements ClientMovementTracker


Constructor Summary
ClientMovementTrackerImpl()
           
 
Method Summary
 int getExpectedSequence()
          Returns the currently expected sequence.
 void incrementExpectedSequence()
          Updates the next sequence number we expect from the client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientMovementTrackerImpl

public ClientMovementTrackerImpl()
Method Detail

getExpectedSequence

public int getExpectedSequence()
Description copied from interface: ClientMovementTracker
Returns the currently expected sequence.

Specified by:
getExpectedSequence in interface ClientMovementTracker
Returns:
the currently expected sequence

incrementExpectedSequence

public void incrementExpectedSequence()
Description copied from interface: ClientMovementTracker
Updates the next sequence number we expect from the client.

Specified by:
incrementExpectedSequence in interface ClientMovementTracker


Copyright © 2010-2012. All Rights Reserved.