示例#1
0
        private const int STOP_EXPERT_INTERVAL = 1000; // 1 sec 
        #endregion

        #region ctor
        public MtServer(int port)
        {
            Port = port;
            mService = new MtService(this);

            mHosts = new List<ServiceHost>();

            mExecutorManager = new MtCommandExecutorManager();
            mExecutorManager.CommandExecuted += mExecutorManager_CommandExecuted;
        }
示例#2
0
        private const int STOP_EXPERT_INTERVAL = 1000;  // 1 sec
        #endregion

        #region ctor
        public MtServer(int port)
        {
            Port     = port;
            mService = new MtService(this);

            mHosts = new List <ServiceHost>();

            mExecutorManager = new MtCommandExecutorManager();
            mExecutorManager.CommandExecuted += mExecutorManager_CommandExecuted;
        }