Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StunXorAddressAttribute.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/StunAddressAttribute.h"
7#include "mc/external/webrtc/StunAttributeValueType.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class ByteBufferReader; }
12namespace webrtc { class ByteBufferWriter; }
13namespace webrtc { class IPAddress; }
14namespace webrtc { class SocketAddress; }
15namespace webrtc { class StunMessage; }
16// clang-format on
17
18namespace webrtc {
19
20class StunXorAddressAttribute : public ::webrtc::StunAddressAttribute {
21public:
22 // member variables
23 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 StunXorAddressAttribute& operator=(StunXorAddressAttribute const&);
30 StunXorAddressAttribute(StunXorAddressAttribute const&);
31 StunXorAddressAttribute();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ::webrtc::StunAttributeValueType value_type() const /*override*/;
37
38 virtual void SetOwner(::webrtc::StunMessage* owner) /*override*/;
39
40 virtual bool Read(::webrtc::ByteBufferReader* buf) /*override*/;
41
42 virtual bool Write(::webrtc::ByteBufferWriter* buf) const /*override*/;
43
44 virtual ~StunXorAddressAttribute() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCNAPI ::webrtc::IPAddress GetXoredIP() const;
51
52 MCNAPI StunXorAddressAttribute(ushort type, ::webrtc::SocketAddress const& addr);
53
54 MCNAPI StunXorAddressAttribute(ushort type, ushort length, ::webrtc::StunMessage* owner);
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCNAPI void* $ctor(ushort type, ::webrtc::SocketAddress const& addr);
61
62 MCNAPI void* $ctor(ushort type, ushort length, ::webrtc::StunMessage* owner);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI ::webrtc::StunAttributeValueType $value_type() const;
69
70 MCNAPI void $SetOwner(::webrtc::StunMessage* owner);
71
73
74 MCNAPI bool $Write(::webrtc::ByteBufferWriter* buf) const;
75
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
85
86} // namespace webrtc
Definition ByteBufferReader.h:15
Definition ByteBufferWriter.h:11
Definition IPAddress.h:7
Definition SocketAddress.h:11
Definition StunAddressAttribute.h:18
Definition StunMessage.h:24
MCAPI::webrtc::IPAddress GetXoredIP() const
MCAPI void * $ctor(ushort type, ushort length, ::webrtc::StunMessage *owner)
MCAPI StunXorAddressAttribute(ushort type, ::webrtc::SocketAddress const &addr)
MCAPI void * $ctor(ushort type, ::webrtc::SocketAddress const &addr)
MCAPI bool $Write(::webrtc::ByteBufferWriter *buf) const
MCAPI void $SetOwner(::webrtc::StunMessage *owner)
MCAPI bool $Read(::webrtc::ByteBufferReader *buf)
MCAPI::webrtc::StunAttributeValueType $value_type() const
static MCAPI void ** $vftable()
MCAPI StunXorAddressAttribute(ushort type, ushort length, ::webrtc::StunMessage *owner)
Definition Alias.h:14