1 // Copyright (c) 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef QUICHE_QUIC_QBONE_BONNET_ICMP_REACHABLE_INTERFACE_H_ 6 #define QUICHE_QUIC_QBONE_BONNET_ICMP_REACHABLE_INTERFACE_H_ 7 8 namespace quic { 9 10 class IcmpReachableInterface { 11 public: 12 IcmpReachableInterface() = default; 13 virtual ~IcmpReachableInterface() = default; 14 15 IcmpReachableInterface(const IcmpReachableInterface&) = delete; 16 IcmpReachableInterface& operator=(const IcmpReachableInterface&) = delete; 17 18 IcmpReachableInterface(IcmpReachableInterface&&) = delete; 19 IcmpReachableInterface& operator=(IcmpReachableInterface&&) = delete; 20 21 // Initializes this reachability probe. 22 virtual bool Init() = 0; 23 }; 24 25 } // namespace quic 26 27 #endif // QUICHE_QUIC_QBONE_BONNET_ICMP_REACHABLE_INTERFACE_H_ 28