7 #ifndef __MUN_MONITOR_SESSION_HPP__ 8 #define __MUN_MONITOR_SESSION_HPP__ 12 #include "config/MunMonitorConfigure.hpp" 22 static MrsConnection s_Connection;
25 static std::stringstream s_StringStream;
28 static bool s_IsUpdate;
31 static uint32 s_Timeout;
34 static mrs::Time s_EndTime;
41 static std::string
GetString(){
return s_StringStream.str(); }
68 static void OnConnect( MrsConnection connection,
void* connection_data );
75 static void OnDisconnect( MrsConnection connection,
void* connection_data );
83 static void OnError( MrsConnection connection,
void* connection_data, MrsConnectionError status );
95 static void OnReadRecord( MrsConnection connection,
void* connection_data, uint32 seqnum, uint16 options, uint16 payload_type,
const void* payload, uint32 payload_len );
static void Finalize()
終了処理.
Definition: MunMonitorSession.cpp:76
static bool Initialize(MunMonitorConfigure &configure)
初期化処理.
Definition: MunMonitorSession.cpp:32
static bool Update()
更新処理(個別送信処理).
Definition: MunMonitorSession.cpp:61
static std::string GetString()
文字列の取得.
Definition: MunMonitorSession.hpp:41
ネットワーク接続処理クラス.
Definition: MunMonitorSession.hpp:18