#include "quiche/quic/test_tools/simulator/queue.h"
#include <memory>
#include <string>
#include <utility>
#include "quiche/quic/platform/api/quic_logging.h"
#include "quiche/quic/test_tools/simulator/simulator.h"
namespace quic {
namespace simulator {
Queue::ListenerInterface::~ListenerInterface() { … }
Queue::Queue(Simulator* simulator, std::string name, QuicByteCount capacity)
: … { … }
Queue::~Queue() { … }
void Queue::set_tx_port(ConstrainedPortInterface* port) { … }
void Queue::AcceptPacket(std::unique_ptr<Packet> packet) { … }
void Queue::Act() { … }
void Queue::EnableAggregation(QuicByteCount aggregation_threshold,
QuicTime::Delta aggregation_timeout) { … }
Queue::AggregationAlarmDelegate::AggregationAlarmDelegate(Queue* queue)
: … { … }
void Queue::AggregationAlarmDelegate::OnAlarm() { … }
Queue::EnqueuedPacket::EnqueuedPacket(std::unique_ptr<Packet> packet,
AggregationBundleNumber bundle)
: … { … }
Queue::EnqueuedPacket::EnqueuedPacket(EnqueuedPacket&& other) = default;
Queue::EnqueuedPacket::~EnqueuedPacket() = default;
void Queue::NextBundle() { … }
void Queue::ScheduleNextPacketDequeue() { … }
}
}