Example #1
0
        public virtual void TestClientStop()
        {
            Configuration conf   = new Configuration();
            AHSClient     client = AHSClient.CreateAHSClient();

            client.Init(conf);
            client.Start();
            client.Stop();
        }
Example #2
0
 /// <exception cref="System.Exception"/>
 protected override void ServiceStop()
 {
     if (this.rmClient != null)
     {
         RPC.StopProxy(this.rmClient);
     }
     if (historyServiceEnabled)
     {
         historyClient.Stop();
     }
     if (timelineServiceEnabled)
     {
         timelineClient.Stop();
     }
     base.ServiceStop();
 }