3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/StunAttributeValueType.h"
26 enum class IntegrityStatus :
int {
50 StunMessage& operator=(StunMessage
const&);
56 virtual ~StunMessage();
58 virtual ::cricket::StunMessage* CreateNew()
const;
60 virtual ::cricket::StunAttributeValueType GetAttributeValueType(
int type)
const;
66 MCNAPI
void AddAttribute(::std::unique_ptr<::cricket::StunAttribute> attr);
76 MCNAPI ::std::unique_ptr<::cricket::StunMessage>
Clone()
const;
81 MCNAPI ::cricket::StunAddressAttribute
const*
GetAddress(
int type)
const;
83 MCNAPI ::cricket::StunByteStringAttribute
const*
GetByteString(
int type)
const;
85 MCNAPI ::cricket::StunErrorCodeAttribute
const*
GetErrorCode()
const;
91 MCNAPI ::cricket::StunUInt16ListAttribute
const*
GetUInt16List(
int type)
const;
93 MCNAPI ::cricket::StunUInt32Attribute
const*
GetUInt32(
int type)
const;
95 MCNAPI ::cricket::StunUInt64Attribute
const*
GetUInt64(
int type)
const;
105 MCNAPI
StunMessage(ushort type, ::std::string_view transaction_id);
124 ::std::string
const& password
135 MCNAPI
void*
$ctor(ushort type, ::std::string_view transaction_id);
Definition StunAddressAttribute.h:18
Definition StunAttribute.h:20
Definition StunByteStringAttribute.h:17
Definition StunErrorCodeAttribute.h:17
Definition StunMessage.h:23
MCAPI ::std::vector< ushort > GetNonComprehendedAttributes() 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::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::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
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 StunUInt16ListAttribute.h:17
Definition StunUInt32Attribute.h:17
Definition StunUInt64Attribute.h:17
Definition _HeaderOutputPredefine.h:309
Definition ByteBufferReader.h:12
Definition ByteBufferWriter.h:11