From 4999649653b9262d661eb833724ee28cefedb2bd Mon Sep 17 00:00:00 2001 From: Yang Gao Date: Thu, 12 Mar 2015 16:40:19 -0700 Subject: Rename to AsyncGeneric* --- include/grpc++/server.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/grpc++/server.h') diff --git a/include/grpc++/server.h b/include/grpc++/server.h index a330627747..e05bde7349 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -50,7 +50,7 @@ struct grpc_server; namespace grpc { class AsynchronousService; class GenericServerContext; -class GenericService; +class AsyncGenericService; class RpcService; class RpcServiceMethod; class ServerCredentials; @@ -73,7 +73,7 @@ class Server GRPC_FINAL : private CallHook, CompletionQueue* cq() { return &cq_; } private: - friend class GenericService; + friend class AsyncGenericService; friend class ServerBuilder; class SyncRequest; @@ -86,7 +86,7 @@ class Server GRPC_FINAL : private CallHook, // The service must exist for the lifetime of the Server instance. bool RegisterService(RpcService* service); bool RegisterAsyncService(AsynchronousService* service); - void RegisterGenericService(GenericService* service); + void RegisterAsyncGenericService(AsyncGenericService* service); // Add a listening port. Can be called multiple times. int AddPort(const grpc::string& addr, ServerCredentials* creds); // Start the server. @@ -104,9 +104,9 @@ class Server GRPC_FINAL : private CallHook, ServerAsyncStreamingInterface* stream, CompletionQueue* cq, void* tag) GRPC_OVERRIDE; - void RequestGenericCall(GenericServerContext* context, - ServerAsyncStreamingInterface* stream, - CompletionQueue* cq, void* tag); + void RequestAsyncGenericCall(GenericServerContext* context, + ServerAsyncStreamingInterface* stream, + CompletionQueue* cq, void* tag); // Completion queue. CompletionQueue cq_; -- cgit v1.2.3