Skip to content
Start free evaluation

pdcomm::opcua::qt_client_response

Struct

A response delivered by qt_client_worker::completed().

struct qt_client_response

Declared in: #include <pdcomm/opcua/pdcomm_opcua_qt.hpp>

The response may be a ServiceFault; check metadata.service_status and the per-operation results in the body.

Members

correlation

Field

Correlation that the application passed to qt_client_worker::submit().

quint64 correlation = 0

Declared in: #include <pdcomm/opcua/pdcomm_opcua_qt.hpp>

metadata

Field

Response metadata: request ID, encoding ID and serviceResult.

pdcomm_opcua_response_info metadata{}

Declared in: #include <pdcomm/opcua/pdcomm_opcua_qt.hpp>

request_id

Field

Native request ID (the requestHandle) of the request.

uint32_t request_id = 0

Declared in: #include <pdcomm/opcua/pdcomm_opcua_qt.hpp>

value

Field

The owned response. It survives the client and the worker; its const copy() and info() may be called from any thread, and the native buffer is released with the last reference.

std::shared_ptr<const response> value

Declared in: #include <pdcomm/opcua/pdcomm_opcua_qt.hpp>