Beispiel #1
0
        protected override void OnStart(string[] args)
        {
            Debug.Assert(this.serverThread == null);

            var cs = new ServiceBusWorker();

            this.serverThread = new Thread(cs.Start);
            this.serverThread.Start();
        }
Beispiel #2
0
        private ServiceBusWorker StartApplicationServer()
        {
            LoggerProvider.EnvironmentLogger.Info("Starting application server...");

            var rpcHostWorker = new ServiceBusWorker();

            rpcHostWorker.Start();

            Console.WriteLine("Application server is started.");
            return(rpcHostWorker);
        }