Monobit Unity Networking ver.2.8.0 Server API Reference (C++)
MunResolverSessionToMonitor.hpp
Go to the documentation of this file.
1 
7 #ifndef __MUN_RESOLVER_SESSION_TO_MONITOR_HPP__
8 #define __MUN_RESOLVER_SESSION_TO_MONITOR_HPP__
9 
10 #include <mrs.hpp>
11 #include <stream/MunStream.hpp>
13 
18 {
19 private:
21  static MunResolverConfigure* s_Config;
22 
24  static MrsServer s_Server;
25 
26 public:
32  static bool Initialize( MunResolverConfigure& 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
static void Update(uint64 updateInterval)
更新処理(個別送信処理).
Definition: MunResolverSessionToMonitor.cpp:47
MUNにおける通信データ情報.
mun_resolverサーバの設定.
static void Finalize()
終了処理.
Definition: MunResolverSessionToMonitor.cpp:54
mun_resolver サーバの設定.
Definition: MunResolverConfigure.hpp:28
static bool Initialize(MunResolverConfigure &configure)
初期化処理.
Definition: MunResolverSessionToMonitor.cpp:24
mun_monitorとのネットワーク接続処理クラス.
Definition: MunResolverSessionToMonitor.hpp:17