|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--simulator.Agent
This is an empty class used only to documentate how a agent may work with the other classes. You must insert this code in your class:
processesQueue
tile of
Server
(that is the agentQueue
of
ServerAmbient/GenericServerAmbient
) that is
necessary for a correct use of comunication (so an identifier
progressive number and the name of robot must be present to use the
tile correctly).
This constructor may finish with this instruction:
setPriority(MAX_PRIORITY)
start()
run
method that execute a loop until the goal was
achieved when the agents read the information he need from
ServerAmbient
using the processesQueue
tile
and set the new information about itself calculated with your behavior
based strategy.
ServerAmbient
,
Server.processesQueue
Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
Constructor Summary | |
(package private) |
Agent()
|
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
Agent()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |