3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/webrtc/ArrayView.h"
7#include "mc/external/webrtc/StunAttributeValueType.h"
27 enum class IntegrityStatus :
int {
51 StunMessage& operator=(StunMessage
const&);
57 virtual ~StunMessage();
59 virtual ::webrtc::StunMessage* CreateNew()
const;
61 virtual ::webrtc::StunAttributeValueType GetAttributeValueType(
int type)
const;
67 MCNAPI
void AddAttribute(::std::unique_ptr<::webrtc::StunAttribute> attr);
77 MCNAPI ::std::unique_ptr<::webrtc::StunMessage>
Clone()
const;
82 MCNAPI ::webrtc::StunAddressAttribute
const*
GetAddress(
int type)
const;
84 MCNAPI ::webrtc::StunByteStringAttribute
const*
GetByteString(
int type)
const;
86 MCNAPI ::webrtc::StunErrorCodeAttribute
const*
GetErrorCode()
const;
92 MCNAPI ::webrtc::StunUInt16ListAttribute
const*
GetUInt16List(
int type)
const;
94 MCNAPI ::webrtc::StunUInt32Attribute
const*
GetUInt32(
int type)
const;
96 MCNAPI ::webrtc::StunUInt64Attribute
const*
GetUInt64(
int type)
const;
106 MCNAPI
StunMessage(ushort type, ::std::string_view transaction_id);
125 ::std::string
const& password
136 MCNAPI
void*
$ctor(ushort type, ::std::string_view transaction_id);
Definition ByteBufferReader.h:15
Definition ByteBufferWriter.h:11
Definition StunAddressAttribute.h:18
Definition StunAttribute.h:20
Definition StunByteStringAttribute.h:17
Definition StunErrorCodeAttribute.h:17
Definition StunMessage.h:24
MCAPI bool AddMessageIntegrity(::std::string_view password)
static MCAPI bool ValidateMessageIntegrityOfType(int mi_attr_type, uint64 mi_attr_size, char const *data, uint64 size, ::std::string const &password)
MCAPI void * $ctor(ushort type)
MCAPI::webrtc::StunAttributeValueType $GetAttributeValueType(int type) const
MCAPI ::std::unique_ptr<::webrtc::StunMessage > Clone() const
MCAPI void AddAttribute(::std::unique_ptr<::webrtc::StunAttribute > attr)
MCAPI ::std::vector< ushort > GetNonComprehendedAttributes() const
static MCAPI void ** $vftable()
MCAPI::webrtc::StunAddressAttribute const * GetAddress(int type) const
MCAPI bool AddMessageIntegrityOfType(int attr_type, uint64 attr_size, ::std::string_view key)
static MCAPI bool IsStunMethod(::webrtc::ArrayView< int > methods, char const *data, uint64 size)
MCAPI::webrtc::StunUInt32Attribute const * GetUInt32(int type) const
MCAPI::webrtc::StunUInt16ListAttribute const * GetUInt16List(int type) const
MCAPI StunMessage(ushort type)
MCAPI void * $ctor(ushort type, ::std::string_view transaction_id)
MCAPI::webrtc::StunMessage * $CreateNew() const
MCAPI::webrtc::StunErrorCodeAttribute const * GetErrorCode() const
MCAPI::webrtc::StunMessage::IntegrityStatus RevalidateMessageIntegrity(::std::string const &password)
MCAPI::webrtc::StunByteStringAttribute const * GetByteString(int type) const
MCAPI bool AddFingerprint()
MCAPI bool Write(::webrtc::ByteBufferWriter *buf) const
MCAPI bool AddMessageIntegrity32(::std::string_view password)
MCAPI::webrtc::StunUInt64Attribute const * GetUInt64(int type) const
MCAPI bool Read(::webrtc::ByteBufferReader *buf)
MCAPI bool EqualAttributes(::webrtc::StunMessage const *other, ::std::function< bool(int)> attribute_type_mask) const
MCAPI int GetErrorCodeValue() const
MCAPI StunMessage(ushort type, ::std::string_view transaction_id)
MCAPI::webrtc::StunMessage::IntegrityStatus ValidateMessageIntegrity(::std::string const &password)
static MCAPI bool ValidateFingerprint(char const *data, uint64 size)
Definition StunUInt16ListAttribute.h:17
Definition StunUInt32Attribute.h:17
Definition StunUInt64Attribute.h:17