aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/codegen/server_interface.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-03-07 18:19:12 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2016-03-07 18:19:12 -0800
commite1ce31eda3321bb0052416ba47145809a8199f1e (patch)
treea47309ad10b947c9672485ce7514071ae355a339 /include/grpc++/impl/codegen/server_interface.h
parent6848c4e14584e55859018b30390589c418b93358 (diff)
wip. cq refactored
Diffstat (limited to 'include/grpc++/impl/codegen/server_interface.h')
-rw-r--r--include/grpc++/impl/codegen/server_interface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/grpc++/impl/codegen/server_interface.h b/include/grpc++/impl/codegen/server_interface.h
index f934619c20..1dcc01285a 100644
--- a/include/grpc++/impl/codegen/server_interface.h
+++ b/include/grpc++/impl/codegen/server_interface.h
@@ -37,6 +37,7 @@
#include <grpc/impl/codegen/grpc_types.h>
#include <grpc++/impl/codegen/call_hook.h>
#include <grpc++/impl/codegen/completion_queue_tag.h>
+#include <grpc++/impl/codegen/core_codegen_interface.h>
#include <grpc++/impl/codegen/rpc_service_method.h>
namespace grpc {
@@ -223,7 +224,7 @@ class ServerInterface : public CallHook {
CompletionQueue* call_cq,
ServerCompletionQueue* notification_cq, void* tag,
Message* message) {
- GPR_ASSERT(method);
+ GPR_CODEGEN_ASSERT(method);
new PayloadAsyncRequest<Message>(method->server_tag(), this, context,
stream, call_cq, notification_cq, tag,
message);
@@ -233,7 +234,7 @@ class ServerInterface : public CallHook {
ServerAsyncStreamingInterface* stream,
CompletionQueue* call_cq,
ServerCompletionQueue* notification_cq, void* tag) {
- GPR_ASSERT(method);
+ GPR_CODEGEN_ASSERT(method);
new NoPayloadAsyncRequest(method->server_tag(), this, context, stream,
call_cq, notification_cq, tag);
}