public class ServerMain extends Object
| Constructor and Description |
|---|
ServerMain() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getCurrentTcpPort() |
static void |
main(String[] args) |
static void |
resetServer()
Clears the internal server memory (like a restart) but without a actual restart
|
static void |
shutDown()
Shuts the server down
|
static void |
startServer(int tcpPort) |
public static void main(String[] args) throws IOException
IOExceptionpublic static void startServer(int tcpPort)
throws IOException
IOExceptionpublic static void shutDown()
public static void resetServer()
public static int getCurrentTcpPort()
Copyright © 2016–2017 Frederik Kammel. All rights reserved.