protected override void OnStop() { // Stop the Server. Release it. server.StopServer(); server = null; }
protected override void OnStart(string[] args) { // Create the Server Object ans Start it. server = new MessageExchangeServer(); server.StartServer(); }