Package io.vertx.rxjava3.grpc.common
Class ServiceMethod<I,O>
- java.lang.Object
-
- io.vertx.rxjava3.grpc.common.ServiceMethod<I,O>
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<ServiceMethod>
__TYPE_ARG
io.vertx.lang.rx.TypeArg<I>
__typeArg_0
io.vertx.lang.rx.TypeArg<O>
__typeArg_1
-
Constructor Summary
Constructors Constructor Description ServiceMethod(ServiceMethod delegate)
ServiceMethod(Object delegate, io.vertx.lang.rx.TypeArg<I> typeArg_0, io.vertx.lang.rx.TypeArg<O> typeArg_1)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <Req,Resp>
ServiceMethod<Resp,Req>client(ServiceName serviceName, String methodName, GrpcMessageEncoder<Req> encoder, GrpcMessageDecoder<Resp> decoder)
GrpcMessageDecoder<I>
decoder()
GrpcMessageEncoder<O>
encoder()
boolean
equals(Object o)
String
fullMethodName()
ServiceMethod
getDelegate()
int
hashCode()
String
methodName()
static <I,O>
ServiceMethod<I,O>newInstance(ServiceMethod arg)
static <I,O>
ServiceMethod<I,O>newInstance(ServiceMethod arg, io.vertx.lang.rx.TypeArg<I> __typeArg_I, io.vertx.lang.rx.TypeArg<O> __typeArg_O)
static <Req,Resp>
ServiceMethod<Req,Resp>server(ServiceName serviceName, String methodName, GrpcMessageEncoder<Resp> encoder, GrpcMessageDecoder<Req> decoder)
ServiceName
serviceName()
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<ServiceMethod> __TYPE_ARG
-
__typeArg_0
public final io.vertx.lang.rx.TypeArg<I> __typeArg_0
-
__typeArg_1
public final io.vertx.lang.rx.TypeArg<O> __typeArg_1
-
-
Constructor Detail
-
ServiceMethod
public ServiceMethod(ServiceMethod delegate)
-
-
Method Detail
-
getDelegate
public ServiceMethod getDelegate()
-
client
public static <Req,Resp> ServiceMethod<Resp,Req> client(ServiceName serviceName, String methodName, GrpcMessageEncoder<Req> encoder, GrpcMessageDecoder<Resp> decoder)
-
server
public static <Req,Resp> ServiceMethod<Req,Resp> server(ServiceName serviceName, String methodName, GrpcMessageEncoder<Resp> encoder, GrpcMessageDecoder<Req> decoder)
-
serviceName
public ServiceName serviceName()
- Returns:
- the service name.
-
methodName
public String methodName()
- Returns:
- the method name
-
fullMethodName
public String fullMethodName()
-
decoder
public GrpcMessageDecoder<I> decoder()
- Returns:
- the message decoder
-
encoder
public GrpcMessageEncoder<O> encoder()
- Returns:
- the message encoder
-
newInstance
public static <I,O> ServiceMethod<I,O> newInstance(ServiceMethod arg)
-
newInstance
public static <I,O> ServiceMethod<I,O> newInstance(ServiceMethod arg, io.vertx.lang.rx.TypeArg<I> __typeArg_I, io.vertx.lang.rx.TypeArg<O> __typeArg_O)
-
-