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

#include <stun.h>

Inheritance diagram for cricket::RelayMessage:
cricket::StunMessage cricket::StunMessage

Protected Member Functions

virtual StunAttributeValueType GetAttributeValueType (int type) const
 
virtual StunMessage * CreateNew () const
 
virtual StunAttributeValueType GetAttributeValueType (int type) const
 
virtual StunMessage * CreateNew () const
 

Additional Inherited Members

- Public Member Functions inherited from cricket::StunMessage
 StunMessage ()
 
virtual ~StunMessage ()
 
int type () const
 
size_t length () const
 
const std::string & transaction_id () const
 
bool IsLegacy () const
 
void SetType (int type)
 
bool SetTransactionID (const std::string &str)
 
const StunAddressAttribute * GetAddress (int type) const
 
const StunUInt32Attribute * GetUInt32 (int type) const
 
const StunUInt64Attribute * GetUInt64 (int type) const
 
const StunByteStringAttribute * GetByteString (int type) const
 
const StunErrorCodeAttribute * GetErrorCode () const
 
const StunUInt16ListAttribute * GetUnknownAttributes () const
 
void AddAttribute (StunAttribute *attr)
 
bool AddMessageIntegrity (const std::string &password)
 
bool AddMessageIntegrity (const char *key, size_t keylen)
 
bool AddFingerprint ()
 
bool Read (rtc::ByteBufferReader *buf)
 
bool Write (rtc::ByteBufferWriter *buf) const
 
 StunMessage ()
 
virtual ~StunMessage ()
 
int type () const
 
size_t length () const
 
const std::string & transaction_id () const
 
bool IsLegacy () const
 
void SetType (int type)
 
bool SetTransactionID (const std::string &str)
 
const StunAddressAttribute * GetAddress (int type) const
 
const StunUInt32Attribute * GetUInt32 (int type) const
 
const StunUInt64Attribute * GetUInt64 (int type) const
 
const StunByteStringAttribute * GetByteString (int type) const
 
const StunErrorCodeAttribute * GetErrorCode () const
 
const StunUInt16ListAttribute * GetUnknownAttributes () const
 
void AddAttribute (StunAttribute *attr)
 
bool AddMessageIntegrity (const std::string &password)
 
bool AddMessageIntegrity (const char *key, size_t keylen)
 
bool AddFingerprint ()
 
bool Read (rtc::ByteBufferReader *buf)
 
bool Write (rtc::ByteBufferWriter *buf) const
 
- Static Public Member Functions inherited from cricket::StunMessage
static bool ValidateMessageIntegrity (const char *data, size_t size, const std::string &password)
 
static bool ValidateFingerprint (const char *data, size_t size)
 
static bool ValidateMessageIntegrity (const char *data, size_t size, const std::string &password)
 
static bool ValidateFingerprint (const char *data, size_t size)
 

Member Function Documentation

◆ CreateNew() [1/2]

virtual StunMessage* cricket::RelayMessage::CreateNew ( ) const
inlineprotectedvirtual

Reimplemented from cricket::StunMessage.

◆ CreateNew() [2/2]

virtual StunMessage* cricket::RelayMessage::CreateNew ( ) const
inlineprotectedvirtual

Reimplemented from cricket::StunMessage.

◆ GetAttributeValueType() [1/2]

virtual StunAttributeValueType cricket::RelayMessage::GetAttributeValueType ( int  type) const
inlineprotectedvirtual

Reimplemented from cricket::StunMessage.

◆ GetAttributeValueType() [2/2]

virtual StunAttributeValueType cricket::RelayMessage::GetAttributeValueType ( int  type) const
inlineprotectedvirtual

Reimplemented from cricket::StunMessage.


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