#include "quiche/quic/test_tools/simulator/simulator.h"
#include <utility>
#include "quiche/quic/core/crypto/quic_random.h"
#include "quiche/quic/platform/api/quic_logging.h"
namespace quic {
namespace simulator {
Simulator::Simulator() : … { … }
Simulator::Simulator(QuicRandom* random_generator)
: … { … }
Simulator::~Simulator() { … }
Simulator::Clock::Clock() : … { … }
QuicTime Simulator::Clock::ApproximateNow() const { … }
QuicTime Simulator::Clock::Now() const { … }
QuicWallTime Simulator::Clock::WallNow() const { … }
void Simulator::AddActor(Actor* actor) { … }
void Simulator::RemoveActor(Actor* actor) { … }
void Simulator::Schedule(Actor* actor, QuicTime new_time) { … }
void Simulator::Unschedule(Actor* actor) { … }
const QuicClock* Simulator::GetClock() const { … }
QuicRandom* Simulator::GetRandomGenerator() { … }
quiche::QuicheBufferAllocator* Simulator::GetStreamSendBufferAllocator() { … }
QuicAlarmFactory* Simulator::GetAlarmFactory() { … }
Simulator::RunForDelegate::RunForDelegate(bool* run_for_should_stop)
: … { … }
void Simulator::RunForDelegate::OnAlarm() { … }
void Simulator::RunFor(QuicTime::Delta time_span) { … }
void Simulator::HandleNextScheduledActor() { … }
}
}