Interface IServerAdmin
-
public interface IServerAdmin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerDatagetServerData()booleanrestart()Forcefully restart this WSAS instancebooleanrestartGracefully()Gracefully restart this WSAS instance.booleanshutdown()Forcefully shutdown this WSAS instancebooleanshutdownGracefully()Gracefully shutdown this WSAS instance All client connections will be served before shutting down the server
-
-
-
Method Detail
-
restart
boolean restart() throws ExceptionForcefully restart this WSAS instance- Returns:
- true - If successful, false otherwise
- Throws:
Exception- If an error occurs while restarting
-
shutdown
boolean shutdown() throws ExceptionForcefully shutdown this WSAS instance- Returns:
- true - If successful, false otherwise
- Throws:
Exception- If an error occurs while shutting down
-
restartGracefully
boolean restartGracefully() throws ExceptionGracefully restart this WSAS instance. All client connections will be served before restarting the server- Returns:
- true - If successful, false otherwise
- Throws:
Exception- If an error occurs while restarting
-
shutdownGracefully
boolean shutdownGracefully() throws ExceptionGracefully shutdown this WSAS instance All client connections will be served before shutting down the server- Returns:
- true - If successful, false otherwise
- Throws:
Exception- If an error occurs while shutting down
-
getServerData
ServerData getServerData() throws Exception
- Throws:
Exception
-
-