public abstract class ListenerDiscoveryService extends Object implements com.google.protobuf.Service
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.Protobuf service
envoy.service.listener.v3.ListenerDiscoveryService| Modifier and Type | Class and Description |
|---|---|
static interface |
ListenerDiscoveryService.BlockingInterface |
static interface |
ListenerDiscoveryService.Interface |
static class |
ListenerDiscoveryService.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
ListenerDiscoveryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
abstract void |
deltaListeners(com.google.protobuf.RpcController controller,
DeltaDiscoveryRequest request,
com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
rpc DeltaListeners(stream .envoy.service.discovery.v3.DeltaDiscoveryRequest) returns (stream .envoy.service.discovery.v3.DeltaDiscoveryResponse); |
abstract void |
fetchListeners(com.google.protobuf.RpcController controller,
DiscoveryRequest request,
com.google.protobuf.RpcCallback<DiscoveryResponse> done)
rpc FetchListeners(.envoy.service.discovery.v3.DiscoveryRequest) returns (.envoy.service.discovery.v3.DiscoveryResponse) { ... } |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
static ListenerDiscoveryService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(ListenerDiscoveryService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(ListenerDiscoveryService.Interface impl) |
static ListenerDiscoveryService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
streamListeners(com.google.protobuf.RpcController controller,
DiscoveryRequest request,
com.google.protobuf.RpcCallback<DiscoveryResponse> done)
rpc StreamListeners(stream .envoy.service.discovery.v3.DiscoveryRequest) returns (stream .envoy.service.discovery.v3.DiscoveryResponse); |
public static com.google.protobuf.Service newReflectiveService(ListenerDiscoveryService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(ListenerDiscoveryService.BlockingInterface impl)
public abstract void deltaListeners(com.google.protobuf.RpcController controller,
DeltaDiscoveryRequest request,
com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
rpc DeltaListeners(stream .envoy.service.discovery.v3.DeltaDiscoveryRequest) returns (stream .envoy.service.discovery.v3.DeltaDiscoveryResponse);public abstract void streamListeners(com.google.protobuf.RpcController controller,
DiscoveryRequest request,
com.google.protobuf.RpcCallback<DiscoveryResponse> done)
rpc StreamListeners(stream .envoy.service.discovery.v3.DiscoveryRequest) returns (stream .envoy.service.discovery.v3.DiscoveryResponse);public abstract void fetchListeners(com.google.protobuf.RpcController controller,
DiscoveryRequest request,
com.google.protobuf.RpcCallback<DiscoveryResponse> done)
rpc FetchListeners(.envoy.service.discovery.v3.DiscoveryRequest) returns (.envoy.service.discovery.v3.DiscoveryResponse) { ... }public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Servicepublic final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface com.google.protobuf.Servicepublic static ListenerDiscoveryService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static ListenerDiscoveryService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2018–2021 The Envoy Project. All rights reserved.