Example #1
0
 private static void Start <T>(TcpRemoteServiceHost <T> service, AutoResetEvent autoReset, int count)
     where T : new()
 {
     if (count > 0)
     {
         autoReset.Set();
         service.Start(autoReset);
     }
     else
     {
         service.Start(autoReset);
     }
 }
Example #2
0
        public static void Main(string[] args)
        {
            var service = new TcpRemoteServiceHost <QueryCoordinatorServiceConnection>(args);

            service.Start();
            service.Instance.Dispose();
        }
Example #3
0
        public static void Main(string[] args)
        {
            var service = new TcpRemoteServiceHost <StateStoreConnection>(args);

            service.Start();
        }