| | |
| | | int num_ = 1; |
| | | }; |
| | | |
| | | BHMsg MakeQueryTopic(const std::string &topic); |
| | | BHMsg MakeRequest(const MQId &src_id, const void *data, const size_t size); |
| | | BHMsg MakeQueryTopic(const MQId &client, const std::string &topic); |
| | | BHMsg MakeQueryTopicReply(const std::string &mqid, const std::string &msgid); |
| | | BHMsg MakeRequest(const MQId &src_id, const std::string &topic, const void *data, const size_t size); |
| | | BHMsg MakeReply(const void *data, const size_t size); |
| | | BHMsg MakeReply(const std::string &src_msgid, const void *data, const size_t size); |
| | | BHMsg MakeRegister(const MQId &src_id, ProcInfo info, const std::vector<std::string> &topics); |
| | | BHMsg MakeHeartbeat(const MQId &src_id, ProcInfo info); |
| | | BHMsg MakeSub(const MQId &client, const std::vector<std::string> &topics); |
| | | BHMsg MakeUnsub(const MQId &client, const std::vector<std::string> &topics); |
| | | BHMsg MakePub(const std::string &topic, const void *data, const size_t size); |