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