Beispiel #1
0
 /// <summary>
 /// Gets the task engine.
 /// </summary>
 /// <param name="paraEngineIdleSecs">The para engine idle secs.</param>
 /// <returns></returns>
 public static ITaskWorkerEngine GetTaskEngine(int paraEngineIdleSecs)
 {
     if (_Engine == null)
     {
         _Engine = new TaskWorkerEngine(paraEngineIdleSecs);
     }
     return _Engine;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="paraList"></param>
 /// <param name="paraEngine"></param>
 /// <param name="paraBllLogic"></param>
 public SocketService(ITaskWorkerEngine paraEngine, IBLLLogic paraBllLogic)
 {
     _Engine = paraEngine;
     _IBLLLogic = paraBllLogic;
 }