31class CC_API MsgSendMgr
34 typedef Protocol::MessagesList MessagesList;
35 typedef std::function<void (MessagesList&&)> SendMsgsCallbackFunc;
36 typedef std::function<void ()> SendCompleteCallbackFunc;
39 ~MsgSendMgr() noexcept;
41 void setSendMsgsCallbackFunc(SendMsgsCallbackFunc&& func);
42 void setSendCompeteCallbackFunc(SendCompleteCallbackFunc&& func);
44 void start(ProtocolPtr protocol, const MessagesList& msgs);
49 std::unique_ptr<MsgSendMgrImpl> m_impl;