6#include "open62541pp/config.hpp"
15#ifdef UA_ENABLE_METHODCALLS
48template <
typename CompletionToken>
51 connection, request, std::forward<CompletionToken>(token)
77template <
typename CompletionToken>
83 CompletionToken&& token
92 std::forward<CompletionToken>(token)
UA_CallMethodResult wrapper class.
UA_CallRequest wrapper class.
UA_CallResponse wrapper class.
View to a contiguous sequence of objects, similar to std::span in C++20.
CallResponse call(Client &connection, const CallRequest &request) noexcept
Call server methods.
auto callAsync(Client &connection, const CallRequest &request, CompletionToken &&token)
Call server methods.
UA_CallRequest createCallRequest(UA_CallMethodRequest &item) noexcept
UA_CallMethodRequest createCallMethodRequest(const NodeId &objectId, const NodeId &methodId, Span< const Variant > inputArguments) noexcept
WrapperType wrapSingleResultWithStatus(Response &response) noexcept
auto sendRequestAsync(Client &client, const Request &request, CompletionToken &&token)
Async client service requests.
OPC UA services as free functions.
Client * asWrapper(UA_Client *client) noexcept
Convert native UA_Client pointer to its wrapper instance.