blob: 06010f3a637d19528d1914fda9f6eb4d49da7fb3 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
namespace debug_ipc {
// Simple observer class for readable/writable state changes on some
// communication or storage channel.
class FDWatcher {
public:
virtual void OnFDReadable(int fd) {}
virtual void OnFDWritable(int fd) {}
virtual void OnFDError(int fd) {}
};
} // namespace debug_ipc