17 #ifndef KAATCPRESPONSEPROCESSOR_HPP_
18 #define KAATCPRESPONSEPROCESSOR_HPP_
47 std::function<void (const ConnackMessage&)> onConnack_;
48 std::function<void (const KaaSyncResponse&)> onKaaSyncResponse_;
49 std::function<void (const DisconnectMessage&)> onDisconnect_;
50 std::function<void ()> onPingResp_;
void registerDisconnectReceiver(std::function< void(const DisconnectMessage &)> onDisconnect)
void processResponseBuffer(const char *buf, std::uint32_t size)
void registerKaaSyncReceiver(std::function< void(const KaaSyncResponse &)> onKaaSync)
void registerPingResponseReceiver(std::function< void()> onPing)
~KaaTcpResponseProcessor()
KaaTcpResponseProcessor(IKaaClientContext &context)
void registerConnackReceiver(std::function< void(const ConnackMessage &)> onConnack)