lichao
2021-04-30 95bd9a67f9f6c90f627784e3f8fbf5c203784e51
box/center.h
@@ -30,11 +30,9 @@
public:
   typedef Socket::PartialRecvCB MsgHandler;
   typedef Socket::IdleCB IdleHandler;
   static bool Install(const std::string &name, MsgHandler handler, IdleHandler idle, const std::string &mqid, const int mq_len);
   static bool Install(const std::string &name, MsgHandler handler, IdleHandler idle, const MQId &mqid, const int mq_len);
   static bool Install(const std::string &name, MsgHandler handler, IdleHandler idle, const MQId mqid, const int mq_len);
   BHCenter(Socket::Shm &shm);
   BHCenter();
   ~BHCenter() { Stop(); }
   bool Start();
   bool Stop();
@@ -44,7 +42,7 @@
      std::string name_;
      MsgHandler handler_;
      IdleHandler idle_;
      std::string mqid_;
      MQId mqid_;
      int mq_len_ = 0;
   };
   typedef std::map<std::string, CenterInfo> CenterRecords;