lichao
2021-04-16 c6964d5af25d4ec7ed9dbe7674dc4e3896b36ead
src/defs.h
@@ -25,9 +25,9 @@
typedef boost::uuids::uuid MQId;
const MQId kBHTopicBus = boost::uuids::string_generator()("01234567-89ab-cdef-8349-1234567890ff");
const MQId kBHTopicReqRepCenter = boost::uuids::string_generator()("12345670-89ab-cdef-8349-1234567890ff");
const MQId kBHUniCenter = boost::uuids::string_generator()("87654321-89ab-cdef-8349-1234567890ff");
const MQId &BHTopicBusAddress();
const MQId &BHTopicCenterAddress();
const MQId &BHUniCenterAddress();
const int kBHCenterPort = 24287;
const char kTopicSep = '.';
@@ -38,7 +38,8 @@
bhome_shm::SharedMemory &BHomeShm();
typedef std::string Topic;
void SetLastError(const int ec, const std::string &msg);
void GetLastError(int &ec, std::string &msg);
//TODO center can check shm for previous crash.
#endif // end of include guard: DEFS_KP8LKGD0