class ConnectivityStateWatcherInterface
: public InternallyRefCounted<ConnectivityStateWatcherInterface> {
public:
- virtual ~ConnectivityStateWatcherInterface() = default;
+ ~ConnectivityStateWatcherInterface() override = default;
// Notifies the watcher that the state has changed to new_state.
virtual void Notify(grpc_connectivity_state new_state,
class AsyncConnectivityStateWatcherInterface
: public ConnectivityStateWatcherInterface {
public:
- virtual ~AsyncConnectivityStateWatcherInterface() = default;
+ ~AsyncConnectivityStateWatcherInterface() override = default;
// Schedules a closure on the ExecCtx to invoke
// OnConnectivityStateChange() asynchronously.
void Notify(grpc_connectivity_state new_state,
- const absl::Status& status) override final;
+ const absl::Status& status) final;
protected:
class Notifier;