Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ ice_invokeAsync() [1/4]

std::future< std::tuple< bool, std::vector< std::byte > > > Ice::ObjectPrx::ice_invokeAsync ( std::string_view operation,
Ice::OperationMode mode,
const std::vector< std::byte > & inParams,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Invokes an operation asynchronously.

Parameters
operationThe name of the operation to invoke.
modeThe operation mode (normal or idempotent).
inParamsAn encapsulation containing the encoded in-parameters for the operation.
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • returnValue true if the operation completed successfully, false if it completed with a user exception.
  • outParams An encapsulation containing the encoded result.