descriptor for a registered RPC service More...
#include <nm_rpc_private.h>
Data Fields | |
struct nm_rpc_token_list_s | token_list |
tokens given to rpc handlers More... | |
nm_spinlock_t | token_list_lock |
lock for the above list More... | |
nm_tag_t | tag |
tag(s) to listen to for this service More... | |
nm_tag_t | tag_mask |
tag mask to apply to above tag More... | |
nm_rpc_handler_t | p_handler |
user-supplied function, called upon header arrival More... | |
nm_rpc_finalizer_t | p_finalizer |
user-supplied function, called upon data body arrival More... | |
nm_session_t | p_session |
session used to send/recv requests More... | |
void * | ref |
user-supplied ref for the service More... | |
int | running |
whether the service is currently running More... | |
descriptor for a registered RPC service
Definition at line 57 of file nm_rpc_private.h.
nm_rpc_finalizer_t nm_rpc_service_s::p_finalizer |
user-supplied function, called upon data body arrival
Definition at line 64 of file nm_rpc_private.h.
nm_rpc_handler_t nm_rpc_service_s::p_handler |
user-supplied function, called upon header arrival
Definition at line 63 of file nm_rpc_private.h.
nm_session_t nm_rpc_service_s::p_session |
session used to send/recv requests
Definition at line 65 of file nm_rpc_private.h.
Referenced by nm_rpc_recv_header_data().
void* nm_rpc_service_s::ref |
user-supplied ref for the service
Definition at line 66 of file nm_rpc_private.h.
Referenced by nm_rpc_service_get_ref().
int nm_rpc_service_s::running |
whether the service is currently running
Definition at line 67 of file nm_rpc_private.h.
nm_tag_t nm_rpc_service_s::tag |
tag(s) to listen to for this service
Definition at line 61 of file nm_rpc_private.h.
nm_tag_t nm_rpc_service_s::tag_mask |
tag mask to apply to above tag
Definition at line 62 of file nm_rpc_private.h.
struct nm_rpc_token_list_s nm_rpc_service_s::token_list |
tokens given to rpc handlers
Definition at line 59 of file nm_rpc_private.h.
nm_spinlock_t nm_rpc_service_s::token_list_lock |
lock for the above list
Definition at line 60 of file nm_rpc_private.h.