Template Function gkfs::rpc::cleanup_respond(hg_handle_t *, InputType *, OutputType *)
Defined in File rpc_util.hpp
Function Documentation
-
template<typename InputType, typename OutputType>
inline hg_return_t gkfs::rpc::cleanup_respond(hg_handle_t *handle, InputType *input, OutputType *output) Combines responding to the client and cleaning up all RPC resources after.
- Template Parameters
InputType – Any RPC input struct from client requests
OutputType – Any RPC output struct for client response
- Parameters
handle – Pointer to Mercury RPC handle
input – Pointer to input struct
output – Pointer to output struct
- Returns
Mercury error code. HG_SUCCESS on success.