Public Member Functions | Private Attributes | List of all members
grpc_core::HandshakerRegistry::Builder Class Reference

#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]
 

Detailed Description

Definition at line 42 of file handshaker_registry.h.

Member Function Documentation

◆ Build()

HandshakerRegistry grpc_core::HandshakerRegistry::Builder::Build ( )

Definition at line 37 of file handshaker_registry.cc.

◆ RegisterHandshakerFactory()

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.

Member Data Documentation

◆ factories_

std::vector<std::unique_ptr<HandshakerFactory> > grpc_core::HandshakerRegistry::Builder::factories_[NUM_HANDSHAKER_TYPES]
private

Definition at line 55 of file handshaker_registry.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:36