11 #ifndef MERCURY_HANDLER_H
12 #define MERCURY_HANDLER_H
118 size_t *in_buf_size);
131 size_t *out_buf_size);
144 size_t extra_out_buf_size);
HG_EXPORT na_addr_t HG_Handler_get_addr(hg_handle_t handle)
Get abstract network address of remote caller from RPC handle.
HG_EXPORT hg_return_t HG_Handler_get_input(hg_handle_t handle, void *in_struct)
Get input from handle (requires registration of input proc to deserialize parameters).
enum hg_return hg_return_t
HG_EXPORT hg_return_t HG_Handler_get_output_buf(hg_handle_t handle, void **out_buf, size_t *out_buf_size)
Get RPC output buffer from handle.
HG_EXPORT hg_return_t HG_Handler_free(hg_handle_t handle)
Release resources allocated for handling the RPC.
HG_EXPORT hg_return_t HG_Handler_get_input_buf(hg_handle_t handle, void **in_buf, size_t *in_buf_size)
Get RPC input buffer from handle.
HG_EXPORT hg_return_t HG_Handler_start_response(hg_handle_t handle, void *extra_out_buf, size_t extra_out_buf_size)
Send the response back to the caller and free handle when it completes.
HG_EXPORT na_class_t * HG_Handler_get_na_class(hg_handle_t handle)
Get NA class associated with handle.
HG_EXPORT hg_return_t HG_Handler_process(unsigned int timeout, hg_status_t *status)
Try timeout ms to process RPC requests.
HG_EXPORT hg_return_t HG_Handler_start_output(hg_handle_t handle, void *out_struct)
Start sending output from handle (requires registration of output proc to serialize parameters) This ...
HG_EXPORT hg_return_t HG_Handler_free_input(hg_handle_t handle, void *in_struct)
Free input members allocated during deserialization operation.