GRPC Core
0.10.0.0
|
#include <lb_policy.h>
Data Fields | |
void(* | destroy )(grpc_lb_policy *policy) |
void(* | shutdown )(grpc_lb_policy *policy) |
void(* | pick )(grpc_lb_policy *policy, grpc_pollset *pollset, grpc_metadata_batch *initial_metadata, grpc_subchannel **target, grpc_iomgr_closure *on_complete) |
implement grpc_lb_policy_pick More... | |
void(* | exit_idle )(grpc_lb_policy *policy) |
try to enter a READY connectivity state More... | |
void(* | broadcast )(grpc_lb_policy *policy, grpc_transport_op *op) |
broadcast a transport op to all subchannels More... | |
grpc_connectivity_state(* | check_connectivity )(grpc_lb_policy *policy) |
check the current connectivity of the lb_policy More... | |
void(* | notify_on_state_change )(grpc_lb_policy *policy, grpc_connectivity_state *state, grpc_iomgr_closure *closure) |
call notify when the connectivity state of a channel changes from *state. More... | |
void(* grpc_lb_policy_vtable::broadcast)(grpc_lb_policy *policy, grpc_transport_op *op) |
broadcast a transport op to all subchannels
grpc_connectivity_state(* grpc_lb_policy_vtable::check_connectivity)(grpc_lb_policy *policy) |
check the current connectivity of the lb_policy
void(* grpc_lb_policy_vtable::destroy)(grpc_lb_policy *policy) |
void(* grpc_lb_policy_vtable::exit_idle)(grpc_lb_policy *policy) |
try to enter a READY connectivity state
void(* grpc_lb_policy_vtable::notify_on_state_change)(grpc_lb_policy *policy, grpc_connectivity_state *state, grpc_iomgr_closure *closure) |
call notify when the connectivity state of a channel changes from *state.
Updates *state with the new state of the policy
void(* grpc_lb_policy_vtable::pick)(grpc_lb_policy *policy, grpc_pollset *pollset, grpc_metadata_batch *initial_metadata, grpc_subchannel **target, grpc_iomgr_closure *on_complete) |
implement grpc_lb_policy_pick
void(* grpc_lb_policy_vtable::shutdown)(grpc_lb_policy *policy) |