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 // prevent constructor by default
16
17public:
18 // member functions
19 // NOLINTBEGIN
20 MCNAPI ::std::vector<::cricket::JsepTransport*> ActiveTransports();
21
22 MCNAPI void CommitTransports();
23
24 MCNAPI void DestroyAllTransports();
25
27
28 MCNAPI ::cricket::JsepTransport const* GetTransportByName(::std::string const&) const;
29
30 MCNAPI ::cricket::JsepTransport* GetTransportByName(::std::string const&);
31
32 MCNAPI ::cricket::JsepTransport const* GetTransportForMid(::std::string_view) const;
33
34 MCNAPI ::cricket::JsepTransport const* GetTransportForMid(::std::string const&) const;
35
36 MCNAPI ::cricket::JsepTransport* GetTransportForMid(::std::string const&);
37
39 ::std::function<bool(::std::string const&, ::cricket::JsepTransport*)>,
40 ::std::function<void()>
41 );
42
44
45 MCNAPI void RegisterTransport(::std::string const&, ::std::unique_ptr<::cricket::JsepTransport>);
46
47 MCNAPI void RemoveTransportForMid(::std::string const&);
48
49 MCNAPI bool RollbackTransports();
50
51 MCNAPI bool SetTransportForMid(::std::string const&, ::cricket::JsepTransport*);
52
54
56
57 MCNAPI ::std::vector<::cricket::JsepTransport*> Transports();
58
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCNAPI void* $ctor(::std::function<bool(::std::string const&, ::cricket::JsepTransport*)>, ::std::function<void()>);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCNAPI void $dtor();
72 // NOLINTEND
73};
74
75} // namespace webrtc
Definition JsepTransport.h:32
Definition JsepTransportCollection.h:12
MCAPI ::std::vector<::cricket::JsepTransport * > Transports()
MCAPI::cricket::JsepTransport const * GetTransportForMid(::std::string const &) const
MCAPI void MaybeDestroyJsepTransport(::cricket::JsepTransport *)
MCAPI bool SetTransportForMid(::std::string const &, ::cricket::JsepTransport *)
MCAPI::cricket::JsepTransport const * GetTransportByName(::std::string const &) const
MCAPI bool TransportInUse(::cricket::JsepTransport *) const
MCAPI::cricket::JsepTransport * GetTransportForMid(::std::string const &)
MCAPI::cricket::JsepTransport * GetTransportByName(::std::string const &)
MCAPI void RegisterTransport(::std::string const &, ::std::unique_ptr<::cricket::JsepTransport >)
MCAPI void * $ctor(::std::function< bool(::std::string const &, ::cricket::JsepTransport *)>, ::std::function< void()>)
MCAPI JsepTransportCollection(::std::function< bool(::std::string const &, ::cricket::JsepTransport *)>, ::std::function< void()>)
MCAPI::cricket::JsepTransport const * GetTransportForMid(::std::string_view) const
MCAPI ::std::vector<::cricket::JsepTransport * > ActiveTransports()
MCAPI bool TransportNeededForRollback(::cricket::JsepTransport *) const
MCAPI void RemoveTransportForMid(::std::string const &)