#include <external_connection_acceptor_impl.h>
Public Member Functions | |
ExternalConnectionAcceptorImpl (const std::string &name, ServerBuilder::experimental_type::ExternalConnectionType type, std::shared_ptr< ServerCredentials > creds) | |
std::unique_ptr< experimental::ExternalConnectionAcceptor > | GetAcceptor () |
ServerCredentials * | GetCredentials () |
void | HandleNewConnection (experimental::ExternalConnectionAcceptor::NewConnectionParameters *p) |
const char * | name () |
void | SetToChannelArgs (grpc::ChannelArguments *args) |
void | Shutdown () |
void | Start () |
Private Attributes | |
std::shared_ptr< ServerCredentials > | creds_ |
grpc_core::TcpServerFdHandler * | handler_ = nullptr |
bool | has_acceptor_ = false |
grpc_core::Mutex | mu_ |
const std::string | name_ |
bool | shutdown_ = false |
bool | started_ = false |
Definition at line 36 of file external_connection_acceptor_impl.h.
grpc::internal::ExternalConnectionAcceptorImpl::ExternalConnectionAcceptorImpl | ( | const std::string & | name, |
ServerBuilder::experimental_type::ExternalConnectionType | type, | ||
std::shared_ptr< ServerCredentials > | creds | ||
) |
Definition at line 47 of file external_connection_acceptor_impl.cc.
std::unique_ptr< experimental::ExternalConnectionAcceptor > grpc::internal::ExternalConnectionAcceptorImpl::GetAcceptor | ( | ) |
Definition at line 57 of file external_connection_acceptor_impl.cc.
|
inline |
Definition at line 55 of file external_connection_acceptor_impl.h.
void grpc::internal::ExternalConnectionAcceptorImpl::HandleNewConnection | ( | experimental::ExternalConnectionAcceptor::NewConnectionParameters * | p | ) |
Definition at line 65 of file external_connection_acceptor_impl.cc.
|
inline |
Definition at line 53 of file external_connection_acceptor_impl.h.
void grpc::internal::ExternalConnectionAcceptorImpl::SetToChannelArgs | ( | grpc::ChannelArguments * | args | ) |
Definition at line 94 of file external_connection_acceptor_impl.cc.
void grpc::internal::ExternalConnectionAcceptorImpl::Shutdown | ( | ) |
Definition at line 81 of file external_connection_acceptor_impl.cc.
void grpc::internal::ExternalConnectionAcceptorImpl::Start | ( | ) |
Definition at line 86 of file external_connection_acceptor_impl.cc.
|
private |
Definition at line 61 of file external_connection_acceptor_impl.h.
|
private |
Definition at line 62 of file external_connection_acceptor_impl.h.
Definition at line 64 of file external_connection_acceptor_impl.h.
|
private |
Definition at line 63 of file external_connection_acceptor_impl.h.
|
private |
Definition at line 60 of file external_connection_acceptor_impl.h.
Definition at line 66 of file external_connection_acceptor_impl.h.
Definition at line 65 of file external_connection_acceptor_impl.h.