aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/server.h
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-03-12 16:40:19 -0700
committerGravatar Yang Gao <yangg@google.com>2015-03-12 16:40:19 -0700
commit4999649653b9262d661eb833724ee28cefedb2bd (patch)
tree81fde27cf3ed59fa2400b892c31fb49873942d46 /include/grpc++/server.h
parent179f8684dc87bfccf9b74968afe96fc371eb170e (diff)
Rename to AsyncGeneric*
Diffstat (limited to 'include/grpc++/server.h')
-rw-r--r--include/grpc++/server.h12
1 files changed, 6 insertions, 6 deletions
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_;