mess
Class MessBoot
java.lang.Object
|
+--mess.MessBoot
- public class MessBoot
- extends Object
Load a Mess script from the command line. Just run this class, give
society, designation, and a list of Mess scripts (not directory, but
standard package naming, e.g. mess.scripts.debug, no clp ending)
Agents can also use this class to dump a script on some random Mess
agent. WARNING--in case of multiple Mess agents it will choose
one at random (of same society name). It will start a null desig
mess agent if it can not find another running.
example of use (inside an agent):
MessBoot mb = new MessBoot( this, "scriptplace.script" );
or
MessBoot.boot( this, "scriptplace.script." );
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MessBoot
public MessBoot(AgentAgent pop)
MessBoot
public MessBoot(AgentAgent pop,
String script)
boot
public static boolean boot(AgentAgent pop,
String script)
- Boot a script using a given agent.
boot
public boolean boot(String script)
main
public static void main(String[] args)