LeviLamina
Loading...
Searching...
No Matches
StunRequestManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace cricket { class StunMessage; }
8namespace cricket { class StunRequest; }
9namespace webrtc { class TaskQueueBase; }
10// clang-format on
11
12namespace cricket {
13
15public:
16 // member variables
17 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 StunRequestManager& operator=(StunRequestManager const&);
28
29public:
30 // member functions
31 // NOLINTBEGIN
33
34 MCNAPI bool CheckResponse(char const* data, uint64 size);
35
36 MCNAPI void Clear();
37
39
40 MCNAPI void Send(::cricket::StunRequest* request);
41
42 MCNAPI void SendDelayed(::cricket::StunRequest* request, int delay);
43
44 MCNAPI void SendPacket(void const* data, uint64 size, ::cricket::StunRequest* request);
45
48 ::std::function<void(void const*, uint64, ::cricket::StunRequest*)> send_packet
49 );
50
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCNAPI void* $ctor(
59 ::std::function<void(void const*, uint64, ::cricket::StunRequest*)> send_packet
60 );
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCNAPI void $dtor();
67 // NOLINTEND
68};
69
70} // namespace cricket
Definition StunMessage.h:23
Definition StunRequestManager.h:14
MCAPI void Send(::cricket::StunRequest *request)
MCAPI bool CheckResponse(::cricket::StunMessage *msg)
MCAPI void SendPacket(void const *data, uint64 size, ::cricket::StunRequest *request)
MCAPI void SendDelayed(::cricket::StunRequest *request, int delay)
MCAPI void * $ctor(::webrtc::TaskQueueBase *thread, ::std::function< void(void const *, uint64, ::cricket::StunRequest *)> send_packet)
MCAPI StunRequestManager(::webrtc::TaskQueueBase *thread, ::std::function< void(void const *, uint64, ::cricket::StunRequest *)> send_packet)
MCAPI bool CheckResponse(char const *data, uint64 size)
MCAPI void OnRequestTimedOut(::cricket::StunRequest *request)
Definition StunRequest.h:14
Definition TaskQueueBase.h:16
Definition Alias.h:14