AdsDiscoveryRequestStreamObserver is an implementation of DiscoveryRequestStreamObserver tailored for
ADS streams, which handle multiple watches for all TYPE_URLS.ProtoResourcesSerializer.ExecutorGroup which
always returns MoreExecutors.directExecutor().Any.pack(Message) method on Message.DiscoveryRequestStreamObserver provides the base implementation for XDS stream handling.DiscoveryServerCallbacks defines the callbacks that are exposed by the DiscoveryServer.ExecutorGroup is responsible for providing the Executor's to use
via its ExecutorGroup.next() method.ConfigWatcher.ConfigWatcher.ConfigWatcher.ConfigWatcher.ConfigWatcher.ConfigWatcher.Executor to use, which in this case is
always MoreExecutors.directExecutor().Executor to use.onStreamClose is called just before the bi-directional gRPC stream is closed successfully for an envoy
instance.onStreamCloseWithError is called just before the bi-directional gRPC stream is closed for an envoy instance
due to some error that has occurred.onStreamOpen is called when the bi-directional gRPC stream is opened for an envoy instance, before the
initial DiscoveryRequest is processed.onStreamRequest is called for each DiscoveryRequest that is received on the stream.onStreamResponse is called just before each DiscoveryResponse that is sent on the stream.Snapshots from the cache that are no longer referenced by any streams.XdsDiscoveryRequestStreamObserver is a lightweight implementation of DiscoveryRequestStreamObserver
tailored for non-ADS streams which handle a single watch.Copyright © 2018–2019 The Envoy Project. All rights reserved.