NettyServerCommandEnum.h 624 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include <iostream>
  3. using namespace std;
  4. class NettyServerCommandEnum
  5. {
  6. private:
  7. /* data */
  8. public:
  9. NettyServerCommandEnum(){};
  10. ~NettyServerCommandEnum(){};
  11. // 服务端下发到客户端-心跳
  12. string heartbeat = "heartbeat";
  13. // 服务端下发到客户端-客户端连接服务端成功后发送的消息
  14. string client_conn_success = "client_conn_success";
  15. // 服务端下发到客户端-给驱鸟设备下发指令
  16. string device_send_command = "device_send_command";
  17. // 服务端响应到客户端-结果信息数据
  18. string api_result = "api_result";
  19. };