LeviLamina
Loading...
Searching...
No Matches
JsepTransportCollection.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace cricket { class JsepTransport; }
8// clang-format on
9
10namespace webrtc {
11
13public:
14 // member functions
15 // NOLINTBEGIN
16 MCAPI ::std::vector<::cricket::JsepTransport*> ActiveTransports();
17
18 MCAPI void CommitTransports();
19
20 MCAPI void DestroyAllTransports();
21
22 MCAPI void DestroyUnusedTransports();
23
24 MCAPI ::cricket::JsepTransport const* GetTransportByName(::std::string const&) const;
25
26 MCAPI ::cricket::JsepTransport* GetTransportByName(::std::string const&);
27
28 MCAPI ::cricket::JsepTransport const* GetTransportForMid(::std::string_view) const;
29
30 MCAPI ::cricket::JsepTransport const* GetTransportForMid(::std::string const&) const;
31
32 MCAPI ::cricket::JsepTransport* GetTransportForMid(::std::string const&);
33
34 MCAPI
35 JsepTransportCollection(::std::function<bool(::std::string const&, ::cricket::JsepTransport*)>, ::std::function<void()>);
36
37 MCAPI void MaybeDestroyJsepTransport(::cricket::JsepTransport*);
38
39 MCAPI void RegisterTransport(::std::string const&, ::std::unique_ptr<::cricket::JsepTransport>);
40
41 MCAPI void RemoveTransportForMid(::std::string const&);
42
43 MCAPI bool RollbackTransports();
44
45 MCAPI bool SetTransportForMid(::std::string const&, ::cricket::JsepTransport*);
46
47 MCAPI bool TransportInUse(::cricket::JsepTransport*) const;
48
49 MCAPI bool TransportNeededForRollback(::cricket::JsepTransport*) const;
50
51 MCAPI ::std::vector<::cricket::JsepTransport*> Transports();
52
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::std::function<bool(::std::string const&, ::cricket::JsepTransport*)>, ::std::function<void()>);
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCAPI void $dtor();
66 // NOLINTEND
67};
68
69} // namespace webrtc
Definition JsepTransport.h:32
Definition JsepTransportCollection.h:12