7 #ifndef __MUN_PROXY_SESSION_TO_CLIENT_HPP__ 8 #define __MUN_PROXY_SESSION_TO_CLIENT_HPP__ 21 static MrsServer s_pTcpModule;
24 static MrsServer s_pUdpModule;
27 static MrsServer s_pWsModule;
30 static MrsServer s_pWssModule;
33 static uint32 s_ClientNum;
56 static void Update(uint64 updateInterval);
77 static void OnNewConnectionCallback( MrsServer pMunProxy,
void* server_data, MrsConnection pMunClient );
83 static void OnTcpDisconnectCallback( MrsConnection pMunClient,
void* connection_data );
89 static void OnUdpDisconnectCallback( MrsConnection pMunClient,
void* connection_data );
95 static void OnWsDisconnectCallback( MrsConnection pMunClient,
void* connection_data );
101 static void OnWssDisconnectCallback( MrsConnection pMunClient,
void* connection_data );
108 static void OnTcpErrorCallback( MrsConnection pMunClient,
void* connection_data, MrsConnectionError status );
115 static void OnUdpErrorCallback( MrsConnection pMunClient,
void* connection_data, MrsConnectionError status );
122 static void OnWsErrorCallback( MrsConnection pMunClient,
void* connection_data, MrsConnectionError status );
129 static void OnWssErrorCallback( MrsConnection pMunClient,
void* connection_data, MrsConnectionError status );
140 static void OnReadRecordCallback( MrsConnection pMunClient,
void* connection_data, uint32 seqnum, uint16 options, uint16 payload_type,
const void* payload, uint32 payload_len );
static void Update(uint64 updateInterval)
更新処理(個別送信処理).
Definition: MunProxySessionToClient.cpp:129
MUN クライアントから mun_proxy サーバに対して送信される、mun_proxyサーバ認証要求. ...
Definition: MunStream.hpp:2030
mrs::Buffer の拡張クラス.
Definition: MunBuffer.hpp:17
static void Finalize()
終了処理.
Definition: MunProxySessionToClient.cpp:137
static void Send_Relay_Anything(MrsConnection pMunClient, uint16 payload_type, MunBuffer &buffer)
MUNクライアントに対し、mun_masterサーバから受信した情報を渡す.
Definition: MunProxySessionToClient.cpp:164
static bool Initialize(MunProxyConfigure &configure)
初期化処理.
Definition: MunProxySessionToClient.cpp:37
MUNクライアントとのネットワーク接続処理クラス.
Definition: MunProxySessionToClient.hpp:17
static uint32 GetClientNum()
接続クライアント数の取得.
Definition: MunProxySessionToClient.hpp:42