#pragma once #include #include "DisconnectReasons.hpp" #include "MessageProperties.hpp" namespace AsyncMqttClientInternals { // user callbacks typedef std::function OnConnectUserCallback; typedef std::function OnDisconnectUserCallback; typedef std::function OnSubscribeUserCallback; typedef std::function OnUnsubscribeUserCallback; typedef std::function OnMessageUserCallback; typedef std::function OnPublishUserCallback; // internal callbacks typedef std::function OnConnAckInternalCallback; typedef std::function OnPingRespInternalCallback; typedef std::function OnSubAckInternalCallback; typedef std::function OnUnsubAckInternalCallback; typedef std::function OnMessageInternalCallback; typedef std::function OnPublishInternalCallback; typedef std::function OnPubRelInternalCallback; typedef std::function OnPubAckInternalCallback; typedef std::function OnPubRecInternalCallback; typedef std::function OnPubCompInternalCallback; } // namespace AsyncMqttClientInternals