| | |
| | | |
| | | typedef uint64_t MQId; |
| | | |
| | | const MQId kBHNodeInit = 10; |
| | | const MQId kBHDefaultSender = 99; |
| | | const MQId kBHTopicCenter = 100; |
| | | const MQId kBHTopicBus = 101; |
| | | const MQId kBHUniCenter = 102; |
| | | inline const MQId BHInitAddress() { return kBHNodeInit; } |
| | | inline const MQId BHGlobalSenderAddress() { return kBHDefaultSender; } |
| | | inline const MQId BHTopicCenterAddress() { return kBHTopicCenter; } |
| | | inline const MQId BHTopicBusAddress() { return kBHTopicBus; } |
| | | inline const MQId BHUniCenterAddress() { return kBHUniCenter; } |
| | | |
| | | int64_t CalcAllocIndex(int64_t size); |
| | | int64_t GetAllocSize(int index); |
| | | |
| | | const int kBHCenterPort = 24287; |
| | | const char kTopicSep = '.'; |