7 #ifndef __MUN_PROXY_SESSION_TO_MASTER_SERVER_HPP__ 8 #define __MUN_PROXY_SESSION_TO_MASTER_SERVER_HPP__ 21 static MrsConnection s_pConnectModule;
24 static MrsConnection s_pMasterModule;
27 static uint64 s_CheckTime;
30 static std::string s_MasterConnectAddress;
33 static int32 s_MasterConnectPort;
36 static int32 s_MasterConnectTimeout;
39 static bool s_IsRetryConnect;
54 static bool Connect();
61 static void Update(uint64 updateInterval);
81 static void OnConnectCallback( MrsConnection pMunMaster,
void* connection_data );
87 static void OnDisconnectCallback( MrsConnection pMunMaster,
void* connection_data );
94 static void OnErrorCallback( MrsConnection pMunMaster,
void* connection_data, MrsConnectionError status );
105 static void OnReadRecordCallback( MrsConnection pMunMaster,
void* connection_data, uint32 seqnum, uint16 options, uint16 payload_type,
const void* payload, uint32 payload_len );
static void Finalize()
終了処理.
Definition: MunProxySessionToMasterServer.cpp:109
mrs::Buffer の拡張クラス.
Definition: MunBuffer.hpp:17
static void Send_Relay_Anything(uint64 clientUid, uint16 payload_type, MunBuffer &buffer)
mun_masterサーバに対し、MUNクライアントから受信した情報を渡す.
Definition: MunProxySessionToMasterServer.cpp:126
static bool Initialize(MunProxyConfigure &configure)
初期化処理.
Definition: MunProxySessionToMasterServer.cpp:39
static void Update(uint64 updateInterval)
更新処理(個別送信処理).
Definition: MunProxySessionToMasterServer.cpp:82
mun_masterサーバとのネットワーク接続処理クラス.
Definition: MunProxySessionToMasterServer.hpp:17