High Performance OPC UA Server SDK  1.7.1.383
uasession_session Struct Reference

Object representing a OPC UA session. More...

#include <session.h>

Data Fields

uint64_t lifetime
 Absolute session lifetime. More...
 
uint32_t session_id
 Provided to the client and used to access the diagnostics object. More...
 
uint32_t auth_token
 A unique identifier assigned by the server to the session, this is somewhat secret. More...
 
uint32_t channel_id
 ID of the secure channel which activated the session last. More...
 
unsigned char server_nonce [SESSION_NONCE_LEN]
 Current server nonce. More...
 
enum uasession_session_state session_state
 Current session state. More...
 
uint64_t last_access
 Tick count of last service call. More...
 
struct uasession_basebase
 Session base managing the session object. More...
 
struct ua_subscriptionbasesubscription_base
 Subscription base managing subscriptions for the session. More...
 
struct ua_ref refcnt
 Reference counter. More...
 
int prio
 
struct ua_user_ctx user_ctx
 Information about the user represented by this session. More...
 
struct ua_bytestring client_certificate
 The clients application instance certificate. More...
 
struct ua_string client_user_id
 ClientUserId as described in Part 5. More...
 
struct ua_string policy_id
 PolicyId used by user token to activate this session. More...
 
struct ua_string application_uri
 ApplicationUri used by the cliend during ActivateSession. More...
 

Detailed Description

Object representing a OPC UA session.

Field Documentation

◆ application_uri

struct ua_string application_uri

ApplicationUri used by the cliend during ActivateSession.

◆ auth_token

uint32_t auth_token

A unique identifier assigned by the server to the session, this is somewhat secret.

◆ base

struct uasession_base* base

Session base managing the session object.

◆ channel_id

uint32_t channel_id

ID of the secure channel which activated the session last.

◆ client_certificate

struct ua_bytestring client_certificate

The clients application instance certificate.

◆ client_user_id

struct ua_string client_user_id

ClientUserId as described in Part 5.

◆ last_access

uint64_t last_access

Tick count of last service call.

◆ lifetime

uint64_t lifetime

Absolute session lifetime.

◆ policy_id

struct ua_string policy_id

PolicyId used by user token to activate this session.

◆ refcnt

struct ua_ref refcnt

Reference counter.

◆ server_nonce

unsigned char server_nonce[SESSION_NONCE_LEN]

Current server nonce.

◆ session_id

uint32_t session_id

Provided to the client and used to access the diagnostics object.

This is the numeric identifier of a nodeid, the ns is always 1, if diagnostics are enabled, otherwise it is identical to the auth_token.

◆ session_state

enum uasession_session_state session_state

Current session state.

◆ subscription_base

struct ua_subscriptionbase* subscription_base

Subscription base managing subscriptions for the session.

◆ user_ctx

struct ua_user_ctx user_ctx

Information about the user represented by this session.


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