proxygen
proxygen::HPACKTableInfo Struct Reference

#include <HPACKTableInfo.h>

Public Member Functions

 HPACKTableInfo (uint32_t egressHeaderTableSize, uint32_t egressBytesStored, uint32_t egressHeadersStored, uint32_t ingressHeaderTableSize, uint32_t ingressBytesStored, uint32_t ingressHeadersStored)
 
 HPACKTableInfo ()
 
bool operator== (const HPACKTableInfo &tableInfo) const
 

Public Attributes

uint32_t egressHeaderTableSize_ {0}
 
uint32_t egressBytesStored_ {0}
 
uint32_t egressHeadersStored_ {0}
 
uint32_t ingressHeaderTableSize_ {0}
 
uint32_t ingressBytesStored_ {0}
 
uint32_t ingressHeadersStored_ {0}
 

Detailed Description

Definition at line 19 of file HPACKTableInfo.h.

Constructor & Destructor Documentation

proxygen::HPACKTableInfo::HPACKTableInfo ( uint32_t  egressHeaderTableSize,
uint32_t  egressBytesStored,
uint32_t  egressHeadersStored,
uint32_t  ingressHeaderTableSize,
uint32_t  ingressBytesStored,
uint32_t  ingressHeadersStored 
)
inline

Definition at line 30 of file HPACKTableInfo.h.

35  :
36  egressHeaderTableSize_(egressHeaderTableSize),
37  egressBytesStored_(egressBytesStored),
38  egressHeadersStored_(egressHeadersStored),
39  ingressHeaderTableSize_(ingressHeaderTableSize),
40  ingressBytesStored_(ingressBytesStored),
41  ingressHeadersStored_(ingressHeadersStored) {}
proxygen::HPACKTableInfo::HPACKTableInfo ( )
inline

Definition at line 43 of file HPACKTableInfo.h.

43 {}

Member Function Documentation

bool proxygen::HPACKTableInfo::operator== ( const HPACKTableInfo tableInfo) const
inline

Definition at line 45 of file HPACKTableInfo.h.

References egressBytesStored_, egressHeadersStored_, egressHeaderTableSize_, ingressBytesStored_, ingressHeadersStored_, and ingressHeaderTableSize_.

45  {
46  return egressHeaderTableSize_ == tableInfo.egressHeaderTableSize_ &&
47  egressBytesStored_ == tableInfo.egressBytesStored_ &&
48  egressHeadersStored_ == tableInfo.egressHeadersStored_ &&
49  ingressHeaderTableSize_ == tableInfo.ingressHeaderTableSize_ &&
50  ingressBytesStored_ == tableInfo.ingressBytesStored_ &&
51  ingressHeadersStored_ == tableInfo.ingressHeadersStored_;
52  }

Member Data Documentation

uint32_t proxygen::HPACKTableInfo::egressBytesStored_ {0}
uint32_t proxygen::HPACKTableInfo::egressHeadersStored_ {0}
uint32_t proxygen::HPACKTableInfo::egressHeaderTableSize_ {0}
uint32_t proxygen::HPACKTableInfo::ingressBytesStored_ {0}
uint32_t proxygen::HPACKTableInfo::ingressHeadersStored_ {0}
uint32_t proxygen::HPACKTableInfo::ingressHeaderTableSize_ {0}

The documentation for this struct was generated from the following file: