Class CommReceiveGameStatus

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--CommReceiveStub
              |
              +--CommReceiveGameStatus
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
CommReceiveGameStatus2

public class CommReceiveGameStatus
extends CommReceiveStub

The class CommReceiveGameStatus is the abstract for receiving GameStatus objects

Since:
1.0
Version:
$Revision: 1.4 $
Author:
Hans Dollen, Wim Fikkert

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CommReceiveGameStatus(CommAdmin oCommAdmin, int iTeam, int iRobotId)
          This Constructor constructs an CommReceiveGameStatus object to receive GameStatuss
 
Method Summary
 boolean setGameStatus(CommGameStatus oGameStatus)
          This will be called when a new CommGameStatus has been received
 java.lang.String toString()
          This method return a String which contains information about the CommReceiveGameStatus object
 
Methods inherited from class CommReceiveStub
destroyThread, run, setOdometrics, setSensor, setSnapShot, setWheel, threadStarted
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommReceiveGameStatus

public CommReceiveGameStatus(CommAdmin oCommAdmin,
                             int iTeam,
                             int iRobotId)
This Constructor constructs an CommReceiveGameStatus object to receive GameStatuss

Parameters:
oCommAdmin - The CommAdmin object which creates this object
Since:
1.0
Method Detail

setGameStatus

public boolean setGameStatus(CommGameStatus oGameStatus)
This will be called when a new CommGameStatus has been received

Overrides:
setGameStatus in class CommReceiveStub
Parameters:
oGameStatus - The received CommGameStatus object
Returns:
void
Since:
1.0
See Also:
setGameStatus(CommGameStatus)

toString

public final java.lang.String toString()
This method return a String which contains information about the CommReceiveGameStatus object

Overrides:
toString in class CommReceiveStub
Returns:
String
Since:
1.0