pdcomm::opcua::qt_client_response
Struct
A response delivered by qt_client_worker::completed().
struct qt_client_responseThe 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 = 0metadata
Field
Response metadata: request ID, encoding ID and serviceResult.
pdcomm_opcua_response_info metadata{}request_id
Field
Native request ID (the requestHandle) of the request.
uint32_t request_id = 0value
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