#include <handshaker_registry.h>
Public Member Functions | |
HandshakerRegistry | Build () |
void | RegisterHandshakerFactory (bool at_start, HandshakerType handshaker_type, std::unique_ptr< HandshakerFactory > factory) |
Private Attributes | |
std::vector< std::unique_ptr< HandshakerFactory > > | factories_ [NUM_HANDSHAKER_TYPES] |
Definition at line 42 of file handshaker_registry.h.
HandshakerRegistry grpc_core::HandshakerRegistry::Builder::Build | ( | ) |
Definition at line 37 of file handshaker_registry.cc.
void grpc_core::HandshakerRegistry::Builder::RegisterHandshakerFactory | ( | bool | at_start, |
HandshakerType | handshaker_type, | ||
std::unique_ptr< HandshakerFactory > | factory | ||
) |
Registers a new handshaker factory. Takes ownership. If at_start is true, the new handshaker will be at the beginning of the list. Otherwise, it will be added to the end.
Definition at line 29 of file handshaker_registry.cc.
|
private |
Definition at line 55 of file handshaker_registry.h.