Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
z
Classes
Class List
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
grpc
test
cpp
microbenchmarks
callback_test_service.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2019 gRPC authors.
4
*
5
* 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
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* 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.
16
*
17
*/
18
19
#ifndef TEST_CPP_MICROBENCHMARKS_CALLBACK_TEST_SERVICE_H
20
#define TEST_CPP_MICROBENCHMARKS_CALLBACK_TEST_SERVICE_H
21
22
#include <condition_variable>
23
#include <memory>
24
#include <mutex>
25
#include <sstream>
26
27
#include <benchmark/benchmark.h>
28
29
#include "src/proto/grpc/testing/echo.grpc.pb.h"
30
#include "
test/cpp/util/string_ref_helper.h
"
31
32
namespace
grpc
{
33
namespace
testing
{
34
35
const
char
*
const
kServerMessageSize
=
"server_message_size"
;
36
37
class
CallbackStreamingTestService
:
public
EchoTestService::CallbackService {
38
public
:
39
CallbackStreamingTestService
() {}
40
41
ServerUnaryReactor
*
Echo
(
CallbackServerContext
*
context
,
42
const
EchoRequest*
request
,
43
EchoResponse*
response
)
override
;
44
45
ServerBidiReactor<EchoRequest, EchoResponse>
*
BidiStream
(
46
CallbackServerContext
*
context
)
override
;
47
};
48
}
// namespace testing
49
}
// namespace grpc
50
#endif // TEST_CPP_MICROBENCHMARKS_CALLBACK_TEST_SERVICE_H
testing
Definition:
aws_request_signer_test.cc:25
grpc::testing::CallbackStreamingTestService
Definition:
callback_test_service.h:37
grpc
Definition:
grpcpp/alarm.h:33
grpc::testing::CallbackStreamingTestService::BidiStream
ServerBidiReactor< EchoRequest, EchoResponse > * BidiStream(CallbackServerContext *context) override
Definition:
callback_test_service.cc:65
benchmark.request
request
Definition:
benchmark.py:77
grpc::ServerBidiReactor
ServerBidiReactor is the interface for a bidirectional streaming RPC.
Definition:
impl/codegen/server_callback.h:188
grpc::testing::kServerMessageSize
const char *const kServerMessageSize
Definition:
callback_test_service.h:35
grpc::testing::CallbackStreamingTestService::CallbackStreamingTestService
CallbackStreamingTestService()
Definition:
callback_test_service.h:39
grpc::CallbackServerContext
Definition:
grpcpp/impl/codegen/server_context.h:606
grpc::testing::CallbackStreamingTestService::Echo
ServerUnaryReactor * Echo(CallbackServerContext *context, const EchoRequest *request, EchoResponse *response) override
Definition:
callback_test_service.cc:49
asyncio_get_stats.response
response
Definition:
asyncio_get_stats.py:28
grpc::ServerUnaryReactor
Definition:
impl/codegen/server_callback.h:699
context
grpc::ClientContext context
Definition:
istio_echo_server_lib.cc:61
string_ref_helper.h
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:43