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