Added initial version

This commit is contained in:
Ceikry 2021-03-07 20:37:32 -06:00
commit c86870d0b0
14218 changed files with 1285207 additions and 0 deletions

View file

@ -0,0 +1,27 @@
package ms.system;
import ms.Management;
/**
* The shutdown sequence used for safely turning off the Management server.
* @author Emperor
*
*/
public final class ShutdownSequence extends Thread {
@Override
public void run() {
if (Management.active) {
shutdown();
}
}
/**
* Safely shuts down the Management server.
*/
public static void shutdown() {
System.out.println("Management server successfully shut down!");
Management.active = false;
}
}