LeviLamina
Loading...
Searching...
No Matches
RelayPortFactoryInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class AsyncPacketSocket; }
8namespace webrtc { class Port; }
9namespace webrtc { struct CreateRelayPortArgs; }
10// clang-format on
11
12namespace webrtc {
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual ~RelayPortFactoryInterface() = default;
19
20 virtual ::std::unique_ptr<::webrtc::Port>
21 Create(::webrtc::CreateRelayPortArgs const& args, ::std::shared_ptr<::webrtc::AsyncPacketSocket> udp_socket) = 0;
22
23 virtual ::std::unique_ptr<::webrtc::Port>
24 Create(::webrtc::CreateRelayPortArgs const& args, int min_port, int max_port) = 0;
25 // NOLINTEND
26
27public:
28 // vftables
29 // NOLINTBEGIN
30 MCNAPI static void** $vftable();
31 // NOLINTEND
32};
33
34} // namespace webrtc
Definition AsyncPacketSocket.h:20
Definition Port.h:37
Definition RelayPortFactoryInterface.h:14
static MCAPI void ** $vftable()
Definition CreateRelayPortArgs.h:7