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