7 #ifndef __MUN_PROXY_SESSION_TO_RESOLVER_SERVER_HPP__ 8 #define __MUN_PROXY_SESSION_TO_RESOLVER_SERVER_HPP__ 21 static MrsConnection s_pConnectModule;
24 static MrsConnection s_pResolverModule;
27 static uint64 s_CheckTime;
30 static std::string s_ResolverConnectAddress;
33 static uint16 s_ResolverConnectPort;
36 static int32 s_ResolverConnectTimeout;
39 static bool s_IsRetryConnect;
42 static std::string s_ClientListeningAddress;
45 static uint16 s_ClientListeningPortTCP;
48 static uint16 s_ClientListeningPortUDP;
51 static uint16 s_ClientListeningPortWS;
54 static uint16 s_ClientListeningPortWSS;
74 static bool Connect();
81 static void Update(uint64 updateInterval);
107 static void OnConnectCallback( MrsConnection pMunResolver,
void* connection_data );
113 static void OnDisconnectCallback( MrsConnection pMunResolver,
void* connection_data );
120 static void OnErrorCallback( MrsConnection pMunResolver,
void* connection_data, MrsConnectionError status );
131 static void OnReadRecordCallback( MrsConnection pMunResolver,
void* connection_data, uint32 seqnum, uint16 options, uint16 payload_type,
const void* payload, uint32 payload_len );
static void Update(uint64 updateInterval)
更新処理(個別送信処理).
Definition: MunProxySessionToResolverServer.cpp:106
static void Send_ProxyResolver_SetAddress(MrsConnection pMunResolver, STREAM::ProxyResolverSetAddressRequest &request)
mrs_resolverに対し、mun_proxyサーバのクライアントリスニング情報を渡す.
Definition: MunProxySessionToResolverServer.cpp:156
mun_proxyサーバからmun_resolverサーバに対して送信される、mun_proxyサーバのアドレス情報.
Definition: MunStream.hpp:1863
static void Finalize()
終了処理.
Definition: MunProxySessionToResolverServer.cpp:140
static void Send_ProxyResolver_SetWeight(MrsConnection pMunResolver, STREAM::ProxyResolverSetWeightRequest &request)
mrs_resolverに対し、mun_proxyサーバの負荷の情報を渡す.
Definition: MunProxySessionToResolverServer.cpp:173
mun_resolverサーバとのネットワーク接続処理クラス.
Definition: MunProxySessionToResolverServer.hpp:17
static bool Initialize(MunProxyConfigure &configure)
初期化処理.
Definition: MunProxySessionToResolverServer.cpp:58
mun_proxyサーバからmun_resolverサーバに対して送信される、mun_proxyサーバの負荷情報.
Definition: MunStream.hpp:1965