tcp_util.h 929 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * tcp_util.h
  3. *
  4. * Created on: 2024年7月18日
  5. * Author: m
  6. */
  7. #ifndef JNI_NET_TCP_UTIL_H_
  8. #define JNI_NET_TCP_UTIL_H_
  9. void sendNursing();
  10. void sendNursingEnd();
  11. void sendReinforceCall();
  12. std::string sendVoiceCall(Json::Value json, std::string tid);
  13. std::string sendVoiceCall(Json::Value json);
  14. std::string sendVoiceCall(int toId);
  15. void sendVoiceTcp(std::string action, TcpModel model, int toId);
  16. void sendVoiceCancel(int toId);
  17. void sendVoiceCancelByDoor();
  18. void sendSosCall(std::string sosMsg);
  19. void sendSosCancel(std::string sosId);
  20. void sendSosRoomCall();
  21. void sendPowerReset();
  22. void sendEventClick(Json::Value json);
  23. void sendEventCompleted(std::string event);
  24. void sendEventCancel(std::string event);
  25. void sendConutdownStart(Json::Value json);
  26. void sendCountdownEnd(std::string id);
  27. void sendCountdownCancel(std::string id);
  28. void sendDataRemindOhter(std::string msg);
  29. #endif /* JNI_NET_TCP_UTIL_H_ */