Template Function gkfs::rpc::cleanup_respond(hg_handle_t *, OutputType *)

Function Documentation

template<typename OutputType>
inline hg_return_t gkfs::rpc::cleanup_respond(hg_handle_t *handle, OutputType *output)

Combines responding to the client and cleaning up all RPC resources after.

Template Parameters

OutputType – Any RPC output struct for client response

Parameters
  • handle – Pointer to Mercury RPC handle

  • output – Pointer to output struct

Returns

Mercury error code. HG_SUCCESS on success.