コード例 #1
0
ファイル: ServerRuntime.cs プロジェクト: yaozd/Sword
        public static void Setup(int maxPoolSize, int timeoutSeconds)
        {
            pipeProcessorPool            = new PipeProcessorPool(maxPoolSize);
            offlineConnectionCleanWorker = new OfflineConnectionCleanWorker(TimeSpan.FromSeconds(timeoutSeconds));

            _setupOk = true;
        }
コード例 #2
0
ファイル: ServerRuntime.cs プロジェクト: yaozd/Sword
        public static void Setup(int maxPoolSize, int timeoutSeconds)
        {
            pipeProcessorPool = new PipeProcessorPool(maxPoolSize);
            offlineConnectionCleanWorker = new OfflineConnectionCleanWorker(TimeSpan.FromSeconds(timeoutSeconds));

            _setupOk=true;
        }