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