Lines Matching refs:Service
45 class Service;
62 /// 1. a service is registered - so that the server knows what to serve
70 /// Register a service. This call does not take ownership of the service.
71 /// The service must exist for the lifetime of the \a Server instance returned
74 ServerBuilder& RegisterService(Service* service);
131 /// Register a service. This call does not take ownership of the service.
132 /// The service must exist for the lifetime of the \a Server instance returned
135 ServerBuilder& RegisterService(const grpc::string& host, Service* service);
137 /// Register a generic service.
141 ServerBuilder& RegisterAsyncGenericService(AsyncGenericService* service);
226 explicit NamedService(Service* s) : service(s) {}
227 NamedService(const grpc::string& h, Service* s)
228 : host(new grpc::string(h)), service(s) {}
230 Service* service;