Class ServiceInvoker
java.lang.Object
io.vertx.reactivex.grpc.client.ServiceInvoker
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
A contract for issuing gRPC client requests by service method, without requiring
a specific transport or server address.
Generated gRPC client stubs use this interface as their underlying transport abstraction,
allowing them to work with any implementation - HTTP/2 via GrpcClient, event bus, etc.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()<Req,Resp> Future <GrpcClientRequest<Req, Resp>> invoker(ServiceMethod<Resp, Req> method) Create a request for the given service method.static ServiceInvoker<Req,Resp> Single <GrpcClientRequest<Req, Resp>> rxInvoker(ServiceMethod<Resp, Req> method) Create a request for the given service method.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ServiceInvoker
-
ServiceInvoker
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
invoker
Create a request for the given service method.- Parameters:
method- the gRPC service method- Returns:
- a future request
-
rxInvoker
Create a request for the given service method.- Parameters:
method- the gRPC service method- Returns:
- a future request
-
newInstance
-