Photon Server API
Classes | Public Member Functions | Static Protected Attributes | List of all members
Photon.Hive.WebRpc.WebRpcHandler Class Reference
Inheritance diagram for Photon.Hive.WebRpc.WebRpcHandler:
Photon.SocketServer.Net.IHttpRequestQueueCounters

Public Member Functions

 WebRpcHandler (string baseUrl, Dictionary< string, object > environment, IRpcHandlerAppCounters rpcAppCounters=null, HttpRequestQueueOptions httpRequestQueueOptions=null)
 
 WebRpcHandler (string baseUrl, Dictionary< string, object > environment, HttpRequestQueue queue, IRpcHandlerAppCounters rpcAppCounters=null, HttpRequestQueueOptions httpRequestQueueOptions=null)
 
bool HandleCall (PeerBase peer, string userId, OperationRequest request, object authResultsSecure, SendParameters sp)
 
void HttpQueueRequestsIncrement ()
 
void HttpQueueResponsesIncrement ()
 
void HttpQueueSuccessIncrement ()
 
void HttpQueueTimeoutIncrement ()
 
void HttpQueueErrorsIncrement ()
 
void HttpQueueOfflineResponsesIncrement ()
 
void HttpQueueConcurrentRequestsIncrement ()
 
void HttpQueueConcurrentRequestsDecrement ()
 
void HttpQueueQueuedRequestsIncrement ()
 
void HttpQueueQueuedRequestsDecrement ()
 
void HttpRequestExecuteTimeIncrement (long ticks)
 
void HttpQueueOnlineQueueCounterIncrement ()
 
void HttpQueueOnlineQueueCounterDecrement ()
 
void HttpQueueBackedoffRequestsIncrement ()
 
void HttpQueueBackedoffRequestsDecrement ()
 
void HttpRequestIncrement ()
 
void HttpSuccessIncrement ()
 
void HttpTimeoutIncrement ()
 
void HttpErrorsIncrement ()
 

Static Protected Attributes

static readonly ILogger Log = LogManager.GetCurrentClassLogger()
 
static readonly IHttpQueueCountersInstance _Total = HttpQueuePerformanceCounters.GetInstance("_Total")
 
static readonly IHttpQueueCountersInstance countersInstance
 

Constructor & Destructor Documentation

Photon.Hive.WebRpc.WebRpcHandler.WebRpcHandler ( string  baseUrl,
Dictionary< string, object >  environment,
IRpcHandlerAppCounters  rpcAppCounters = null,
HttpRequestQueueOptions  httpRequestQueueOptions = null 
)
inline
Photon.Hive.WebRpc.WebRpcHandler.WebRpcHandler ( string  baseUrl,
Dictionary< string, object >  environment,
HttpRequestQueue  queue,
IRpcHandlerAppCounters  rpcAppCounters = null,
HttpRequestQueueOptions  httpRequestQueueOptions = null 
)
inline

Member Function Documentation

bool Photon.Hive.WebRpc.WebRpcHandler.HandleCall ( PeerBase  peer,
string  userId,
OperationRequest  request,
object  authResultsSecure,
SendParameters  sp 
)
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpErrorsIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueBackedoffRequestsDecrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueBackedoffRequestsIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueConcurrentRequestsDecrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueConcurrentRequestsIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueErrorsIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueOfflineResponsesIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueOnlineQueueCounterDecrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueOnlineQueueCounterIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueQueuedRequestsDecrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueQueuedRequestsIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueRequestsIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueResponsesIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueSuccessIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpQueueTimeoutIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpRequestExecuteTimeIncrement ( long  ticks)
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpRequestIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpSuccessIncrement ( )
inline
void Photon.Hive.WebRpc.WebRpcHandler.HttpTimeoutIncrement ( )
inline

Member Data Documentation

readonly IHttpQueueCountersInstance Photon.Hive.WebRpc.WebRpcHandler._Total = HttpQueuePerformanceCounters.GetInstance("_Total")
staticprotected
readonly IHttpQueueCountersInstance Photon.Hive.WebRpc.WebRpcHandler.countersInstance
staticprotected
Initial value:
=
HttpQueuePerformanceCounters.GetInstance(ApplicationBase.Instance.PhotonInstanceName + "_rpc")
readonly ILogger Photon.Hive.WebRpc.WebRpcHandler.Log = LogManager.GetCurrentClassLogger()
staticprotected