org.siebengeisslein
Class Server
java.lang.Object
org.siebengeisslein.Server
- All Implemented Interfaces:
- ConnectionBuilder
public class Server
- extends java.lang.Object
- implements ConnectionBuilder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Server
public Server(Config config,
boolean create)
throws java.lang.Exception
- Throws:
java.lang.Exception
Server
public Server(Config config,
boolean create,
boolean setupLogging)
throws java.lang.Exception
- Throws:
java.lang.Exception
exists
public static boolean exists(Config config)
buildConnection
public LocalConnection buildConnection(ServerCallback callback)
throws CoreException
- Specified by:
buildConnection in interface ConnectionBuilder
- Throws:
CoreException
shutDown
public void shutDown()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
shutDownServer
public static void shutDownServer()
throws java.lang.InterruptedException,
java.io.IOException
- Throws:
java.lang.InterruptedException
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
getConfig
public Config getConfig()