public abstract class StandardJavaGrpcStubFactory extends Object implements StubFactory
| Constructor and Description |
|---|
StandardJavaGrpcStubFactory() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.stub.AbstractStub<?> |
createStub(Class<? extends io.grpc.stub.AbstractStub<?>> stubType,
io.grpc.Channel channel)
Creates a stub of the given type.
|
protected abstract String |
getFactoryMethodName()
Derives the name of the factory method from the given stub type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisApplicablepublic io.grpc.stub.AbstractStub<?> createStub(Class<? extends io.grpc.stub.AbstractStub<?>> stubType, io.grpc.Channel channel)
StubFactorycreateStub in interface StubFactorystubType - The type of the stub to create.channel - The channel used to create the stub.protected abstract String getFactoryMethodName()