Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_SERVER_INITIALIZER_H
20 #define GRPCPP_IMPL_SERVER_INITIALIZER_H
39 default_services_.push_back(service);
44 return &server_->services_;
49 std::vector<std::shared_ptr<grpc::Service> > default_services_;
54 #endif // GRPCPP_IMPL_SERVER_INITIALIZER_H
Represents a gRPC server.
Definition: server.h:57
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
bool RegisterService(const std::string *addr, Service *service) override
Register a service.
Definition: server_initializer.h:31
const std::vector< std::string > * GetServiceList()
Definition: server_initializer.h:43
ServerInitializer(grpc::Server *server)
Definition: server_initializer.h:33
bool RegisterService(std::shared_ptr< grpc::Service > service)
Definition: server_initializer.h:35