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& addr) const;
29
30 MCNAPI bool EqualPorts(::rtc::SocketAddress const& addr) const;
31
32 MCNAPI ::std::string HostAsSensitiveURIString() const;
33
34 MCNAPI ::std::string HostAsURIString() const;
35
36 MCNAPI bool IsAnyIP() const;
37
38 MCNAPI bool IsLoopbackIP() const;
39
40 MCNAPI bool IsNil() const;
41
42 MCNAPI bool IsPrivateIP() const;
43
44 MCNAPI bool IsUnresolvedIP() const;
45
46 MCNAPI ::std::string PortAsString() const;
47
48 MCNAPI void SetIP(::std::string_view hostname);
49
50 MCNAPI void SetIP(::rtc::IPAddress const& ip);
51
52 MCNAPI void SetPort(int port);
53
54 MCNAPI void SetResolvedIP(::rtc::IPAddress const& ip);
55
56 MCNAPI SocketAddress();
57
59
60 MCNAPI SocketAddress(::std::string_view hostname, int port);
61
62 MCNAPI SocketAddress(::rtc::IPAddress const& ip, int port);
63
64 MCNAPI ::std::string ToSensitiveNameAndAddressString() const;
65
66 MCNAPI ::std::string ToSensitiveString() const;
67
68 MCNAPI uint64 ToSockAddrStorage(::sockaddr_storage* addr) const;
69
70 MCNAPI ::std::string ToString() const;
71
72 MCNAPI ::rtc::IPAddress const& ipaddr() const;
73
74 MCNAPI bool operator<(::rtc::SocketAddress const& addr) const;
75
76 MCNAPI ::rtc::SocketAddress& operator=(::rtc::SocketAddress const& addr);
77
78 MCNAPI bool operator==(::rtc::SocketAddress const& addr) const;
79
80 MCNAPI ushort port() const;
81
83 // NOLINTEND
84
85public:
86 // constructor thunks
87 // NOLINTBEGIN
88 MCNAPI void* $ctor();
89
90 MCNAPI void* $ctor(::rtc::SocketAddress const& addr);
91
92 MCNAPI void* $ctor(::std::string_view hostname, int port);
93
94 MCNAPI void* $ctor(::rtc::IPAddress const& ip, int port);
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100 MCNAPI void $dtor();
101 // NOLINTEND
102};
103
104} // namespace rtc
Definition IPAddress.h:7
Definition SocketAddress.h:12
MCAPI::std::string PortAsString() const
MCAPI bool operator<(::rtc::SocketAddress const &addr) const
MCAPI::std::string ToSensitiveNameAndAddressString() const
MCAPI void $dtor()
MCAPI::rtc::SocketAddress & operator=(::rtc::SocketAddress const &addr)
MCAPI bool IsAnyIP() const
MCAPI ushort port() const
MCAPI SocketAddress(::std::string_view hostname, int port)
MCAPI bool IsLoopbackIP() const
MCAPI bool EqualIPs(::rtc::SocketAddress const &addr) const
MCAPI bool IsNil() const
MCAPI bool EqualPorts(::rtc::SocketAddress const &addr) const
MCAPI uint64 ToSockAddrStorage(::sockaddr_storage *addr) const
MCAPI::std::string ToString() const
MCAPI void * $ctor(::rtc::SocketAddress const &addr)
MCAPI::std::string ToSensitiveString() const
MCAPI::rtc::IPAddress const & ipaddr() const
MCAPI bool IsPrivateIP() const
MCAPI void SetIP(::std::string_view hostname)
MCAPI void * $ctor(::rtc::IPAddress const &ip, int port)
MCAPI void * $ctor(::std::string_view hostname, int port)
MCAPI void * $ctor()
MCAPI SocketAddress(::rtc::SocketAddress const &addr)
MCAPI void SetPort(int port)
MCAPI SocketAddress(::rtc::IPAddress const &ip, int port)
MCAPI::std::string HostAsSensitiveURIString() const
MCAPI::std::string HostAsURIString() const
MCAPI void SetResolvedIP(::rtc::IPAddress const &ip)
MCAPI void SetIP(::rtc::IPAddress const &ip)
MCAPI bool IsUnresolvedIP() const
MCAPI bool operator==(::rtc::SocketAddress const &addr) const
MCAPI void Clear()
Definition Alias.h:14