GRPC C++
0.10.0.0
|
#include <server_builder.h>
Public Member Functions | |
ServerBuilder () | |
void | RegisterService (SynchronousService *service) |
void | RegisterAsyncService (AsynchronousService *service) |
void | RegisterAsyncGenericService (AsyncGenericService *service) |
void | RegisterService (const grpc::string &host, SynchronousService *service) |
void | RegisterAsyncService (const grpc::string &host, AsynchronousService *service) |
void | SetMaxMessageSize (int max_message_size) |
void | AddListeningPort (const grpc::string &addr, std::shared_ptr< ServerCredentials > creds, int *selected_port=nullptr) |
void | SetThreadPool (ThreadPoolInterface *thread_pool) |
std::unique_ptr < ServerCompletionQueue > | AddCompletionQueue () |
std::unique_ptr< Server > | BuildAndStart () |
grpc::ServerBuilder::ServerBuilder | ( | ) |
std::unique_ptr<ServerCompletionQueue> grpc::ServerBuilder::AddCompletionQueue | ( | ) |
void grpc::ServerBuilder::AddListeningPort | ( | const grpc::string & | addr, |
std::shared_ptr< ServerCredentials > | creds, | ||
int * | selected_port = nullptr |
||
) |
std::unique_ptr<Server> grpc::ServerBuilder::BuildAndStart | ( | ) |
void grpc::ServerBuilder::RegisterAsyncGenericService | ( | AsyncGenericService * | service | ) |
void grpc::ServerBuilder::RegisterAsyncService | ( | AsynchronousService * | service | ) |
void grpc::ServerBuilder::RegisterAsyncService | ( | const grpc::string & | host, |
AsynchronousService * | service | ||
) |
void grpc::ServerBuilder::RegisterService | ( | SynchronousService * | service | ) |
void grpc::ServerBuilder::RegisterService | ( | const grpc::string & | host, |
SynchronousService * | service | ||
) |
|
inline |
void grpc::ServerBuilder::SetThreadPool | ( | ThreadPoolInterface * | thread_pool | ) |