proxygen
|
#include <HPACKQueue.h>
Public Member Functions | |
HPACKQueue (HPACKCodec &codec) | |
void | enqueueHeaderBlock (uint32_t seqn, std::unique_ptr< folly::IOBuf > block, size_t length, HPACK::StreamingCallback *streamingCb, bool oooOk) |
uint64_t | getHolBlockCount () const |
uint64_t | getQueuedBytes () const |
Public Member Functions inherited from folly::DestructorCheck | |
virtual | ~DestructorCheck () |
Private Member Functions | |
bool | decodeBlock (int32_t seqn, std::unique_ptr< folly::IOBuf > block, size_t length, HPACK::StreamingCallback *cb, bool ooo) |
void | drainQueue () |
Private Attributes | |
size_t | nextSeqn_ {0} |
uint64_t | holBlockCount_ {0} |
uint64_t | queuedBytes_ {0} |
std::deque< std::tuple< uint32_t, std::unique_ptr< folly::IOBuf >, size_t, HPACK::StreamingCallback * > > | queue_ |
HPACKCodec & | codec_ |
Definition at line 21 of file HPACKQueue.h.
|
inlineexplicit |
Definition at line 23 of file HPACKQueue.h.
|
inlineprivate |
Definition at line 85 of file HPACKQueue.h.
References c, codec_, proxygen::HPACKCodec::decodeStreaming(), and nextSeqn_.
Referenced by drainQueue(), and enqueueHeaderBlock().
|
inlineprivate |
Definition at line 103 of file HPACKQueue.h.
References decodeBlock(), folly::gen::move, cpp.ast::next(), nextSeqn_, queue_, and queuedBytes_.
Referenced by enqueueHeaderBlock().
|
inline |
Definition at line 26 of file HPACKQueue.h.
References proxygen::HPACK::BAD_SEQUENCE_NUMBER, decodeBlock(), drainQueue(), holBlockCount_, int32_t, folly::gen::move, nextSeqn_, proxygen::HPACK::StreamingCallback::onDecodeError(), queue_, and queuedBytes_.
Referenced by proxygen::compress::HPACKScheme::decode().
|
inline |
Definition at line 73 of file HPACKQueue.h.
References holBlockCount_.
Referenced by proxygen::compress::HPACKScheme::getHolBlockCount().
|
inline |
Definition at line 77 of file HPACKQueue.h.
References queuedBytes_.
Referenced by proxygen::compress::HPACKScheme::decode(), and proxygen::compress::HPACKScheme::~HPACKScheme().
|
private |
Definition at line 123 of file HPACKQueue.h.
Referenced by decodeBlock().
|
private |
Definition at line 119 of file HPACKQueue.h.
Referenced by enqueueHeaderBlock(), and getHolBlockCount().
|
private |
Definition at line 118 of file HPACKQueue.h.
Referenced by decodeBlock(), drainQueue(), and enqueueHeaderBlock().
|
private |
Definition at line 122 of file HPACKQueue.h.
Referenced by drainQueue(), and enqueueHeaderBlock().
|
private |
Definition at line 120 of file HPACKQueue.h.
Referenced by drainQueue(), enqueueHeaderBlock(), and getQueuedBytes().