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

#include <stun.h>

Inheritance diagram for cricket::StunUInt64Attribute:
cricket::StunAttribute cricket::StunAttribute

Public Member Functions

 StunUInt64Attribute (uint16_t type, uint64_t value)
 
 StunUInt64Attribute (uint16_t type)
 
virtual StunAttributeValueType value_type () const
 
uint64_t value () const
 
void SetValue (uint64_t bits)
 
virtual bool Read (rtc::ByteBufferReader *buf)
 
virtual bool Write (rtc::ByteBufferWriter *buf) const
 
 StunUInt64Attribute (uint16_t type, uint64_t value)
 
 StunUInt64Attribute (uint16_t type)
 
virtual StunAttributeValueType value_type () const
 
uint64_t value () const
 
void SetValue (uint64_t bits)
 
virtual bool Read (rtc::ByteBufferReader *buf)
 
virtual 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 *)
 

Static Public Attributes

static const uint16_t SIZE = 8
 

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

◆ StunUInt64Attribute() [1/4]

cricket::StunUInt64Attribute::StunUInt64Attribute ( uint16_t  type,
uint64_t  value 
)

◆ StunUInt64Attribute() [2/4]

cricket::StunUInt64Attribute::StunUInt64Attribute ( uint16_t  type)
explicit

◆ StunUInt64Attribute() [3/4]

cricket::StunUInt64Attribute::StunUInt64Attribute ( uint16_t  type,
uint64_t  value 
)

◆ StunUInt64Attribute() [4/4]

cricket::StunUInt64Attribute::StunUInt64Attribute ( uint16_t  type)
explicit

Member Function Documentation

◆ Read() [1/2]

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

◆ Read() [2/2]

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

◆ SetValue() [1/2]

void cricket::StunUInt64Attribute::SetValue ( uint64_t  bits)
inline

◆ SetValue() [2/2]

void cricket::StunUInt64Attribute::SetValue ( uint64_t  bits)
inline

◆ value() [1/2]

uint64_t cricket::StunUInt64Attribute::value ( ) const
inline

◆ value() [2/2]

uint64_t cricket::StunUInt64Attribute::value ( ) const
inline

◆ value_type() [1/2]

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

◆ value_type() [2/2]

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

◆ Write() [1/2]

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

◆ Write() [2/2]

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

Member Data Documentation

◆ SIZE

static const uint16_t cricket::StunUInt64Attribute::SIZE = 8
static

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