// Copyright (c) 2012 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_TEST_TOOLS_SIMULATOR_LINK_H_ #define QUICHE_QUIC_TEST_TOOLS_SIMULATOR_LINK_H_ #include <utility> #include "quiche/quic/core/crypto/quic_random.h" #include "quiche/quic/core/quic_bandwidth.h" #include "quiche/quic/test_tools/simulator/actor.h" #include "quiche/quic/test_tools/simulator/port.h" #include "quiche/common/quiche_circular_deque.h" namespace quic { namespace simulator { // A reliable simplex link between two endpoints with constrained bandwidth. A // few microseconds of random delay are added for every packet to avoid // synchronization issues. class OneWayLink : public Actor, public ConstrainedPortInterface { … }; // A full-duplex link between two endpoints, functionally equivalent to two // OneWayLink objects tied together. class SymmetricLink { … }; } // namespace simulator } // namespace quic #endif // QUICHE_QUIC_TEST_TOOLS_SIMULATOR_LINK_H_