|
|
@ -64,13 +64,13 @@ typedef struct grpc_subchannel_args grpc_subchannel_args; |
|
|
|
#define GRPC_SUBCHANNEL_REF_EXTRA_ARGS |
|
|
|
#define GRPC_SUBCHANNEL_REF_EXTRA_ARGS |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
void grpc_subchannel_ref(grpc_subchannel *channel |
|
|
|
void grpc_subchannel_ref( |
|
|
|
GRPC_SUBCHANNEL_REF_EXTRA_ARGS); |
|
|
|
grpc_subchannel *channel GRPC_SUBCHANNEL_REF_EXTRA_ARGS); |
|
|
|
void grpc_subchannel_unref(grpc_exec_ctx *exec_ctx, |
|
|
|
void grpc_subchannel_unref(grpc_exec_ctx *exec_ctx, |
|
|
|
grpc_subchannel *channel |
|
|
|
grpc_subchannel *channel |
|
|
|
GRPC_SUBCHANNEL_REF_EXTRA_ARGS); |
|
|
|
GRPC_SUBCHANNEL_REF_EXTRA_ARGS); |
|
|
|
void grpc_subchannel_call_ref(grpc_subchannel_call *call |
|
|
|
void grpc_subchannel_call_ref( |
|
|
|
GRPC_SUBCHANNEL_REF_EXTRA_ARGS); |
|
|
|
grpc_subchannel_call *call GRPC_SUBCHANNEL_REF_EXTRA_ARGS); |
|
|
|
void grpc_subchannel_call_unref(grpc_exec_ctx *exec_ctx, |
|
|
|
void grpc_subchannel_call_unref(grpc_exec_ctx *exec_ctx, |
|
|
|
grpc_subchannel_call *call |
|
|
|
grpc_subchannel_call *call |
|
|
|
GRPC_SUBCHANNEL_REF_EXTRA_ARGS); |
|
|
|
GRPC_SUBCHANNEL_REF_EXTRA_ARGS); |
|
|
@ -98,6 +98,13 @@ void grpc_subchannel_notify_on_state_change(grpc_exec_ctx *exec_ctx, |
|
|
|
grpc_connectivity_state *state, |
|
|
|
grpc_connectivity_state *state, |
|
|
|
grpc_closure *notify); |
|
|
|
grpc_closure *notify); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Remove \a subscribed_notify from the list of closures to be called on a
|
|
|
|
|
|
|
|
* state change if present, returning 1. Otherwise, nothing is done and return |
|
|
|
|
|
|
|
* 0. */ |
|
|
|
|
|
|
|
int grpc_subchannel_state_change_unsubscribe(grpc_exec_ctx *exec_ctx, |
|
|
|
|
|
|
|
grpc_subchannel *channel, |
|
|
|
|
|
|
|
grpc_closure *subscribed_notify); |
|
|
|
|
|
|
|
|
|
|
|
/** express interest in \a channel's activities through \a pollset. */ |
|
|
|
/** express interest in \a channel's activities through \a pollset. */ |
|
|
|
void grpc_subchannel_add_interested_party(grpc_exec_ctx *exec_ctx, |
|
|
|
void grpc_subchannel_add_interested_party(grpc_exec_ctx *exec_ctx, |
|
|
|
grpc_subchannel *channel, |
|
|
|
grpc_subchannel *channel, |
|
|
|