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