|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.utils.agents.DefaultController
public class DefaultController
Titre : Madkit 3.0 dev projet Description : Madkit project (C) 1998-2001 Madkit Team Copyright : Copyright (c) 2001-2002
Field Summary | |
---|---|
protected AbstractAgent |
thisAgent
|
Constructor Summary | |
---|---|
DefaultController(AbstractAgent _ag)
|
Method Summary | |
---|---|
void |
activate()
The activate method which takes precedence over the activate method defined in the agent. |
void |
doIt()
The invocation method sent by the scheduler. |
void |
end()
The end method which takes precedence over the end method defined in the agent. |
void |
live()
The live method which describes the overall behavior of a ("asynchronous") agent. |
AbstractAgent |
thisAgent()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AbstractAgent thisAgent
Constructor Detail |
---|
public DefaultController(AbstractAgent _ag)
Method Detail |
---|
public AbstractAgent thisAgent()
thisAgent
in interface Controller
public void activate()
Controller
activate
in interface Controller
public void live()
Controller
Warning: This method takes precedence over the agent's live method. The agent's live method does not work when a controller is "plugged" into an agent..
live
in interface Controller
public void doIt()
Controller
doIt
in interface Controller
public void end()
Controller
end
in interface Controller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |