3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/StunAttributeValueType.h"
10namespace cricket {
class StunAddressAttribute; }
11namespace cricket {
class StunAttribute; }
12namespace cricket {
class StunByteStringAttribute; }
13namespace cricket {
class StunErrorCodeAttribute; }
14namespace cricket {
class StunUInt16ListAttribute; }
15namespace cricket {
class StunUInt32Attribute; }
16namespace cricket {
class StunUInt64Attribute; }
17namespace rtc {
class ByteBufferReader; }
18namespace rtc {
class ByteBufferWriter; }
26 enum class IntegrityStatus :
int {
60 virtual ::cricket::StunMessage* CreateNew()
const;
63 virtual ::cricket::StunAttributeValueType GetAttributeValueType(
int type)
const;
69 MCNAPI
void AddAttribute(::std::unique_ptr<::cricket::StunAttribute> attr);
79 MCNAPI ::std::unique_ptr<::cricket::StunMessage>
Clone()
const;
86 MCNAPI ::cricket::StunAddressAttribute
const*
GetAddress(
int type)
const;
88 MCNAPI ::cricket::StunAttribute
const*
GetAttribute(
int type)
const;
90 MCNAPI ::cricket::StunByteStringAttribute
const*
GetByteString(
int type)
const;
92 MCNAPI ::cricket::StunErrorCodeAttribute
const*
GetErrorCode()
const;
98 MCNAPI ::cricket::StunUInt16ListAttribute
const*
GetUInt16List(
int type)
const;
100 MCNAPI ::cricket::StunUInt32Attribute
const*
GetUInt32(
int type)
const;
102 MCNAPI ::cricket::StunUInt64Attribute
const*
GetUInt64(
int type)
const;
114 MCNAPI
StunMessage(ushort type, ::std::string_view transaction_id);
135 ::std::string
const& password
146 MCNAPI
void*
$ctor(ushort type, ::std::string_view transaction_id);
Definition StunMessage.h:23
MCAPI ::std::vector< ushort > GetNonComprehendedAttributes() const
MCAPI::cricket::StunAttribute const * GetAttribute(int type) const
static MCAPI bool IsStunMethod(::rtc::ArrayView< int > methods, char const *data, uint64 size)
MCAPI bool AddMessageIntegrityOfType(int attr_type, uint64 attr_size, ::std::string_view key)
MCAPI ::std::unique_ptr<::cricket::StunMessage > Clone() const
MCAPI bool Write(::rtc::ByteBufferWriter *buf) const
MCAPI StunMessage(ushort type)
MCAPI StunMessage(ushort type, ::std::string_view transaction_id)
MCAPI::cricket::StunAttribute * CreateAttribute(int type, uint64 length)
MCAPI::cricket::StunByteStringAttribute const * GetByteString(int type) const
MCAPI::cricket::StunAttributeValueType $GetAttributeValueType(int type) const
MCAPI void * $ctor(ushort type, ::std::string_view transaction_id)
static MCAPI bool ValidateFingerprint(char const *data, uint64 size)
MCAPI void * $ctor(ushort type)
static MCAPI bool ValidateMessageIntegrityOfType(int mi_attr_type, uint64 mi_attr_size, char const *data, uint64 size, ::std::string const &password)
MCAPI::cricket::StunMessage::IntegrityStatus ValidateMessageIntegrity(::std::string const &password)
MCAPI bool AddMessageIntegrity32(::std::string_view password)
MCAPI bool IsLegacy() const
MCAPI::cricket::StunMessage * $CreateNew() const
static MCAPI void ** $vftable()
MCAPI bool Read(::rtc::ByteBufferReader *buf)
MCAPI void AddAttribute(::std::unique_ptr<::cricket::StunAttribute > attr)
MCAPI::cricket::StunUInt32Attribute const * GetUInt32(int type) const
static MCAPI ::std::string GenerateTransactionId()
MCAPI::cricket::StunUInt64Attribute const * GetUInt64(int type) const
MCAPI bool EqualAttributes(::cricket::StunMessage const *other, ::std::function< bool(int)> attribute_type_mask) const
MCAPI bool AddMessageIntegrity(::std::string_view password)
MCAPI::cricket::StunUInt16ListAttribute const * GetUInt16List(int type) const
MCAPI::cricket::StunErrorCodeAttribute const * GetErrorCode() const
MCAPI int GetErrorCodeValue() const
MCAPI::cricket::StunAddressAttribute const * GetAddress(int type) const
MCAPI bool AddFingerprint()
MCAPI::cricket::StunMessage::IntegrityStatus RevalidateMessageIntegrity(::std::string const &password)
Definition _HeaderOutputPredefine.h:260
Definition ByteBufferReader.h:12
Definition ByteBufferWriter.h:11