* XMLData.Save now has exception handling code in-place.

* Added better commenting to the majority of the projects files.
* Removed command support from the server console.
* Added a Client side command STOP that can be used to shut down the server.  In the future that will be specific to Admins only.
* Characters now have their save code invoked during server shut down.
* Server shut down code added.  Server.Stop() fully implemented.
This commit is contained in:
Scionwest_cp 2012-03-03 13:24:35 -08:00
parent b5c9f2967a
commit f0ec29c240
8 changed files with 148 additions and 14 deletions

View file

@ -79,6 +79,15 @@ namespace MudEngine.Networking
public void Stop()
{
this.ConnectionManager.DisconnectAll();
this._ServerThread.Abort();
this._Server.Close();
this._Server = null;
this.Enabled = false;
this.Status = ServerStatus.Stopped;
}
private void ServerLoop()