Photon Server API
Classes | Public Member Functions | Public Attributes | Properties | List of all members
Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue Class Reference

Classes

class  RoundRobinCounter
 

Public Member Functions

 ClientAuthenticationQueue (string uri, string queryStringParameters, bool rejectIfUnavailable, int requestTimeout)
 
void SetHttpRequestQueueCounters (IHttpRequestQueueCounters counters)
 
void EnqueueRequest (string clientQueryStringParamters, byte[] postData, Action< AsyncHttpResponse, ClientAuthenticationQueue > callback, object state)
 

Public Attributes

readonly string Uri
 
readonly string QueryStringParameters
 
readonly bool RejectIfUnavailable
 
readonly RoundRobinCounter RequestTimeCounter = new RoundRobinCounter(100)
 

Properties

int CurrentRequests [get]
 
TimeSpan ReconnectInterval [get, set]
 
TimeSpan QueueTimeout [get, set]
 
int MaxQueuedRequests [get, set]
 
int MaxConcurrentRequests [get, set]
 
int MaxErrorRequests [get, set]
 
int MaxTimedOutRequests [get, set]
 
int MaxBackoffTimeInMiliseconds [get, set]
 
object CustomData [get, set]
 

Constructor & Destructor Documentation

Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.ClientAuthenticationQueue ( string  uri,
string  queryStringParameters,
bool  rejectIfUnavailable,
int  requestTimeout 
)
inline

Member Function Documentation

void Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.EnqueueRequest ( string  clientQueryStringParamters,
byte[]  postData,
Action< AsyncHttpResponse, ClientAuthenticationQueue callback,
object  state 
)
inline
void Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.SetHttpRequestQueueCounters ( IHttpRequestQueueCounters  counters)
inline

Member Data Documentation

readonly string Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.QueryStringParameters
readonly bool Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.RejectIfUnavailable
readonly RoundRobinCounter Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.RequestTimeCounter = new RoundRobinCounter(100)
readonly string Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.Uri

Property Documentation

int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.CurrentRequests
get
object Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.CustomData
getset
int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxBackoffTimeInMiliseconds
getset
int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxConcurrentRequests
getset
int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxErrorRequests
getset
int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxQueuedRequests
getset
int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxTimedOutRequests
getset
TimeSpan Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.QueueTimeout
getset
TimeSpan Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.ReconnectInterval
getset