Package io.quarkus.grpc.runtime.stork
Class StorkGrpcChannel
- java.lang.Object
-
- io.grpc.Channel
-
- io.quarkus.grpc.runtime.stork.StorkGrpcChannel
-
- All Implemented Interfaces:
AutoCloseable
public class StorkGrpcChannel extends io.grpc.Channel implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description StorkGrpcChannel(io.vertx.grpc.client.GrpcClient client, String serviceName, StorkConfig stork, Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringauthority()voidclose()<RequestT,ResponseT>
io.grpc.ClientCall<RequestT,ResponseT>newCall(io.grpc.MethodDescriptor<RequestT,ResponseT> methodDescriptor, io.grpc.CallOptions callOptions)StringtoString()
-
-
-
Constructor Detail
-
StorkGrpcChannel
public StorkGrpcChannel(io.vertx.grpc.client.GrpcClient client, String serviceName, StorkConfig stork, Executor executor)
-
-
Method Detail
-
newCall
public <RequestT,ResponseT> io.grpc.ClientCall<RequestT,ResponseT> newCall(io.grpc.MethodDescriptor<RequestT,ResponseT> methodDescriptor, io.grpc.CallOptions callOptions)- Specified by:
newCallin classio.grpc.Channel
-
authority
public String authority()
- Specified by:
authorityin classio.grpc.Channel
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-