open62541pp 0.16.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::services::SubscriptionParameters Struct Reference

#include <subscription.hpp>

Detailed Description

Subscription parameters with default values from open62541.

Examples
client_async.cpp, and client_subscription.cpp.

Definition at line 46 of file subscription.hpp.

Public Attributes

double publishingInterval = 500.0
 
uint32_t lifetimeCount = 10000
 
uint32_t maxKeepAliveCount = 10
 
uint32_t maxNotificationsPerPublish = 0
 
uint8_t priority = 0
 

Member Data Documentation

◆ publishingInterval

double opcua::services::SubscriptionParameters::publishingInterval = 500.0

Cyclic interval in milliseconds that the subscription is requested to return notifications.

Examples
client_subscription.cpp.

Definition at line 48 of file subscription.hpp.

◆ lifetimeCount

uint32_t opcua::services::SubscriptionParameters::lifetimeCount = 10000

Delete the subscription after defined publishing cycles without sending any notifications.

Definition at line 50 of file subscription.hpp.

◆ maxKeepAliveCount

uint32_t opcua::services::SubscriptionParameters::maxKeepAliveCount = 10

Send keep-alive message after defined publishing cycles without notifications.

Definition at line 52 of file subscription.hpp.

◆ maxNotificationsPerPublish

uint32_t opcua::services::SubscriptionParameters::maxNotificationsPerPublish = 0

The maximum number of notifications per publish (0 if unlimited).

Definition at line 54 of file subscription.hpp.

◆ priority

uint8_t opcua::services::SubscriptionParameters::priority = 0

Relative priority of the subscription. Notifications with higher priority are sent first.

Definition at line 56 of file subscription.hpp.