aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/service_type.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-12 14:33:54 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-12 14:33:54 -0800
commit3d6ceb646178ce7a5b0de38c38ba75da448fae39 (patch)
treeb2a7c62ba6eab5ff26e57377578a7948ec13cd62 /include/grpc++/impl/service_type.h
parent984b09087f77b9aa1b64c3b23fa50b9cf06b5e0b (diff)
Async server dispatch
Diffstat (limited to 'include/grpc++/impl/service_type.h')
-rw-r--r--include/grpc++/impl/service_type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc++/impl/service_type.h b/include/grpc++/impl/service_type.h
index 19432522df..cac2be30ab 100644
--- a/include/grpc++/impl/service_type.h
+++ b/include/grpc++/impl/service_type.h
@@ -42,6 +42,7 @@ class Message;
namespace grpc {
+class Call;
class RpcService;
class Server;
class ServerContext;
@@ -59,6 +60,10 @@ class ServerAsyncStreamingInterface {
virtual void SendInitialMetadata(void* tag) = 0;
virtual void Finish(const Status& status, void* tag) = 0;
+
+ private:
+ friend class Server;
+ virtual void BindCall(Call* call) = 0;
};
class AsynchronousService {