#include "quiche/quic/test_tools/quic_dispatcher_peer.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "quiche/quic/core/quic_dispatcher.h"
#include "quiche/quic/core/quic_packet_writer_wrapper.h"
namespace quic {
namespace test {
QuicTimeWaitListManager* QuicDispatcherPeer::GetTimeWaitListManager(
QuicDispatcher* dispatcher) { … }
void QuicDispatcherPeer::SetTimeWaitListManager(
QuicDispatcher* dispatcher,
QuicTimeWaitListManager* time_wait_list_manager) { … }
void QuicDispatcherPeer::UseWriter(QuicDispatcher* dispatcher,
QuicPacketWriterWrapper* writer) { … }
QuicPacketWriter* QuicDispatcherPeer::GetWriter(QuicDispatcher* dispatcher) { … }
QuicCompressedCertsCache* QuicDispatcherPeer::GetCache(
QuicDispatcher* dispatcher) { … }
QuicConnectionHelperInterface* QuicDispatcherPeer::GetHelper(
QuicDispatcher* dispatcher) { … }
QuicAlarmFactory* QuicDispatcherPeer::GetAlarmFactory(
QuicDispatcher* dispatcher) { … }
QuicBlockedWriterList* QuicDispatcherPeer::GetWriteBlockedList(
QuicDispatcher* dispatcher) { … }
QuicErrorCode QuicDispatcherPeer::GetAndClearLastError(
QuicDispatcher* dispatcher) { … }
QuicBufferedPacketStore* QuicDispatcherPeer::GetBufferedPackets(
QuicDispatcher* dispatcher) { … }
void QuicDispatcherPeer::set_new_sessions_allowed_per_event_loop(
QuicDispatcher* dispatcher, size_t num_session_allowed) { … }
void QuicDispatcherPeer::SendPublicReset(
QuicDispatcher* dispatcher, const QuicSocketAddress& self_address,
const QuicSocketAddress& peer_address, QuicConnectionId connection_id,
bool ietf_quic, size_t received_packet_length,
std::unique_ptr<QuicPerPacketContext> packet_context) { … }
std::unique_ptr<QuicPerPacketContext> QuicDispatcherPeer::GetPerPacketContext(
QuicDispatcher* dispatcher) { … }
void QuicDispatcherPeer::RestorePerPacketContext(
QuicDispatcher* dispatcher, std::unique_ptr<QuicPerPacketContext> context) { … }
std::string QuicDispatcherPeer::SelectAlpn(
QuicDispatcher* dispatcher, const std::vector<std::string>& alpns) { … }
QuicSession* QuicDispatcherPeer::GetFirstSessionIfAny(
QuicDispatcher* dispatcher) { … }
const QuicSession* QuicDispatcherPeer::FindSession(
const QuicDispatcher* dispatcher, QuicConnectionId id) { … }
QuicAlarm* QuicDispatcherPeer::GetClearResetAddressesAlarm(
QuicDispatcher* dispatcher) { … }
}
}