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
examples
android
binder
java
io
grpc
binder
cpp
exampleserver
ExportedEndpointService.java
Go to the documentation of this file.
1
package
io.grpc.binder.cpp.exampleserver;
2
3
import
android.app.Service;
4
import
android.content.Intent;
5
import
android.os.IBinder;
6
import
android.content.Context;
7
import
io
.
grpc
.
binder
.
cpp
.
GrpcCppServerBuilder
;
8
10
public
final
class
ExportedEndpointService
extends
Service {
11
static
{
12
System.loadLibrary(
"app"
);
13
}
14
15
public
ExportedEndpointService
() {
16
init_grpc_server
(
this
);
17
}
18
19
@Override
20
public
IBinder
onBind
(Intent intent) {
21
// The argument should match the URI passed into grpc::ServerBuilder::AddListeningPort
22
return
GrpcCppServerBuilder
.
GetEndpointBinder
(
"binder:example.service"
);
23
}
24
25
public
native
void
init_grpc_server
(Context
context
);
26
}
io.grpc.binder.cpp.exampleserver.ExportedEndpointService.ExportedEndpointService
ExportedEndpointService()
Definition:
ExportedEndpointService.java:15
io.grpc.binder.cpp.exampleserver.ExportedEndpointService
Definition:
ExportedEndpointService.java:10
io.grpc.binder.cpp.GrpcCppServerBuilder.GetEndpointBinder
static IBinder GetEndpointBinder(String uri)
Definition:
GrpcCppServerBuilder.java:24
io.grpc.binder.cpp.GrpcCppServerBuilder
Definition:
GrpcCppServerBuilder.java:21
io.grpc.binder.cpp.exampleserver.ExportedEndpointService.onBind
IBinder onBind(Intent intent)
Definition:
ExportedEndpointService.java:20
io.grpc.binder.cpp.exampleserver.ExportedEndpointService.init_grpc_server
native void init_grpc_server(Context context)
io
io.grpc
io.grpc.binder.cpp
context
grpc::ClientContext context
Definition:
istio_echo_server_lib.cc:61
io.grpc.binder
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:17