LeviLamina
Loading...
Searching...
No Matches
Context.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/dcsctp/SctpPacket.h"
7#include "mc/external/webrtc/StrongAlias.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace dcsctp { class DcSctpSocketCallbacks; }
12namespace dcsctp { class TSNTag; }
13namespace webrtc { class TimeDelta; }
14// clang-format on
15
16namespace dcsctp {
17
18class Context {
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~Context() = default;
24
25 // vIndex: 1
26 virtual bool is_connection_established() const = 0;
27
28 // vIndex: 2
29 virtual ::webrtc::StrongAlias<::dcsctp::TSNTag, uint> my_initial_tsn() const = 0;
30
31 // vIndex: 3
32 virtual ::webrtc::StrongAlias<::dcsctp::TSNTag, uint> peer_initial_tsn() const = 0;
33
34 // vIndex: 4
35 virtual ::dcsctp::DcSctpSocketCallbacks& callbacks() const = 0;
36
37 // vIndex: 5
38 virtual void ObserveRTT(::webrtc::TimeDelta) = 0;
39
40 // vIndex: 6
41 virtual ::webrtc::TimeDelta current_rto() const = 0;
42
43 // vIndex: 7
44 virtual bool IncrementTxErrorCounter(::std::string_view) = 0;
45
46 // vIndex: 8
47 virtual void ClearTxErrorCounter() = 0;
48
49 // vIndex: 9
50 virtual bool HasTooManyTxErrors() const = 0;
51
52 // vIndex: 10
53 virtual ::dcsctp::SctpPacket::Builder PacketBuilder() const = 0;
54
55 // vIndex: 11
56 virtual void Send(::dcsctp::SctpPacket::Builder&) = 0;
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62
63 // NOLINTEND
64};
65
66} // namespace dcsctp
Definition Context.h:18
Definition SctpPacket.h:42
Definition TimeDelta.h:10