Add reason for stopping and extra arguments.

This commit is contained in:
md_5
2015-02-14 18:33:49 +11:00
parent 415d5860e4
commit 2055c98ebe
3 changed files with 22 additions and 2 deletions

View File

@@ -147,6 +147,13 @@ public abstract class ProxyServer
*/
public abstract void stop();
/**
* Gracefully mark this instance for shutdown.
*
* @param reason the reason for stopping. This will be shown to players.
*/
public abstract void stop(String reason);
/**
* Start this instance so that it may accept connections.
*