LeviLamina
Loading...
Searching...
No Matches
SocketCache.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/brstd/flat_map.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class AsyncPacketSocket; }
11namespace webrtc { class IPAddress; }
12namespace webrtc { class SocketAddress; }
13// clang-format on
14
15namespace NetherNet {
16
17class SocketCache {
18public:
19 // member variables
20 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 SocketCache& operator=(SocketCache const&);
28 SocketCache(SocketCache const&);
29 SocketCache();
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCNAPI ::std::shared_ptr<::webrtc::AsyncPacketSocket>
35 createGlobalUdpSocket(::webrtc::SocketAddress const& address, ushort minPort, ushort maxPort);
36 // NOLINTEND
37};
38
39} // namespace NetherNet
MCAPI ::std::shared_ptr<::webrtc::AsyncPacketSocket > createGlobalUdpSocket(::webrtc::SocketAddress const &address, ushort minPort, ushort maxPort)
Definition AsyncPacketSocket.h:20
Definition IPAddress.h:7
Definition SocketAddress.h:11
Definition Alias.h:14