Monobit Unity Networking ver.2.8.0 Server API Reference (C++)
MunResolverProxyConnectInfo.hpp
Go to the documentation of this file.
1 
7 #ifndef __MUN_RESOLVER_PROXY_CONNECT_INFO_HPP__
8 #define __MUN_RESOLVER_PROXY_CONNECT_INFO_HPP__
9 
10 #include <mrs.hpp>
11 
16 {
17 private:
19  std::string m_Address;
20 
22  uint16 m_TcpPort;
23 
25  uint16 m_UdpPort;
26 
28  uint16 m_WsPort;
29 
31  uint16 m_WssPort;
32 
33 public:
38  std::string GetAddress() { return m_Address; }
39 
44  void SetAddress(std::string address) { m_Address = address; }
45 
50  uint16 GetTcpPort() { return m_TcpPort; }
51 
56  void SetTcpPort(uint16 port) { m_TcpPort = port; }
57 
62  uint16 GetUdpPort() { return m_UdpPort; }
63 
68  void SetUdpPort(uint16 port) { m_UdpPort = port; }
69 
74  uint16 GetWsPort() { return m_WsPort; }
75 
80  void SetWsPort(uint16 port) { m_WsPort = port; }
81 
86  uint16 GetWssPort() { return m_WssPort; }
87 
92  void SetWssPort(uint16 port) { m_WssPort = port; }
93 
94 public:
99  {
100  m_Address = "";
101  m_TcpPort = 0;
102  m_UdpPort = 0;
103  m_WsPort = 0;
104  m_WssPort = 0;
105  }
106 
111 };
112 
113 #endif /* __MUN_RESOLVER_PROXY_CONNECT_INFO_HPP__ */
virtual ~ProxyServerConnectInfo()
デストラクタ.
Definition: MunResolverProxyConnectInfo.hpp:110
void SetUdpPort(uint16 port)
UDPポート番号の設定.
Definition: MunResolverProxyConnectInfo.hpp:68
uint16 GetTcpPort()
TCPポート番号の取得.
Definition: MunResolverProxyConnectInfo.hpp:50
uint16 GetWssPort()
WebSocketポート番号の取得.
Definition: MunResolverProxyConnectInfo.hpp:86
std::string GetAddress()
IPアドレスの取得.
Definition: MunResolverProxyConnectInfo.hpp:38
uint16 GetUdpPort()
UDPポート番号の取得.
Definition: MunResolverProxyConnectInfo.hpp:62
void SetWsPort(uint16 port)
WebSocketポート番号の設定.
Definition: MunResolverProxyConnectInfo.hpp:80
void SetAddress(std::string address)
IPアドレスの設定.
Definition: MunResolverProxyConnectInfo.hpp:44
uint16 GetWsPort()
WebSocketポート番号の取得.
Definition: MunResolverProxyConnectInfo.hpp:74
mun_proxyサーバの接続情報.
Definition: MunResolverProxyConnectInfo.hpp:15
ProxyServerConnectInfo()
コンストラクタ.
Definition: MunResolverProxyConnectInfo.hpp:98
void SetTcpPort(uint16 port)
TCPポート番号の設定.
Definition: MunResolverProxyConnectInfo.hpp:56
void SetWssPort(uint16 port)
WebSocketポート番号の設定.
Definition: MunResolverProxyConnectInfo.hpp:92