LeviLamina
Loading...
Searching...
No Matches
AsyncUDPSocket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/AsyncPacketSocket.h"
7#include "mc/external/rtc/Socket.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace rtc { class Socket; }
12namespace rtc { class SocketAddress; }
13namespace rtc { struct PacketOptions; }
14// clang-format on
15
16namespace rtc {
17
19public:
20 // member variables
21 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 AsyncUDPSocket& operator=(AsyncUDPSocket const&);
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~AsyncUDPSocket() /*override*/ = default;
39
40 // vIndex: 1
41 virtual ::rtc::SocketAddress GetLocalAddress() const /*override*/;
42
43 // vIndex: 2
44 virtual ::rtc::SocketAddress GetRemoteAddress() const /*override*/;
45
46 // vIndex: 3
47 virtual int Send(void const*, uint64, ::rtc::PacketOptions const&) /*override*/;
48
49 // vIndex: 4
50 virtual int SendTo(void const*, uint64, ::rtc::SocketAddress const&, ::rtc::PacketOptions const&) /*override*/;
51
52 // vIndex: 5
53 virtual int Close() /*override*/;
54
55 // vIndex: 6
56 virtual ::rtc::AsyncPacketSocket::State GetState() const /*override*/;
57
58 // vIndex: 7
59 virtual int GetOption(::rtc::Socket::Option, int*) /*override*/;
60
61 // vIndex: 8
62 virtual int SetOption(::rtc::Socket::Option, int) /*override*/;
63
64 // vIndex: 9
65 virtual int GetError() const /*override*/;
66
67 // vIndex: 10
68 virtual void SetError(int) /*override*/;
69 // NOLINTEND
70
71public:
72 // member functions
73 // NOLINTBEGIN
74 MCNAPI explicit AsyncUDPSocket(::rtc::Socket*);
75
77
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCNAPI void* $ctor(::rtc::Socket*);
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
99
100} // namespace rtc
Definition AsyncPacketSocket.h:20
Definition AsyncUDPSocket.h:18
MCAPI void OnReadEvent(::rtc::Socket *)
static MCAPI void ** $vftable()
MCAPI AsyncUDPSocket(::rtc::Socket *)
MCAPI void OnWriteEvent(::rtc::Socket *)
MCAPI void * $ctor(::rtc::Socket *)
Definition SocketAddress.h:12
Definition Socket.h:12
Definition Alias.h:14
Definition PacketOptions.h:10