LeviLamina
Loading...
Searching...
No Matches
StunRequest.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class Environment; }
8namespace webrtc { class StunMessage; }
9namespace webrtc { class StunRequestManager; }
10namespace webrtc { class TimeDelta; }
11// clang-format on
12
13namespace webrtc {
14
15class StunRequest {
16public:
17 // member variables
18 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 StunRequest& operator=(StunRequest const&);
32 StunRequest(StunRequest const&);
33 StunRequest();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~StunRequest();
39
40 virtual bool CheckSkip();
41
42 virtual void OnResponse(::webrtc::StunMessage* response);
43
44 virtual void OnErrorResponse(::webrtc::StunMessage* response);
45
46 virtual void OnSkip();
47
48 virtual void OnTimeout();
49
50 virtual void OnSent();
51
52 virtual int resend_delay();
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCNAPI ::webrtc::TimeDelta Elapsed() const;
59
60 MCNAPI void Send(::webrtc::TimeDelta delay);
61
62 MCNAPI void SendDelayed(::webrtc::TimeDelta delay);
63
64 MCNAPI void SendInternal();
65
67 ::webrtc::Environment const& env,
69 ::std::unique_ptr<::webrtc::StunMessage> message
70 );
71
72 MCNAPI ::webrtc::StunMessage const* msg() const;
73
74 MCNAPI void set_timed_out();
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCNAPI void* $ctor(
81 ::webrtc::Environment const& env,
83 ::std::unique_ptr<::webrtc::StunMessage> message
84 );
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCNAPI void $dtor();
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCNAPI bool $CheckSkip();
97
98 MCNAPI void $OnResponse(::webrtc::StunMessage* response);
99
101
102 MCNAPI void $OnSkip();
103
104 MCNAPI void $OnTimeout();
105
106 MCNAPI void $OnSent();
107
108 MCNAPI int $resend_delay();
109
110
111 // NOLINTEND
112
113public:
114 // vftables
115 // NOLINTBEGIN
116 MCNAPI static void** $vftable();
117 // NOLINTEND
118};
119
120} // namespace webrtc
Definition Environment.h:7
Definition StunMessage.h:24
Definition StunRequestManager.h:15
MCAPI void $OnTimeout()
static MCAPI void ** $vftable()
MCAPI void SendInternal()
MCAPI StunRequest(::webrtc::Environment const &env, ::webrtc::StunRequestManager &manager, ::std::unique_ptr<::webrtc::StunMessage > message)
MCAPI void $OnResponse(::webrtc::StunMessage *response)
MCAPI void SendDelayed(::webrtc::TimeDelta delay)
MCAPI void $OnErrorResponse(::webrtc::StunMessage *response)
MCAPI int $resend_delay()
MCAPI::webrtc::TimeDelta Elapsed() const
MCAPI::webrtc::StunMessage const * msg() const
MCAPI void set_timed_out()
MCAPI void $dtor()
MCAPI void * $ctor(::webrtc::Environment const &env, ::webrtc::StunRequestManager &manager, ::std::unique_ptr<::webrtc::StunMessage > message)
MCAPI void Send(::webrtc::TimeDelta delay)
MCAPI void $OnSkip()
MCAPI void $OnSent()
MCAPI bool $CheckSkip()
Definition TimeDelta.h:10
Definition Alias.h:14