Template Function gkfs::rpc::respond

Function Documentation

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

Responds to a client request.

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.