/// <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)); }
public SendCmdWrapper() { SendCmdWrapper.IncInstanceCount(); }
public void addSendCmdWrapper(SendCmdWrapper wrapper) { }
public void Release() { SendCmdWrapper.DecInstanceCount(); }