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