High Performance OPC UA Server SDK
1.2.0.193
|
Common parameters for all requests submitted on a Session. More...
#include <requestheader.h>
Public Member Functions | |
void | ua_requestheader_init (struct ua_requestheader *h) |
void | ua_requestheader_clear (struct ua_requestheader *h) |
Data Fields | |
struct ua_nodeid | authentication_token |
The secret Session identifier used to verify that the request is associated with the Session. More... | |
ua_datetime | timestamp |
The time the Client sent the request. More... | |
uint32_t | request_handle |
A handle associated with the request. More... | |
uint32_t | timeout_hint |
This timeout in milliseconds is used in the Client side Communication Stack to set the timeout on a per-call base. More... | |
uint32_t | return_diagnostics |
A bit mask that identifies the types of vendor-specific diagnostics to be returned in diagnosticInfo response parameters. More... | |
Common parameters for all requests submitted on a Session.
struct ua_nodeid authentication_token |
The secret Session identifier used to verify that the request is associated with the Session.
uint32_t request_handle |
A handle associated with the request.
This client defined handle can be used to cancel the request. It is also returned in the response.
uint32_t return_diagnostics |
A bit mask that identifies the types of vendor-specific diagnostics to be returned in diagnosticInfo response parameters.
The value of this parameter may consist of zero, one or more of the following values. No value indicates that diagnostics are not to be returned.
Bit Value | Diagnostics to return |
---|---|
0x0000 0001 | ServiceLevel/SymbolicId |
0x0000 0002 | ServiceLevel/LocalizedText |
0x0000 0004 | ServiceLevel/AdditionalInfo |
0x0000 0008 | ServiceLevel/Inner StatusCode |
0x0000 0010 | ServiceLevel/Inner Diagnostics |
0x0000 0020 | OperationLevel/SymbolicId |
0x0000 0040 | OperationLevel/LocalizedText |
0x0000 0080 | OperationLevel/AdditionalInfo |
0x0000 0100 | OperationLevel/Inner StatusCode |
0x0000 0200 | OperationLevel/Inner Diagnostics |
Each of these values is composed of two components, level and type, as described below. If none are requested, as indicated by a 0 value, or if no diagnostic information was encountered in processing of the request, then diagnostics information is not returned.
Level:
Type:
uint32_t timeout_hint |
This timeout in milliseconds is used in the Client side Communication Stack to set the timeout on a per-call base.
For a Server this timeout is only a hint and can be used to cancel long running operations to free resources. If the Server detects a timeout, he can cancel the operation by sending the Service result Bad_Timeout. The Server should wait at minimum the timeout after he received the request before cancelling the operation.
The value of 0 indicates no timeout.
ua_datetime timestamp |
The time the Client sent the request.
The parameter is only used for diagnostic and logging purposes in the server.