protected override void OnStop() { logger.Log(2, "Service stopping."); TcpGatewayServiceMain.Stop(); }
protected override void OnStart(string[] args) { logger.Log(2, "Service starting."); TcpGatewayServiceMain.Start(); }