Class ListenerDiscoveryService
- java.lang.Object
-
- io.envoyproxy.envoy.service.listener.v3.ListenerDiscoveryService
-
- All Implemented Interfaces:
com.google.protobuf.Service
- Direct Known Subclasses:
ListenerDiscoveryService.Stub
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 serviceenvoy.service.listener.v3.ListenerDiscoveryService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListenerDiscoveryService.BlockingInterfacestatic interfaceListenerDiscoveryService.Interfacestatic classListenerDiscoveryService.Stub
-
Constructor Summary
Constructors Modifier Constructor Description protectedListenerDiscoveryService()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcallMethod(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 voiddeltaListeners(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 voidfetchListeners(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.ServiceDescriptorgetDescriptor()com.google.protobuf.Descriptors.ServiceDescriptorgetDescriptorForType()com.google.protobuf.MessagegetRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)com.google.protobuf.MessagegetResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)static ListenerDiscoveryService.BlockingInterfacenewBlockingStub(com.google.protobuf.BlockingRpcChannel channel)static com.google.protobuf.BlockingServicenewReflectiveBlockingService(ListenerDiscoveryService.BlockingInterface impl)static com.google.protobuf.ServicenewReflectiveService(ListenerDiscoveryService.Interface impl)static ListenerDiscoveryService.StubnewStub(com.google.protobuf.RpcChannel channel)abstract voidstreamListeners(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);
-
-
-
Method Detail
-
newReflectiveService
public static com.google.protobuf.Service newReflectiveService(ListenerDiscoveryService.Interface impl)
-
newReflectiveBlockingService
public static com.google.protobuf.BlockingService newReflectiveBlockingService(ListenerDiscoveryService.BlockingInterface impl)
-
deltaListeners
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);
-
streamListeners
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);
-
fetchListeners
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) { ... }
-
getDescriptor
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Service
-
callMethod
public 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)- Specified by:
callMethodin interfacecom.google.protobuf.Service
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getRequestPrototypein interfacecom.google.protobuf.Service
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getResponsePrototypein interfacecom.google.protobuf.Service
-
newStub
public static ListenerDiscoveryService.Stub newStub(com.google.protobuf.RpcChannel channel)
-
newBlockingStub
public static ListenerDiscoveryService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
-
-