LeviLamina
Loading...
Searching...
No Matches
StunAddressAttribute.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/StunAttribute.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 SocketAddress; }
14// clang-format on
15
16namespace webrtc {
17
18class StunAddressAttribute : public ::webrtc::StunAttribute {
19public:
20 // member variables
21 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 StunAddressAttribute& operator=(StunAddressAttribute const&);
28 StunAddressAttribute(StunAddressAttribute const&);
29 StunAddressAttribute();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::webrtc::StunAttributeValueType value_type() const /*override*/;
35
36 virtual bool Read(::webrtc::ByteBufferReader* buf) /*override*/;
37
38 virtual bool Write(::webrtc::ByteBufferWriter* buf) const /*override*/;
39
40 virtual ~StunAddressAttribute() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCNAPI void SetAddress(::webrtc::SocketAddress const& addr);
47
48 MCNAPI StunAddressAttribute(ushort type, ushort length);
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCNAPI void* $ctor(ushort type, ushort length);
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCNAPI ::webrtc::StunAttributeValueType $value_type() const;
61
63
64 MCNAPI bool $Write(::webrtc::ByteBufferWriter* buf) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
75
76} // namespace webrtc
Definition ByteBufferReader.h:15
Definition ByteBufferWriter.h:11
Definition SocketAddress.h:15
MCAPI StunAddressAttribute(ushort type, ushort length)
MCAPI::webrtc::StunAttributeValueType $value_type() const
static MCAPI void ** $vftable()
MCAPI void SetAddress(::webrtc::SocketAddress const &addr)
MCAPI bool $Read(::webrtc::ByteBufferReader *buf)
MCAPI void * $ctor(ushort type, ushort length)
MCAPI bool $Write(::webrtc::ByteBufferWriter *buf) const
Definition StunAttribute.h:20
Definition Alias.h:14