|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsk.robotics.rlcs.agentspace.Agent
sk.robotics.rlcs.agents.robot.ConnectionAgent
public class ConnectionAgent
Agent for managing connection to the robot. This agent stores the robot control object in space once it establishes connection to the robot, and deletes it from there if the connection gets down. Once the Robot object is in space, all access to it by this agent is synchronized on the object itself, and so must be by other agents as well.
Nested Class Summary | |
---|---|
static class |
ConnectionAgent.Cfg
|
Nested classes/interfaces inherited from class sk.robotics.rlcs.agentspace.Agent |
---|
Agent.AgentThread, Agent.Hidden, Agent.ThreadCreator, Agent.WorkerThreadGroup |
Field Summary |
---|
Fields inherited from class sk.robotics.rlcs.agentspace.Agent |
---|
logTimeFormat, space, thread, workerThreads |
Constructor Summary | |
---|---|
ConnectionAgent(ConnectionAgent.Cfg cfg)
|
Method Summary | |
---|---|
protected void |
cleanup()
Cleanup method, called just before the agent thread finishes. |
protected void |
senseSelectAct()
|
Methods inherited from class sk.robotics.rlcs.agentspace.Agent |
---|
exit, getConfig, getIdleTime, getWorkerThreadGroup, isAlive, kill, log, log, log, log, log, run, senseSelectAct, setLogLevel, setPeriodicTrigger, setPeriodicTrigger, sleep, start, startup, toString, trigger, trigger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionAgent(ConnectionAgent.Cfg cfg)
Method Detail |
---|
protected void senseSelectAct()
senseSelectAct
in class Agent
protected void cleanup()
Agent
cleanup
in class Agent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |