Package io.grpc.lookup.v1
Class RouteLookupServiceGrpc.RouteLookupServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- 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 io.grpc.stub.AbstractStub
AbstractStub.StubFactory<T extends AbstractStub<T>>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RouteLookupServiceBlockingStub(Channel channel, CallOptions callOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RouteLookupServiceGrpc.RouteLookupServiceBlockingStub
build(Channel channel, CallOptions callOptions)
Returns a new stub with the given channel for the provided method configurations.RouteLookupResponse
routeLookup(RouteLookupRequest request)
Lookup returns a target for a single key.-
Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Constructor Detail
-
RouteLookupServiceBlockingStub
private RouteLookupServiceBlockingStub(Channel channel, CallOptions callOptions)
-
-
Method Detail
-
build
protected RouteLookupServiceGrpc.RouteLookupServiceBlockingStub build(Channel channel, CallOptions callOptions)
Description copied from class:AbstractStub
Returns a new stub with the given channel for the provided method configurations.- Specified by:
build
in 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
public RouteLookupResponse routeLookup(RouteLookupRequest request)
Lookup returns a target for a single key.
-
-