9#include "open62541pp/config.hpp"
17namespace opcua::detail {
19enum class ClientState {
25inline constexpr size_t clientStateCount = 4;
31 ExceptionCatcher exceptionCatcher;
32 std::atomic<bool> running{
false};
34#if UAPP_OPEN62541_VER_LE(1, 0)
35 UA_ClientState lastClientState{};
40 std::array<std::function<void()>, clientStateCount> stateCallbacks;
41 std::function<void()> inactivityCallback;
43#ifdef UA_ENABLE_SUBSCRIPTIONS
46 using SubMonId = std::pair<SubId, MonId>;
47 ContextMap<SubId, services::detail::SubscriptionContext> subscriptions;
48 ContextMap<SubMonId, services::detail::MonitoredItemContext> monitoredItems;
49 std::function<void(
IntegerId)> subscriptionInactivityCallback;
uint32_t IntegerId
IntegerId.