Monobit Unity Networking ver.2.8.0 Server API Reference (C++)
MunProxySessionToMonitor.hpp
Go to the documentation of this file.
1 
7 #ifndef __MUN_PROXY_SESSION_TO_MONITOR_HPP__
8 #define __MUN_PROXY_SESSION_TO_MONITOR_HPP__
9 
10 #include <mrs.hpp>
11 #include <stream/MunStream.hpp>
13 
18 {
19 private:
21  static MunProxyConfigure* s_Config;
22 
24  static MrsServer s_Server;
25 
26 public:
32  static bool Initialize( MunProxyConfigure& configure );
33 
38  static void Update(uint64 updateInterval);
39 
43  static void Finalize();
44 
45 private:
52  static void OnNewConnection( MrsServer server, void* server_data, MrsConnection client );
53 
59  static void OnDisconnect( MrsConnection connection, void* connection_data );
60 
67  static void OnError( MrsConnection connection, void* connection_data, MrsConnectionError status );
68 
79  static void OnReadRecord( MrsConnection connection, void* connection_data, uint32 seqnum, uint16 options, uint16 payload_type, const void* payload, uint32 payload_len );
80 };
81 
82 #endif
mun_proxy サーバの設定.
Definition: MunProxyConfigure.hpp:29
MUNにおける通信データ情報.
static void Finalize()
終了処理.
Definition: MunProxySessionToMonitor.cpp:54
static bool Initialize(MunProxyConfigure &configure)
初期化処理.
Definition: MunProxySessionToMonitor.cpp:24
mun_monitorとのネットワーク接続処理クラス.
Definition: MunProxySessionToMonitor.hpp:17
static void Update(uint64 updateInterval)
更新処理(個別送信処理).
Definition: MunProxySessionToMonitor.cpp:47
mun_proxyサーバの設定.