diff options
author | Craig Tiller <ctiller@google.com> | 2015-02-12 14:33:54 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-02-12 14:33:54 -0800 |
commit | 3d6ceb646178ce7a5b0de38c38ba75da448fae39 (patch) | |
tree | b2a7c62ba6eab5ff26e57377578a7948ec13cd62 /include/grpc++/impl | |
parent | 984b09087f77b9aa1b64c3b23fa50b9cf06b5e0b (diff) |
Async server dispatch
Diffstat (limited to 'include/grpc++/impl')
-rw-r--r-- | include/grpc++/impl/service_type.h | 5 |
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 { |