中间件底层,websocket

OpSetChannelVar.h 679B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include "operation.h"
  3. class COpSetChannelVar :public COperation
  4. {
  5. public:
  6. COpSetChannelVar(COperationReactor* pParent, LONG Instance);
  7. virtual ~COpSetChannelVar(void);
  8. virtual LINE_OP type(void) const { return LINE_OP_SET_CHANNEL_VARIABLE; }
  9. // 关联操作
  10. virtual bool attachHostChan(CVirtualChan* pChan); // 设置主控通道的关联
  11. virtual void detachHostChan(void); // 取消通道关联
  12. virtual bool start(LineOpParam* pParam);
  13. // 事件响应接口
  14. virtual void onBackgroudJobDone(PBG_JOB_NOTIFY pNotify); // 后台命令执行结束事件处理
  15. protected:
  16. virtual void _end(bool IsSucceed); // 操作完成(注:此操作之后只能调用 return 语句)
  17. CString m_MeetingId;
  18. };