Package io.vertx.reactivex.grpc.common
Class ServiceMethod<I,O>
- java.lang.Object
-
- io.vertx.reactivex.grpc.common.ServiceMethod<I,O>
-
- All Implemented Interfaces:
RxDelegate
public class ServiceMethod<I,O> extends Object implements RxDelegate
Bundle all the bits required to call or bind a grpc service method. NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ServiceMethod>__TYPE_ARGTypeArg<I>__typeArg_0TypeArg<O>__typeArg_1
-
Constructor Summary
Constructors Constructor Description ServiceMethod(ServiceMethod delegate)ServiceMethod(Object delegate, TypeArg<I> typeArg_0, 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()booleanequals(Object o)StringfullMethodName()ServiceMethodgetDelegate()inthashCode()StringmethodName()static <I,O>
ServiceMethod<I,O>newInstance(ServiceMethod arg)static <I,O>
ServiceMethod<I,O>newInstance(ServiceMethod arg, TypeArg<I> __typeArg_I, TypeArg<O> __typeArg_O)static <Req,Resp>
ServiceMethod<Req,Resp>server(ServiceName serviceName, String methodName, GrpcMessageEncoder<Resp> encoder, GrpcMessageDecoder<Req> decoder)ServiceNameserviceName()StringtoString()
-
-
-
Method Detail
-
getDelegate
public ServiceMethod getDelegate()
- Specified by:
getDelegatein interfaceRxDelegate
-
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, TypeArg<I> __typeArg_I, TypeArg<O> __typeArg_O)
-
-