Interface IServerAdmin
public interface IServerAdmin
-
Method Summary
Modifier and TypeMethodDescriptionbooleanrestart()Forcefully restart this WSAS instancebooleanGracefully restart this WSAS instance.booleanshutdown()Forcefully shutdown this WSAS instancebooleanGracefully shutdown this WSAS instance All client connections will be served before shutting down the server
-
Method Details
-
restart
Forcefully restart this WSAS instance- Returns:
- true - If successful, false otherwise
- Throws:
Exception- If an error occurs while restarting
-
shutdown
Forcefully shutdown this WSAS instance- Returns:
- true - If successful, false otherwise
- Throws:
Exception- If an error occurs while shutting down
-
restartGracefully
Gracefully 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
Gracefully 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
- Throws:
Exception
-