LeviLamina
Loading...
Searching...
No Matches
NetworkSession.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/nether_net/ContextProxy.h"
7#include "mc/deps/nether_net/ESessionError.h"
8#include "mc/external/webrtc/PeerConnectionInterface.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace webrtc { class DataChannelInterface; }
14namespace webrtc { class RTCStatsReport; }
15// clang-format on
16
17namespace NetherNet {
18
20public:
21 // NetworkSession inner types define
22 enum class Direction : int {
23 Incoming = 0,
24 Outgoing = 1,
25 };
26
27public:
28 // member variables
29 // NOLINTBEGIN
51 // NOLINTEND
52
53public:
54 // prevent constructor by default
55 NetworkSession& operator=(NetworkSession const&);
58
59public:
60 // virtual functions
61 // NOLINTBEGIN
62 // vIndex: 0
63 virtual ~NetworkSession() /*override*/;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCNAPI void CheckUpdateStats();
70
71 MCNAPI void CloseWithReason(::NetherNet::ESessionError error) const;
72
74
75 MCNAPI void _onStatsDelivered(::webrtc::RTCStatsReport const& report);
76
77 MCNAPI void onIceConnectionChange(::webrtc::PeerConnectionInterface::IceConnectionState newState);
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCNAPI void $dtor();
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
92
93} // namespace NetherNet
Definition Direction.h:5
Definition ContextProxy.h:18
Definition NetworkSession.h:19
MCAPI void CloseWithReason(::NetherNet::ESessionError error) const
MCAPI void _onStatsDelivered(::webrtc::RTCStatsReport const &report)
MCAPI void CheckUpdateStats()
MCAPI void _onDataChannel(::webrtc::scoped_refptr<::webrtc::DataChannelInterface > dataChannel)
static MCAPI void ** $vftable()
MCAPI void onIceConnectionChange(::webrtc::PeerConnectionInterface::IceConnectionState newState)
Definition RTCStatsReport.h:17
Definition scoped_refptr.h:8
Definition Alias.h:14