#include "quiche/quic/test_tools/quic_session_peer.h"
#include <memory>
#include <utility>
#include "absl/container/flat_hash_map.h"
#include "quiche/quic/core/quic_session.h"
#include "quiche/quic/core/quic_stream.h"
#include "quiche/quic/core/quic_utils.h"
namespace quic {
namespace test {
QuicStreamId QuicSessionPeer::GetNextOutgoingBidirectionalStreamId(
QuicSession* session) { … }
QuicStreamId QuicSessionPeer::GetNextOutgoingUnidirectionalStreamId(
QuicSession* session) { … }
void QuicSessionPeer::SetNextOutgoingBidirectionalStreamId(QuicSession* session,
QuicStreamId id) { … }
void QuicSessionPeer::SetMaxOpenIncomingStreams(QuicSession* session,
uint32_t max_streams) { … }
void QuicSessionPeer::SetMaxOpenIncomingBidirectionalStreams(
QuicSession* session, uint32_t max_streams) { … }
void QuicSessionPeer::SetMaxOpenIncomingUnidirectionalStreams(
QuicSession* session, uint32_t max_streams) { … }
void QuicSessionPeer::SetMaxOpenOutgoingStreams(QuicSession* session,
uint32_t max_streams) { … }
void QuicSessionPeer::SetMaxOpenOutgoingBidirectionalStreams(
QuicSession* session, uint32_t max_streams) { … }
void QuicSessionPeer::SetMaxOpenOutgoingUnidirectionalStreams(
QuicSession* session, uint32_t max_streams) { … }
QuicCryptoStream* QuicSessionPeer::GetMutableCryptoStream(
QuicSession* session) { … }
QuicWriteBlockedListInterface* QuicSessionPeer::GetWriteBlockedStreams(
QuicSession* session) { … }
QuicStream* QuicSessionPeer::GetOrCreateStream(QuicSession* session,
QuicStreamId stream_id) { … }
absl::flat_hash_map<QuicStreamId, QuicStreamOffset>&
QuicSessionPeer::GetLocallyClosedStreamsHighestOffset(QuicSession* session) { … }
QuicSession::StreamMap& QuicSessionPeer::stream_map(QuicSession* session) { … }
const QuicSession::ClosedStreams& QuicSessionPeer::closed_streams(
QuicSession* session) { … }
void QuicSessionPeer::ActivateStream(QuicSession* session,
std::unique_ptr<QuicStream> stream) { … }
bool QuicSessionPeer::IsStreamClosed(QuicSession* session, QuicStreamId id) { … }
bool QuicSessionPeer::IsStreamCreated(QuicSession* session, QuicStreamId id) { … }
bool QuicSessionPeer::IsStreamAvailable(QuicSession* session, QuicStreamId id) { … }
QuicStream* QuicSessionPeer::GetStream(QuicSession* session, QuicStreamId id) { … }
bool QuicSessionPeer::IsStreamWriteBlocked(QuicSession* session,
QuicStreamId id) { … }
QuicAlarm* QuicSessionPeer::GetCleanUpClosedStreamsAlarm(QuicSession* session) { … }
LegacyQuicStreamIdManager* QuicSessionPeer::GetStreamIdManager(
QuicSession* session) { … }
UberQuicStreamIdManager* QuicSessionPeer::ietf_streamid_manager(
QuicSession* session) { … }
QuicStreamIdManager* QuicSessionPeer::ietf_bidirectional_stream_id_manager(
QuicSession* session) { … }
QuicStreamIdManager* QuicSessionPeer::ietf_unidirectional_stream_id_manager(
QuicSession* session) { … }
PendingStream* QuicSessionPeer::GetPendingStream(QuicSession* session,
QuicStreamId stream_id) { … }
void QuicSessionPeer::set_is_configured(QuicSession* session, bool value) { … }
void QuicSessionPeer::SetPerspective(QuicSession* session,
Perspective perspective) { … }
size_t QuicSessionPeer::GetNumOpenDynamicStreams(QuicSession* session) { … }
size_t QuicSessionPeer::GetNumDrainingStreams(QuicSession* session) { … }
QuicAlarm* QuicSessionPeer::GetStreamCountResetAlarm(QuicSession* session) { … }
}
}