LeviLamina
Loading...
Searching...
No Matches
SocketAddress.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace rtc { class IPAddress; }
8// clang-format on
9
10namespace rtc {
11
13public:
14 // member variables
15 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCNAPI void Clear();
27
28 MCNAPI bool EqualIPs(::rtc::SocketAddress const&) const;
29
30 MCNAPI bool EqualPorts(::rtc::SocketAddress const&) const;
31
32 MCNAPI bool FromString(::std::string_view);
33
34 MCNAPI ::std::string HostAsSensitiveURIString() const;
35
36 MCNAPI ::std::string HostAsURIString() const;
37
38 MCNAPI bool IsAnyIP() const;
39
40 MCNAPI bool IsLoopbackIP() const;
41
42 MCNAPI bool IsNil() const;
43
44 MCNAPI bool IsPrivateIP() const;
45
46 MCNAPI bool IsUnresolvedIP() const;
47
48 MCNAPI ::std::string PortAsString() const;
49
50 MCNAPI void SetIP(::rtc::IPAddress const&);
51
52 MCNAPI void SetIP(::std::string_view);
53
54 MCNAPI void SetPort(int);
55
56 MCNAPI void SetResolvedIP(::rtc::IPAddress const&);
57
58 MCNAPI SocketAddress();
59
61
62 MCNAPI SocketAddress(::rtc::IPAddress const&, int);
63
64 MCNAPI SocketAddress(::std::string_view, int);
65
66 MCNAPI ::std::string ToSensitiveNameAndAddressString() const;
67
68 MCNAPI ::std::string ToSensitiveString() const;
69
70 MCNAPI uint64 ToSockAddrStorage(::sockaddr_storage*) const;
71
72 MCNAPI ::std::string ToString() const;
73
74 MCNAPI ::rtc::IPAddress const& ipaddr() const;
75
76 MCNAPI bool operator<(::rtc::SocketAddress const&) const;
77
78 MCNAPI ::rtc::SocketAddress& operator=(::rtc::SocketAddress const&);
79
80 MCNAPI bool operator==(::rtc::SocketAddress const&) const;
81
82 MCNAPI ushort port() const;
83
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCNAPI void* $ctor();
91
92 MCNAPI void* $ctor(::rtc::SocketAddress const&);
93
94 MCNAPI void* $ctor(::rtc::IPAddress const&, int);
95
96 MCNAPI void* $ctor(::std::string_view, int);
97 // NOLINTEND
98
99public:
100 // destructor thunk
101 // NOLINTBEGIN
102 MCNAPI void $dtor();
103 // NOLINTEND
104};
105
106} // namespace rtc
Definition IPAddress.h:7
Definition SocketAddress.h:12
MCAPI bool operator<(::rtc::SocketAddress const &) const
MCAPI bool EqualPorts(::rtc::SocketAddress const &) const
MCAPI::std::string PortAsString() const
MCAPI::std::string ToSensitiveNameAndAddressString() const
MCAPI::rtc::SocketAddress & operator=(::rtc::SocketAddress const &)
MCAPI void $dtor()
MCAPI void * $ctor(::std::string_view, int)
MCAPI bool IsAnyIP() const
MCAPI ushort port() const
MCAPI bool IsLoopbackIP() const
MCAPI bool EqualIPs(::rtc::SocketAddress const &) const
MCAPI bool FromString(::std::string_view)
MCAPI bool IsNil() const
MCAPI::std::string ToString() const
MCAPI::std::string ToSensitiveString() const
MCAPI::rtc::IPAddress const & ipaddr() const
MCAPI void SetIP(::rtc::IPAddress const &)
MCAPI void SetResolvedIP(::rtc::IPAddress const &)
MCAPI SocketAddress(::std::string_view, int)
MCAPI bool IsPrivateIP() const
MCAPI bool operator==(::rtc::SocketAddress const &) const
MCAPI void SetPort(int)
MCAPI void * $ctor()
MCAPI void * $ctor(::rtc::SocketAddress const &)
MCAPI SocketAddress(::rtc::IPAddress const &, int)
MCAPI void SetIP(::std::string_view)
MCAPI::std::string HostAsSensitiveURIString() const
MCAPI void * $ctor(::rtc::IPAddress const &, int)
MCAPI::std::string HostAsURIString() const
MCAPI bool IsUnresolvedIP() const
MCAPI SocketAddress(::rtc::SocketAddress const &)
MCAPI void Clear()
MCAPI uint64 ToSockAddrStorage(::sockaddr_storage *) const
Definition Alias.h:14