LeviLamina
Loading...
Searching...
No Matches
ServerNegotiatorNoTrickleIce.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/nether_net/ESessionError.h"
7#include "mc/deps/nether_net/ServerNegotiator.h"
8#include "mc/external/webrtc/PeerConnectionInterface.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10#include "mc/platform/Result.h"
11#include "mc/platform/brstd/move_only_function.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace NetherNet { class ConnectRequest; }
16namespace webrtc { class IceCandidate; }
17namespace webrtc { class PeerConnectionInterface; }
18namespace webrtc { class RTCError; }
19// clang-format on
20
21namespace NetherNet {
22
23class ServerNegotiatorNoTrickleIce : public ::NetherNet::ServerNegotiator {
24public:
25 // member variables
26 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 ServerNegotiatorNoTrickleIce& operator=(ServerNegotiatorNoTrickleIce const&);
34 ServerNegotiatorNoTrickleIce(ServerNegotiatorNoTrickleIce const&);
35 ServerNegotiatorNoTrickleIce();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual void createAnswer(
42 ::NetherNet::ConnectRequest const& offer,
45 )>&& onComplete
46 ) /*override*/;
47
48 virtual void _onSetLocalDescription(::webrtc::RTCError result) /*override*/;
49
50 virtual void _onLocalIceCandidate(::webrtc::IceCandidate const* iceCandidate) /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCNAPI void _onIceGatheringChange(::webrtc::PeerConnectionInterface::IceGatheringState newState);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI void $createAnswer(
64 ::NetherNet::ConnectRequest const& offer,
67 )>&& onComplete
68 );
69
71
72 MCNAPI void $_onLocalIceCandidate(::webrtc::IceCandidate const* iceCandidate);
73
74
75 // NOLINTEND
76};
77
78} // namespace NetherNet
Definition Result.h:9
Definition ConnectRequest.h:7
MCAPI void $createAnswer(::webrtc::PeerConnectionInterface::RTCConfiguration const &config, ::NetherNet::ConnectRequest const &offer, ::brstd::move_only_function< void(::Bedrock::Result<::webrtc::scoped_refptr<::webrtc::PeerConnectionInterface >, ::NetherNet::ESessionError >)> &&onComplete)
MCAPI void $_onLocalIceCandidate(::webrtc::IceCandidate const *iceCandidate)
MCAPI void _onIceGatheringChange(::webrtc::PeerConnectionInterface::IceGatheringState newState)
MCAPI void $_onSetLocalDescription(::webrtc::RTCError result)
Definition ServerNegotiator.h:32
Definition move_only_function.h:9
Definition IceCandidate.h:12
Definition PeerConnectionInterface.h:57
Definition RTCError.h:10
Definition scoped_refptr.h:8
Definition Alias.h:14
Definition PeerConnectionInterface.h:174