webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
cricket::StunUInt16ListAttribute Class Reference

#include <stun.h>

Inheritance diagram for cricket::StunUInt16ListAttribute:
cricket::StunAttribute cricket::StunAttribute

Public Member Functions

 StunUInt16ListAttribute (uint16_t type, uint16_t length)
 
 ~StunUInt16ListAttribute ()
 
virtual StunAttributeValueType value_type () const
 
size_t Size () const
 
uint16_t GetType (int index) const
 
void SetType (int index, uint16_t value)
 
void AddType (uint16_t value)
 
bool Read (rtc::ByteBufferReader *buf)
 
bool Write (rtc::ByteBufferWriter *buf) const
 
 StunUInt16ListAttribute (uint16_t type, uint16_t length)
 
 ~StunUInt16ListAttribute ()
 
virtual StunAttributeValueType value_type () const
 
size_t Size () const
 
uint16_t GetType (int index) const
 
void SetType (int index, uint16_t value)
 
void AddType (uint16_t value)
 
bool Read (rtc::ByteBufferReader *buf)
 
bool Write (rtc::ByteBufferWriter *buf) const
 
- Public Member Functions inherited from cricket::StunAttribute
virtual ~StunAttribute ()
 
int type () const
 
size_t length () const
 
virtual void SetOwner (StunMessage *)
 
virtual ~StunAttribute ()
 
int type () const
 
size_t length () const
 
virtual void SetOwner (StunMessage *)
 

Additional Inherited Members

- Static Public Member Functions inherited from cricket::StunAttribute
static StunAttributeCreate (StunAttributeValueType value_type, uint16_t type, uint16_t length, StunMessage *owner)
 
static StunAddressAttributeCreateAddress (uint16_t type)
 
static StunXorAddressAttributeCreateXorAddress (uint16_t type)
 
static StunUInt32AttributeCreateUInt32 (uint16_t type)
 
static StunUInt64AttributeCreateUInt64 (uint16_t type)
 
static StunByteStringAttributeCreateByteString (uint16_t type)
 
static StunErrorCodeAttributeCreateErrorCode ()
 
static StunUInt16ListAttributeCreateUnknownAttributes ()
 
static StunAttributeCreate (StunAttributeValueType value_type, uint16_t type, uint16_t length, StunMessage *owner)
 
static StunAddressAttributeCreateAddress (uint16_t type)
 
static StunXorAddressAttributeCreateXorAddress (uint16_t type)
 
static StunUInt32AttributeCreateUInt32 (uint16_t type)
 
static StunUInt64AttributeCreateUInt64 (uint16_t type)
 
static StunByteStringAttributeCreateByteString (uint16_t type)
 
static StunErrorCodeAttributeCreateErrorCode ()
 
static StunUInt16ListAttributeCreateUnknownAttributes ()
 
- Protected Member Functions inherited from cricket::StunAttribute
 StunAttribute (uint16_t type, uint16_t length)
 
void SetLength (uint16_t length)
 
void WritePadding (rtc::ByteBufferWriter *buf) const
 
void ConsumePadding (rtc::ByteBufferReader *buf) const
 
 StunAttribute (uint16_t type, uint16_t length)
 
void SetLength (uint16_t length)
 
void WritePadding (rtc::ByteBufferWriter *buf) const
 
void ConsumePadding (rtc::ByteBufferReader *buf) const
 

Constructor & Destructor Documentation

◆ StunUInt16ListAttribute() [1/2]

cricket::StunUInt16ListAttribute::StunUInt16ListAttribute ( uint16_t  type,
uint16_t  length 
)

◆ ~StunUInt16ListAttribute() [1/2]

cricket::StunUInt16ListAttribute::~StunUInt16ListAttribute ( )

◆ StunUInt16ListAttribute() [2/2]

cricket::StunUInt16ListAttribute::StunUInt16ListAttribute ( uint16_t  type,
uint16_t  length 
)

◆ ~StunUInt16ListAttribute() [2/2]

cricket::StunUInt16ListAttribute::~StunUInt16ListAttribute ( )

Member Function Documentation

◆ AddType() [1/2]

void cricket::StunUInt16ListAttribute::AddType ( uint16_t  value)

◆ AddType() [2/2]

void cricket::StunUInt16ListAttribute::AddType ( uint16_t  value)

◆ GetType() [1/2]

uint16_t cricket::StunUInt16ListAttribute::GetType ( int  index) const

◆ GetType() [2/2]

uint16_t cricket::StunUInt16ListAttribute::GetType ( int  index) const

◆ Read() [1/2]

bool cricket::StunUInt16ListAttribute::Read ( rtc::ByteBufferReader buf)
virtual

◆ Read() [2/2]

bool cricket::StunUInt16ListAttribute::Read ( rtc::ByteBufferReader buf)
virtual

◆ SetType() [1/2]

void cricket::StunUInt16ListAttribute::SetType ( int  index,
uint16_t  value 
)

◆ SetType() [2/2]

void cricket::StunUInt16ListAttribute::SetType ( int  index,
uint16_t  value 
)

◆ Size() [1/2]

size_t cricket::StunUInt16ListAttribute::Size ( ) const

◆ Size() [2/2]

size_t cricket::StunUInt16ListAttribute::Size ( ) const

◆ value_type() [1/2]

virtual StunAttributeValueType cricket::StunUInt16ListAttribute::value_type ( ) const
inlinevirtual

◆ value_type() [2/2]

virtual StunAttributeValueType cricket::StunUInt16ListAttribute::value_type ( ) const
inlinevirtual

◆ Write() [1/2]

bool cricket::StunUInt16ListAttribute::Write ( rtc::ByteBufferWriter buf) const
virtual

◆ Write() [2/2]

bool cricket::StunUInt16ListAttribute::Write ( rtc::ByteBufferWriter buf) const
virtual

The documentation for this class was generated from the following files: