blob: 998f516d4fcbde71690edfaa470cb2290f08b596 [file] [log] [blame]
Yang Gao1c402332015-03-05 16:39:25 -08001/*
2 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003 * Copyright 2015 gRPC authors.
Yang Gao1c402332015-03-05 16:39:25 -08004 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
Yang Gao1c402332015-03-05 16:39:25 -08008 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009 * http://www.apache.org/licenses/LICENSE-2.0
Yang Gao1c402332015-03-05 16:39:25 -080010 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
Yang Gao1c402332015-03-05 16:39:25 -080016 *
17 */
18
yang-g9e2f90c2015-08-21 15:35:03 -070019#include <grpc++/generic/async_generic_service.h>
Yang Gao1c402332015-03-05 16:39:25 -080020
21#include <grpc++/server.h>
22
23namespace grpc {
24
Yang Gao49996492015-03-12 16:40:19 -070025void AsyncGenericService::RequestCall(
26 GenericServerContext* ctx, GenericServerAsyncReaderWriter* reader_writer,
Craig Tillerf9e6adf2015-05-06 11:45:59 -070027 CompletionQueue* call_cq, ServerCompletionQueue* notification_cq,
28 void* tag) {
29 server_->RequestAsyncGenericCall(ctx, reader_writer, call_cq, notification_cq,
30 tag);
Yang Gao1ad253d2015-03-16 13:11:29 -070031}
32
Yang Gao6baa9b62015-03-17 10:49:39 -070033} // namespace grpc