|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--Test.TestAgent
User: hf Date: 21.09.2003 Time: 14:55:48
Field Summary | |
static int |
MOVE_EAST
|
static int |
MOVE_NORTH
|
static int |
MOVE_SOUTH
|
static int |
MOVE_WEST
|
static int |
NO_MOVE
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
TestAgent(int id,
TestServer server)
|
Method Summary | |
int |
calculateMove()
|
int |
getId()
|
void |
run()
|
void |
sendMove(int moveorder)
|
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, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int NO_MOVE
public static final int MOVE_NORTH
public static final int MOVE_WEST
public static final int MOVE_SOUTH
public static final int MOVE_EAST
Constructor Detail |
public TestAgent(int id, TestServer server)
Method Detail |
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public int calculateMove()
public void sendMove(int moveorder)
public int getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |