Class 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 service envoy.api.v2.ListenerDiscoveryService
    • Constructor Detail

      • ListenerDiscoveryService

        protected ListenerDiscoveryService()
    • Method Detail

      • deltaListeners

        public abstract void deltaListeners​(com.google.protobuf.RpcController controller,
                                            DeltaDiscoveryRequest request,
                                            com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
        rpc DeltaListeners(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse);
      • streamListeners

        public abstract void streamListeners​(com.google.protobuf.RpcController controller,
                                             DiscoveryRequest request,
                                             com.google.protobuf.RpcCallback<DiscoveryResponse> done)
        rpc StreamListeners(stream .envoy.api.v2.DiscoveryRequest) returns (stream .envoy.api.v2.DiscoveryResponse);
      • fetchListeners

        public abstract void fetchListeners​(com.google.protobuf.RpcController controller,
                                            DiscoveryRequest request,
                                            com.google.protobuf.RpcCallback<DiscoveryResponse> done)
        rpc FetchListeners(.envoy.api.v2.DiscoveryRequest) returns (.envoy.api.v2.DiscoveryResponse) { ... }
      • getDescriptor

        public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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:
        callMethod in interface com.google.protobuf.Service
      • getRequestPrototype

        public final com.google.protobuf.Message getRequestPrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getRequestPrototype in interface com.google.protobuf.Service
      • getResponsePrototype

        public final com.google.protobuf.Message getResponsePrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getResponsePrototype in interface com.google.protobuf.Service