Class ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceStub>
io.envoyproxy.envoy.service.listener.v3.ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceStub
- Enclosing class:
- ListenerDiscoveryServiceGrpc
public static final class ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceStub
extends io.grpc.stub.AbstractAsyncStub<ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceStub>
A stub to allow clients to do asynchronous 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) io.grpc.stub.StreamObserver<DeltaDiscoveryRequest>deltaListeners(io.grpc.stub.StreamObserver<DeltaDiscoveryResponse> responseObserver) voidfetchListeners(DiscoveryRequest request, io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) io.grpc.stub.StreamObserver<DiscoveryRequest>streamListeners(io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.ListenerDiscoveryServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ListenerDiscoveryServiceGrpc.ListenerDiscoveryServiceStub>
-
deltaListeners
public io.grpc.stub.StreamObserver<DeltaDiscoveryRequest> deltaListeners(io.grpc.stub.StreamObserver<DeltaDiscoveryResponse> responseObserver) -
streamListeners
public io.grpc.stub.StreamObserver<DiscoveryRequest> streamListeners(io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) -
fetchListeners
public void fetchListeners(DiscoveryRequest request, io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver)
-