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