sk.robotics.rlcs
Class Main

java.lang.Object
  extended by sk.robotics.rlcs.agentspace.Agent
      extended by sk.robotics.rlcs.Main
All Implemented Interfaces:
java.lang.Runnable

public class Main
extends Agent

RLCS appilcation entry point. This class extends Agent, just to reuse its logging methods.

Command line parameters (all optional):
-c initial-scheduler-cfg
-p tcp-listening-port
-s security-cfg
-l preload-classes-cfg


Nested Class Summary
static class Main.ClientHandler
          Class for client-connection-handler threads.
static class Main.ShutdownHook
          Class for shutdown-hook threads.
 
Nested classes/interfaces inherited from class sk.robotics.rlcs.agentspace.Agent
Agent.AgentThread, Agent.Cfg, Agent.Hidden, Agent.ThreadCreator, Agent.WorkerThreadGroup
 
Field Summary
 
Fields inherited from class sk.robotics.rlcs.agentspace.Agent
logTimeFormat, space, thread, workerThreads
 
Constructor Summary
Main()
           
 
Method Summary
static java.lang.Thread getMainThread()
          Get the main thread.
static java.lang.ThreadGroup getSystemThreadGroup()
          Get the system thread group.
static void main(java.lang.String[] args)
          Program entry point.
 
Methods inherited from class sk.robotics.rlcs.agentspace.Agent
cleanup, exit, getConfig, getIdleTime, getWorkerThreadGroup, isAlive, kill, log, log, log, log, log, run, senseSelectAct, 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

Main

public Main()
Method Detail

getMainThread

public static java.lang.Thread getMainThread()
Get the main thread.


getSystemThreadGroup

public static java.lang.ThreadGroup getSystemThreadGroup()
Get the system thread group.


main

public static void main(java.lang.String[] args)
Program entry point.