Package io.envoyproxy.envoy.api.v2
Class ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceFutureStub>
io.envoyproxy.envoy.api.v2.ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceFutureStub
- Enclosing class:
- ListenerDiscoveryServiceGrpc
public static final class ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ListenerDiscoveryService.
The Envoy instance initiates an RPC at startup to discover a list of listeners. Updates are delivered via streaming from the LDS server and consist of a complete update of all listeners. Existing connections will be allowed to drain from listeners that are no longer present.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<DiscoveryResponse>fetchListeners(DiscoveryRequest request) Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceFutureStub>
-
fetchListeners
public com.google.common.util.concurrent.ListenableFuture<DiscoveryResponse> fetchListeners(DiscoveryRequest request)
-