Package com.linecorp.armeria.client.grpc
Interface GrpcClientStubFactory
public interface GrpcClientStubFactory
A factory that creates a gRPC client stub.
-
Method Summary
Modifier and Type Method Description ServiceDescriptor
findServiceDescriptor(Class<?> clientType)
Returns aServiceDescriptor
for theclientType
.Object
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
.
-