open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
UA_Subscription Struct Reference

#include <ua_subscription.h>

Public Member Functions

 LIST_ENTRY (UA_Subscription) serverListEntry
 
 TAILQ_ENTRY (UA_Subscription) sessionListEntry
 
 LIST_HEAD (, UA_MonitoredItem) monitoredItems
 
 LIST_HEAD (, UA_MonitoredItem) samplingMonitoredItems
 
 TAILQ_HEAD (, UA_Notification) notificationQueue
 

Data Fields

UA_TimerEntry delayedFreePointers
 
UA_Sessionsession
 
UA_UInt32 subscriptionId
 
UA_UInt32 lifeTimeCount
 
UA_UInt32 maxKeepAliveCount
 
UA_Double publishingInterval
 
UA_UInt32 notificationsPerPublish
 
UA_Boolean publishingEnabled
 
UA_Byte priority
 
UA_SubscriptionState state
 
UA_StatusCode statusChange
 
UA_UInt32 nextSequenceNumber
 
UA_UInt32 currentKeepAliveCount
 
UA_UInt32 currentLifetimeCount
 
UA_UInt64 publishCallbackId
 
UA_UInt32 lastMonitoredItemId
 
UA_UInt32 monitoredItemsSize
 
UA_UInt32 notificationQueueSize
 
UA_UInt32 dataChangeNotifications
 
UA_UInt32 eventNotifications
 
NotificationMessageQueue retransmissionQueue
 
size_t retransmissionQueueSize
 

Detailed Description

Subscriptions are managed in a server-wide linked list.

If they are attached to a Session, then they are additionaly in the per-Session linked-list. A subscription is always generated for a Session. But the CloseSession Service may keep Subscriptions intact beyond the Session lifetime. They can then be re-bound to a new Session with the TransferSubscription Service.

Definition at line 258 of file ua_subscription.h.

Member Function Documentation

◆ LIST_ENTRY()

UA_Subscription::LIST_ENTRY ( UA_Subscription )

◆ TAILQ_ENTRY()

UA_Subscription::TAILQ_ENTRY ( UA_Subscription )

◆ LIST_HEAD() [1/2]

UA_Subscription::LIST_HEAD ( UA_MonitoredItem )

◆ LIST_HEAD() [2/2]

UA_Subscription::LIST_HEAD ( UA_MonitoredItem )

◆ TAILQ_HEAD()

UA_Subscription::TAILQ_HEAD ( UA_Notification )

Field Documentation

◆ delayedFreePointers

UA_TimerEntry UA_Subscription::delayedFreePointers

Definition at line 259 of file ua_subscription.h.

◆ session

UA_Session* UA_Subscription::session

Definition at line 264 of file ua_subscription.h.

◆ subscriptionId

UA_UInt32 UA_Subscription::subscriptionId

Definition at line 265 of file ua_subscription.h.

◆ lifeTimeCount

UA_UInt32 UA_Subscription::lifeTimeCount

Definition at line 268 of file ua_subscription.h.

◆ maxKeepAliveCount

UA_UInt32 UA_Subscription::maxKeepAliveCount

Definition at line 269 of file ua_subscription.h.

◆ publishingInterval

UA_Double UA_Subscription::publishingInterval

Definition at line 270 of file ua_subscription.h.

◆ notificationsPerPublish

UA_UInt32 UA_Subscription::notificationsPerPublish

Definition at line 271 of file ua_subscription.h.

◆ publishingEnabled

UA_Boolean UA_Subscription::publishingEnabled

Definition at line 272 of file ua_subscription.h.

◆ priority

UA_Byte UA_Subscription::priority

Definition at line 273 of file ua_subscription.h.

◆ state

UA_SubscriptionState UA_Subscription::state

Definition at line 276 of file ua_subscription.h.

◆ statusChange

UA_StatusCode UA_Subscription::statusChange

Definition at line 277 of file ua_subscription.h.

◆ nextSequenceNumber

UA_UInt32 UA_Subscription::nextSequenceNumber

Definition at line 280 of file ua_subscription.h.

◆ currentKeepAliveCount

UA_UInt32 UA_Subscription::currentKeepAliveCount

Definition at line 281 of file ua_subscription.h.

◆ currentLifetimeCount

UA_UInt32 UA_Subscription::currentLifetimeCount

Definition at line 282 of file ua_subscription.h.

◆ publishCallbackId

UA_UInt64 UA_Subscription::publishCallbackId

Definition at line 285 of file ua_subscription.h.

◆ lastMonitoredItemId

UA_UInt32 UA_Subscription::lastMonitoredItemId

Definition at line 288 of file ua_subscription.h.

◆ monitoredItemsSize

UA_UInt32 UA_Subscription::monitoredItemsSize

Definition at line 290 of file ua_subscription.h.

◆ notificationQueueSize

UA_UInt32 UA_Subscription::notificationQueueSize

Definition at line 298 of file ua_subscription.h.

◆ dataChangeNotifications

UA_UInt32 UA_Subscription::dataChangeNotifications

Definition at line 299 of file ua_subscription.h.

◆ eventNotifications

UA_UInt32 UA_Subscription::eventNotifications

Definition at line 300 of file ua_subscription.h.

◆ retransmissionQueue

NotificationMessageQueue UA_Subscription::retransmissionQueue

Definition at line 303 of file ua_subscription.h.

◆ retransmissionQueueSize

size_t UA_Subscription::retransmissionQueueSize

Definition at line 304 of file ua_subscription.h.


The documentation for this struct was generated from the following file: