Monobit Unity Networking ver.2.8.0 Server API Reference (C++)
MunResolverSessionToProxyServer.hpp
Go to the documentation of this file.
1 
7 #ifndef __MUN_RESOLVER_SESSION_TO_PROXY_SERVER_HPP__
8 #define __MUN_RESOLVER_SESSION_TO_PROXY_SERVER_HPP__
9 
10 #include <mrs.hpp>
11 #include <stream/MunStream.hpp>
13 
18 {
19 private:
21  static MrsServer s_pModule;
22 
23 public:
29  static bool Initialize( MunResolverConfigure& configure );
30 
35  static void Update(uint64 updateInterval);
36 
40  static void Finalize();
41 
42 
43  static STREAM::ProxyResolverSetAddressRequest s_ProxyResolverSetAddressRequest;
44  static STREAM::ProxyResolverSetWeightRequest s_ProxyResolverSetWeightRequest;
45 
46 
47 private:
53  static void OnNewConnectionCallback( MrsServer pMunResolver, void* server_data, MrsConnection pMunProxy );
54 
59  static void OnDisconnectCallback( MrsConnection pMunProxy, void* connection_data );
60 
66  static void OnErrorCallback( MrsConnection pMunProxy, void* connection_data, MrsConnectionError status );
67 
77  static void OnReadRecordCallback( MrsConnection pMunProxy, void* connection_data, uint32 seqnum, uint16 options, uint16 payload_type, const void* payload, uint32 payload_len );
78 };
79 
80 #endif /* __MUN_RESOLVER_SESSION_TO_PROXY_SERVER_HPP__ */
mun_proxyサーバからmun_resolverサーバに対して送信される、mun_proxyサーバのアドレス情報.
Definition: MunStream.hpp:1863
MUNにおける通信データ情報.
mun_resolverサーバの設定.
mun_resolver サーバの設定.
Definition: MunResolverConfigure.hpp:28
static bool Initialize(MunResolverConfigure &configure)
初期化処理.
Definition: MunResolverSessionToProxyServer.cpp:25
mun_proxyサーバとのネットワーク接続処理クラス.
Definition: MunResolverSessionToProxyServer.hpp:17
static void Update(uint64 updateInterval)
更新処理(個別送信処理).
Definition: MunResolverSessionToProxyServer.cpp:52
static void Finalize()
終了処理.
Definition: MunResolverSessionToProxyServer.cpp:60
mun_proxyサーバからmun_resolverサーバに対して送信される、mun_proxyサーバの負荷情報.
Definition: MunStream.hpp:1965