Package com.linecorp.armeria.client.grpc
Interface GrpcClientStubFactory
public interface GrpcClientStubFactory
A factory that creates a gRPC client stub.
-
Method Summary
Modifier and TypeMethodDescriptionfindServiceDescriptor
(Class<?> clientType) Returns aServiceDescriptor
for theclientType
.newClientStub
(Class<?> clientType, Channel channel) Returns a gRPC client stub from the specifiedclientType
andChannel
.
-
Method Details
-
findServiceDescriptor
-
newClientStub
Returns a gRPC client stub from the specifiedclientType
andChannel
.
-