Class RouteLookupServiceGrpc.RouteLookupServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<RouteLookupServiceGrpc.RouteLookupServiceFutureStub>
io.grpc.stub.AbstractFutureStub<RouteLookupServiceGrpc.RouteLookupServiceFutureStub>
io.grpc.lookup.v1.RouteLookupServiceGrpc.RouteLookupServiceFutureStub
- Enclosing class:
RouteLookupServiceGrpc
public static final class RouteLookupServiceGrpc.RouteLookupServiceFutureStub
extends AbstractFutureStub<RouteLookupServiceGrpc.RouteLookupServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service RouteLookupService.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractStub
AbstractStub.StubFactory<T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRouteLookupServiceFutureStub(Channel channel, CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild(Channel channel, CallOptions callOptions) Returns a new stub with the given channel for the provided method configurations.com.google.common.util.concurrent.ListenableFuture<RouteLookupResponse> routeLookup(RouteLookupRequest request) Lookup returns a target for a single key.Methods inherited from class AbstractFutureStub
newStub, newStub
-
Constructor Details
-
RouteLookupServiceFutureStub
-
-
Method Details
-
build
protected RouteLookupServiceGrpc.RouteLookupServiceFutureStub build(Channel channel, CallOptions callOptions) Description copied from class:AbstractStubReturns a new stub with the given channel for the provided method configurations.- Specified by:
buildin classAbstractStub<RouteLookupServiceGrpc.RouteLookupServiceFutureStub>- Parameters:
channel- the channel that this stub will use to do communicationscallOptions- the runtime call options to be applied to every call on this stub
-
routeLookup
public com.google.common.util.concurrent.ListenableFuture<RouteLookupResponse> routeLookup(RouteLookupRequest request) Lookup returns a target for a single key.
-