DescriptionAdd QuicDataChannel and QuicDataTransport classes
QuicDataChannel implements DataChannelInterface. It
replaces SCTP data channels by using a QuicTransportChannel
to create a ReliableQuicStream for each message.
QuicDataChannel only implements unordered, reliable delivery
for the initial implementation and does not send a hello message.
QuicDataTransport is a helper class that dispatches each incoming
ReliableQuicStream to a QuicDataChannel when the remote
peer receives a message by parsing the data channel id and message id
from the message header. It is also responsible for encoding the header
before QuicDataChannel sends the message.
Split from CL https://codereview.chromium.org/1844803002/.
BUG=
Committed: https://crrev.com/9bc517f1237aa77051412c4a9d32cbe9d98120a9
Cr-Commit-Position: refs/heads/master@{#12574}
Patch Set 1 : #
Total comments: 26
Patch Set 2 : #Patch Set 3 : Change QuicDataTransport constructor to make implementing the HELLO message easier #Patch Set 4 : Make QuicDataChannel::Message public so QuicDataTransport can use it for handling messages #
Total comments: 22
Patch Set 5 : Respond to pthatcher's comments #Patch Set 6 : Rename SetBufferedAmount to SetBufferedAmount_w #Patch Set 7 : Sync to upstream #Patch Set 8 : Fix minor mistakes #
Total comments: 2
Patch Set 9 : Make SetTransportChannel_w return the new data channel state #Patch Set 10 : Make changes before committing #
Messages
Total messages: 34 (22 generated)
|