public interface ServiceMethod<I,O>
Modifier and Type | Method and Description |
---|---|
static <Req,Resp> ServiceMethod<Resp,Req> |
client(ServiceName serviceName,
String methodName,
GrpcMessageEncoder<Req> encoder,
GrpcMessageDecoder<Resp> decoder) |
GrpcMessageDecoder<I> |
decoder() |
GrpcMessageEncoder<O> |
encoder() |
default String |
fullMethodName() |
String |
methodName() |
static <Req,Resp> ServiceMethod<Req,Resp> |
server(ServiceName serviceName,
String methodName,
GrpcMessageEncoder<Resp> encoder,
GrpcMessageDecoder<Req> decoder) |
ServiceName |
serviceName() |
static <Req,Resp> ServiceMethod<Resp,Req> client(ServiceName serviceName, String methodName, GrpcMessageEncoder<Req> encoder, GrpcMessageDecoder<Resp> decoder)
static <Req,Resp> ServiceMethod<Req,Resp> server(ServiceName serviceName, String methodName, GrpcMessageEncoder<Resp> encoder, GrpcMessageDecoder<Req> decoder)
ServiceName serviceName()
String methodName()
default String fullMethodName()
GrpcMessageDecoder<I> decoder()
GrpcMessageEncoder<O> encoder()
Copyright © 2024 Eclipse. All rights reserved.