|
||||||||||
| 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 | |
|---|---|
protected URL |
getJarURL()
Constructs a URL expression for the location to this current class, where it lives in the jar file. |
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 |
void |
update(Observable o,
Object arg)
|
| 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 String processMessage(String msg)
processMessage in interface SocketHandlermsg - the msg
protected URL getJarURL()
throws MalformedURLException
MalformedURLException
public void update(Observable o,
Object arg)
update in interface Observer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||