#include "quiche/quic/core/uber_quic_stream_id_manager.h"
#include <string>
#include "quiche/quic/core/quic_session.h"
#include "quiche/quic/core/quic_utils.h"
namespace quic {
UberQuicStreamIdManager::UberQuicStreamIdManager(
Perspective perspective, ParsedQuicVersion version,
QuicStreamIdManager::DelegateInterface* delegate,
QuicStreamCount max_open_outgoing_bidirectional_streams,
QuicStreamCount max_open_outgoing_unidirectional_streams,
QuicStreamCount max_open_incoming_bidirectional_streams,
QuicStreamCount max_open_incoming_unidirectional_streams)
: … { … }
bool UberQuicStreamIdManager::MaybeAllowNewOutgoingBidirectionalStreams(
QuicStreamCount max_open_streams) { … }
bool UberQuicStreamIdManager::MaybeAllowNewOutgoingUnidirectionalStreams(
QuicStreamCount max_open_streams) { … }
void UberQuicStreamIdManager::SetMaxOpenIncomingBidirectionalStreams(
QuicStreamCount max_open_streams) { … }
void UberQuicStreamIdManager::SetMaxOpenIncomingUnidirectionalStreams(
QuicStreamCount max_open_streams) { … }
bool UberQuicStreamIdManager::CanOpenNextOutgoingBidirectionalStream() const { … }
bool UberQuicStreamIdManager::CanOpenNextOutgoingUnidirectionalStream() const { … }
QuicStreamId UberQuicStreamIdManager::GetNextOutgoingBidirectionalStreamId() { … }
QuicStreamId UberQuicStreamIdManager::GetNextOutgoingUnidirectionalStreamId() { … }
bool UberQuicStreamIdManager::MaybeIncreaseLargestPeerStreamId(
QuicStreamId id, std::string* error_details) { … }
void UberQuicStreamIdManager::OnStreamClosed(QuicStreamId id) { … }
bool UberQuicStreamIdManager::OnStreamsBlockedFrame(
const QuicStreamsBlockedFrame& frame, std::string* error_details) { … }
bool UberQuicStreamIdManager::IsAvailableStream(QuicStreamId id) const { … }
void UberQuicStreamIdManager::StopIncreasingIncomingMaxStreams() { … }
void UberQuicStreamIdManager::MaybeSendMaxStreamsFrame() { … }
QuicStreamCount
UberQuicStreamIdManager::GetMaxAllowdIncomingBidirectionalStreams() const { … }
QuicStreamCount
UberQuicStreamIdManager::GetMaxAllowdIncomingUnidirectionalStreams() const { … }
QuicStreamId UberQuicStreamIdManager::GetLargestPeerCreatedStreamId(
bool unidirectional) const { … }
QuicStreamId UberQuicStreamIdManager::next_outgoing_bidirectional_stream_id()
const { … }
QuicStreamId UberQuicStreamIdManager::next_outgoing_unidirectional_stream_id()
const { … }
QuicStreamCount UberQuicStreamIdManager::max_outgoing_bidirectional_streams()
const { … }
QuicStreamCount UberQuicStreamIdManager::max_outgoing_unidirectional_streams()
const { … }
QuicStreamCount UberQuicStreamIdManager::max_incoming_bidirectional_streams()
const { … }
QuicStreamCount UberQuicStreamIdManager::max_incoming_unidirectional_streams()
const { … }
QuicStreamCount
UberQuicStreamIdManager::advertised_max_incoming_bidirectional_streams() const { … }
QuicStreamCount
UberQuicStreamIdManager::advertised_max_incoming_unidirectional_streams()
const { … }
QuicStreamCount UberQuicStreamIdManager::outgoing_bidirectional_stream_count()
const { … }
QuicStreamCount UberQuicStreamIdManager::outgoing_unidirectional_stream_count()
const { … }
}