diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-07-08 07:53:20 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-07-08 07:53:20 -0700 |
commit | 2ee8f0b978901b6b2bee5a2afd1650847f324edf (patch) | |
tree | 24bd3e21d5f7668723981330dde81f8bf0cfe33f /include | |
parent | 62fa7268d2d155a7e9ab9a3df5ac1f2ed3c827a6 (diff) |
Update comments
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/server_builder.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/grpc++/server_builder.h b/include/grpc++/server_builder.h index d6bb3bd090..c397fddf5a 100644 --- a/include/grpc++/server_builder.h +++ b/include/grpc++/server_builder.h @@ -58,27 +58,32 @@ class ServerBuilder { // Register a service. This call does not take ownership of the service. // The service must exist for the lifetime of the Server instance returned by // BuildAndStart(). + // Matches requests with any :authority void RegisterService(SynchronousService* service); - // Register an asynchronous service. New calls will be delevered to cq. + // Register an asynchronous service. // This call does not take ownership of the service or completion queue. // The service and completion queuemust exist for the lifetime of the Server // instance returned by BuildAndStart(). + // Matches requests with any :authority void RegisterAsyncService(AsynchronousService* service); // Register a generic service. + // Matches requests with any :authority void RegisterAsyncGenericService(AsyncGenericService* service); // Register a service. This call does not take ownership of the service. // The service must exist for the lifetime of the Server instance returned by // BuildAndStart(). + // Only matches requests with :authority \a host void RegisterService(const grpc::string& host, SynchronousService* service); - // Register an asynchronous service. New calls will be delevered to cq. + // Register an asynchronous service. // This call does not take ownership of the service or completion queue. // The service and completion queuemust exist for the lifetime of the Server // instance returned by BuildAndStart(). + // Only matches requests with :authority \a host void RegisterAsyncService(const grpc::string& host, AsynchronousService* service); |