public interface GrpcIoServiceBridge extends GrpcServiceBridge
GrpcServer
.Modifier and Type | Method and Description |
---|---|
void |
bind(GrpcIoServer server)
Bind all service methods to the @{code server}.
|
static GrpcIoServiceBridge |
bridge(io.grpc.BindableService service)
Create a stub for a given
service . |
static GrpcIoServiceBridge |
bridge(io.grpc.ServerServiceDefinition service)
Create a stub for a given
service . |
void |
unbind(GrpcIoServer server)
Unbind all service methods from the @{code server}.
|
bind, unbind
static GrpcIoServiceBridge bridge(io.grpc.ServerServiceDefinition service)
service
.bridge
in interface GrpcServiceBridge
service
- the servicestatic GrpcIoServiceBridge bridge(io.grpc.BindableService service)
service
.bridge
in interface GrpcServiceBridge
service
- the servicevoid bind(GrpcIoServer server)
server
- the server to bind tovoid unbind(GrpcIoServer server)
server
- the server to unbind fromCopyright © 2024 Eclipse. All rights reserved.