|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.borg.control.Borg
public class Borg
The Main Class of Borg. It's responsible for starting up the model and spawning various threads, including the main UI thread and various timer threads. It also handles shutdown.
Method Summary | |
---|---|
static Borg |
getReference()
Gets the singleton. |
static void |
main(String[] args)
The main method. |
String |
processMessage(String msg)
process a socket message |
static void |
shutdown()
close db connections and end the program |
static void |
syncDBs()
Sync dbs - mainly clears caches. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Borg getReference()
public static void main(String[] args)
args
- the argumentspublic static void shutdown()
public static void syncDBs() throws Exception
Exception
- the exceptionpublic String processMessage(String msg)
processMessage
in interface SocketHandler
msg
- the msg
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |