예제 #1
0
        /// <summary>
        /// 指令异步执行处理器
        /// </summary>
        //public ScheduleExecutor taskExecutor = null;

        /// <summary>
        /// 加入到发送指令队列
        /// </summary>
        /// <param name="wrapper"></param>
        public void addSendCmdWrapper(SendCmdWrapper wrapper)
        {
            //TCPSession session = null;
            //if (!TCPManager.getInstance().GetTCPSessions().TryGetValue(wrapper.socket, out session))
            //{
            //    return;
            //}

            //session.addSendCmdWrapper(wrapper);
            //taskExecutor.execute(new ProcessSendCmdTask(session));
        }
예제 #2
0
 public SendCmdWrapper()
 {
     SendCmdWrapper.IncInstanceCount();
 }
예제 #3
0
 public void addSendCmdWrapper(SendCmdWrapper wrapper)
 {
 }
예제 #4
0
 public void Release()
 {
     SendCmdWrapper.DecInstanceCount();
 }