Class RouteLookupServiceGrpc.RouteLookupServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<RouteLookupServiceGrpc.RouteLookupServiceStub>
io.grpc.stub.AbstractAsyncStub<RouteLookupServiceGrpc.RouteLookupServiceStub>
io.grpc.lookup.v1.RouteLookupServiceGrpc.RouteLookupServiceStub
- Enclosing class:
RouteLookupServiceGrpc
public static final class RouteLookupServiceGrpc.RouteLookupServiceStub
extends AbstractAsyncStub<RouteLookupServiceGrpc.RouteLookupServiceStub>
A stub to allow clients to do asynchronous rpc calls to service RouteLookupService.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractStub
AbstractStub.StubFactory<T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRouteLookupServiceStub(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.voidrouteLookup(RouteLookupRequest request, StreamObserver<RouteLookupResponse> responseObserver) Lookup returns a target for a single key.Methods inherited from class AbstractAsyncStub
newStub, newStub
-
Constructor Details
-
RouteLookupServiceStub
-
-
Method Details
-
build
protected RouteLookupServiceGrpc.RouteLookupServiceStub 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.RouteLookupServiceStub>- 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 void routeLookup(RouteLookupRequest request, StreamObserver<RouteLookupResponse> responseObserver) Lookup returns a target for a single key.
-