High Performance OPC UA Server SDK  1.2.0.193
ua_serverdiagnosticssummarydatatype Struct Reference

Contains diagnostic summary information for the Server. More...

#include <serverdiagnosticssummarydatatype.h>

Data Fields

uint32_t server_view_count
 The number of server-created views in the server.
 
uint32_t current_session_count
 The number of client sessions currently established in the server.
 
uint32_t cumulated_session_count
 The cumulative number of client sessions that have been established in the server since the server was started (or restarted). More...
 
uint32_t security_rejected_session_count
 The number of client session establishment requests that were rejected due to security constraints since the server was started (or restarted).
 
uint32_t rejected_session_count
 The number of client session establishment requests that were rejected since the server was started (or restarted). More...
 
uint32_t session_timeout_count
 The number of client sessions that were closed due to timeout since the server was started (or restarted).
 
uint32_t session_abort_count
 The number of client sessions that were closed due to errors since the server was started (or restarted).
 
uint32_t current_subscription_count
 The number of subscriptions currently established in the server.
 
uint32_t cumulated_subscription_count
 The cumulative number of subscriptions that have been established in the server since the server was started (or restarted). More...
 
uint32_t publishing_interval_count
 The number of publishing intervals currently supported in the server.
 
uint32_t security_rejected_requests_count
 The number of requests that were rejected due to security constraints since the server was started (or restarted). More...
 
uint32_t rejected_requests_count
 The number of requests that were rejected since the server was started (or restarted). More...
 

Related Functions

void ua_serverdiagnosticssummarydatatype_init (struct ua_serverdiagnosticssummarydatatype *t)
 Initialize an ua_serverdiagnosticssummarydatatype struct with a valid value. More...
 
void ua_serverdiagnosticssummarydatatype_clear (struct ua_serverdiagnosticssummarydatatype *t)
 Clear all resources alloctated in an ua_serverdiagnosticssummarydatatype struct. More...
 
int ua_serverdiagnosticssummarydatatype_compare (const struct ua_serverdiagnosticssummarydatatype *a, const struct ua_serverdiagnosticssummarydatatype *b)
 Compare two ua_serverdiagnosticssummarydatatype structs. More...
 
int ua_serverdiagnosticssummarydatatype_copy (struct ua_serverdiagnosticssummarydatatype *dst, const struct ua_serverdiagnosticssummarydatatype *src)
 Create a copy of a ua_serverdiagnosticssummarydatatype struct. More...
 

Detailed Description

Contains diagnostic summary information for the Server.

Friends And Related Function Documentation

void ua_serverdiagnosticssummarydatatype_clear ( struct ua_serverdiagnosticssummarydatatype t)
related

Clear all resources alloctated in an ua_serverdiagnosticssummarydatatype struct.

Frees allocated memory like arrays and resets numeric values. The ua_serverdiagnosticssummarydatatype struct itself is not freed and must be freed by the caller if required. This function always succeeds for a valid ua_serverdiagnosticssummarydatatype struct, that was validly decoded, initilized by ua_serverdiagnosticssummarydatatype_init or created with ua_serverdiagnosticssummarydatatype_copy.

int ua_serverdiagnosticssummarydatatype_compare ( const struct ua_serverdiagnosticssummarydatatype a,
const struct ua_serverdiagnosticssummarydatatype b 
)
related

Compare two ua_serverdiagnosticssummarydatatype structs.

Compares the content of the ua_serverdiagnosticssummarydatatype struct a to the content of the ua_serverdiagnosticssummarydatatype struct b. If a is smaller than b, an integer less than zero is returned, if a is bigger than b, an integer greater than zero is returned. If both structs are equal zero is returned.

This function creates a total order on ua_serverdiagnosticssummarydatatype structs, so it is well suited to not only determine equality, but also sort multiple instances of this struct.

int ua_serverdiagnosticssummarydatatype_copy ( struct ua_serverdiagnosticssummarydatatype dst,
const struct ua_serverdiagnosticssummarydatatype src 
)
related

Create a copy of a ua_serverdiagnosticssummarydatatype struct.

Copy all fields from struct ua_serverdiagnosticssummarydatatype src to dst. Creates a deep copy so all content is recusively copied and both src and dst can be used and must be freed separately.

dst is not cleared before the copy operation, so it must not have any allocated data. It may or may not be initilized by the caller before copy.

Returns
Zero on success or ua_statuscode on failure.
void ua_serverdiagnosticssummarydatatype_init ( struct ua_serverdiagnosticssummarydatatype t)
related

Initialize an ua_serverdiagnosticssummarydatatype struct with a valid value.

After initialization the fields of the struct are set to valid and consistent values and can safley be accessed. An initialized ua_serverdiagnosticssummarydatatype struct can also be passed to ua_serverdiagnosticssummarydatatype_compare, ua_serverdiagnosticssummarydatatype_copy and ua_serverdiagnosticssummarydatatype_clear. This function will always succeed as long as an ua_serverdiagnosticssummarydatatype struct is passed to it.

Field Documentation

cumulated_session_count

The cumulative number of client sessions that have been established in the server since the server was started (or restarted).

This includes the currentSessionCount.

cumulated_subscription_count

The cumulative number of subscriptions that have been established in the server since the server was started (or restarted).

This includes the currentSubscriptionCount.

rejected_requests_count

The number of requests that were rejected since the server was started (or restarted).

The requests include all Services defined in Part 4 of the OPC UA Specification, also requests to create sessions. This number includes the securityRejectedRequestsCount.

rejected_session_count

The number of client session establishment requests that were rejected since the server was started (or restarted).

This number includes the securityRejectedSessionCount.

security_rejected_requests_count

The number of requests that were rejected due to security constraints since the server was started (or restarted).

The requests include all Services defined in Part 4 of the OPC UA Specification, also requests to create sessions.


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