#include <channel_init.h>
Classes | |
struct | Slot |
Public Member Functions | |
ChannelInit | Build () |
void | RegisterStage (grpc_channel_stack_type type, int priority, Stage stage) |
Private Attributes | |
std::vector< Slot > | slots_ [GRPC_NUM_CHANNEL_STACK_TYPES] |
Definition at line 46 of file channel_init.h.
ChannelInit grpc_core::ChannelInit::Builder::Build | ( | ) |
Finalize registration. No more calls to grpc_channel_init_register_stage are allowed.
Definition at line 32 of file channel_init.cc.
void grpc_core::ChannelInit::Builder::RegisterStage | ( | grpc_channel_stack_type | type, |
int | priority, | ||
Stage | stage | ||
) |
Register one stage of mutators. Stages are run in priority order (lowest to highest), and then in registration order (in the case of a tie). Stages are registered against one of the pre-determined channel stack types. If the channel stack type is GRPC_CLIENT_SUBCHANNEL, the caller should ensure that subchannels with different filter lists will always have different channel args. This requires setting a channel arg in case the registration function relies on some condition other than channel args to decide whether to add a filter or not.
Definition at line 27 of file channel_init.cc.
|
private |
Definition at line 71 of file channel_init.h.