LeviLamina
Loading...
Searching...
No Matches
PacketSocketFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/BasicPacketSocketFactory.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace rtc { class AsyncPacketSocket; }
11namespace rtc { class SocketAddress; }
12namespace rtc { class SocketFactory; }
13namespace webrtc { class AsyncDnsResolverInterface; }
14namespace webrtc { class TaskQueueBase; }
15// clang-format on
16
17namespace NetherNet {
18
19class PacketSocketFactory : public ::rtc::BasicPacketSocketFactory {
20public:
21 // member variables
22 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 PacketSocketFactory& operator=(PacketSocketFactory const&);
31 PacketSocketFactory(PacketSocketFactory const&);
32 PacketSocketFactory();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~PacketSocketFactory() /*override*/ = default;
38
39 virtual ::std::unique_ptr<::rtc::AsyncPacketSocket>
40 CreateUdpSocket(::rtc::SocketAddress const& address, ushort min_port, ushort max_port) /*override*/;
41
42 virtual ::std::shared_ptr<::rtc::AsyncPacketSocket>
43 CreateGlobalUdpSocket(::rtc::SocketAddress const& address, ushort minPort, ushort maxPort) /*override*/;
44
45 virtual ::std::unique_ptr<::webrtc::AsyncDnsResolverInterface> CreateAsyncDnsResolver() /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCNAPI void* $ctor(::rtc::SocketFactory* socketFactory, ::webrtc::TaskQueueBase* workerThread);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI ::std::unique_ptr<::rtc::AsyncPacketSocket>
64 $CreateUdpSocket(::rtc::SocketAddress const& address, ushort min_port, ushort max_port);
65
66 MCNAPI ::std::shared_ptr<::rtc::AsyncPacketSocket>
67 $CreateGlobalUdpSocket(::rtc::SocketAddress const& address, ushort minPort, ushort maxPort);
68
69 MCNAPI ::std::unique_ptr<::webrtc::AsyncDnsResolverInterface> $CreateAsyncDnsResolver();
70
71
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
80
81} // namespace NetherNet
static MCAPI void ** $vftable()
MCAPI ::std::unique_ptr<::webrtc::AsyncDnsResolverInterface > $CreateAsyncDnsResolver()
MCAPI PacketSocketFactory(::rtc::SocketFactory *socketFactory, ::webrtc::TaskQueueBase *workerThread)
MCAPI ::std::shared_ptr<::rtc::AsyncPacketSocket > $CreateGlobalUdpSocket(::rtc::SocketAddress const &address, ushort minPort, ushort maxPort)
MCAPI void * $ctor(::rtc::SocketFactory *socketFactory, ::webrtc::TaskQueueBase *workerThread)
MCAPI ::std::unique_ptr<::rtc::AsyncPacketSocket > $CreateUdpSocket(::rtc::SocketAddress const &address, ushort min_port, ushort max_port)
Definition AsyncPacketSocket.h:20
Definition BasicPacketSocketFactory.h:22
Definition SocketAddress.h:12
Definition SocketFactory.h:12
Definition AsyncDnsResolverInterface.h:16
Definition TaskQueueBase.h:16
Definition Alias.h:14