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

◆ ice_invokeAsync()

virtual void Ice::BlobjectAsync::ice_invokeAsync ( std::vector< std::byte > inEncaps,
std::function< void(bool, const std::vector< std::byte > &)> response,
std::function< void(std::exception_ptr)> exception,
const Current & current )
pure virtual

Dispatches an incoming request asynchronously.

Parameters
inEncapsAn encapsulation containing the encoded in-parameters for the operation.
responseThe response callback. It accepts:
  • returnValue true if the operation completed successfully, false if it completed with a user exception encoded in outEncaps.
  • outEncaps An encapsulation containing the encoded result.
exceptionThe exception callback.
currentThe Current object of the incoming request.