Photon Server API Documentation v5.0RC1

Classes | Public Member Functions | Properties | List of all members
Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue Class Reference
Inheritance diagram for Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue:
Photon.Common.Authentication.CustomAuthentication.IClientAuthenticationQueue

Classes

struct  CreateParam
 
class  RoundRobinCounter
 

Public Member Functions

 ClientAuthenticationQueue (string uri, string queryStringParameters, bool rejectIfUnavailable, int requestTimeout, bool forwardAsJSON)
 
 ClientAuthenticationQueue (CreateParam param, bool checkUrl=true)
 
void SetHttpRequestQueueCounters (IHttpRequestQueueCounters counters)
 
void EnqueueRequest (string clientQueryStringParameters, byte[] postData, string contentType, Action< AsyncHttpResponse, IClientAuthenticationQueue > callback, object state, bool checkUrl=true)
 
void EnqueueRequestWithExpectedStatusCodes (HttpWebRequest webRequest, byte[] postData, Action< AsyncHttpResponse, IClientAuthenticationQueue > callback, object state, List< HttpStatusCode > expectedStatusCodes)
 

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 MaxBackoffTimeInMilliseconds [get, set]
 
ClientAuthenticationType ClientAuthenticationType [get, set]
 
object CustomData [get, set]
 
NameValueCollection QueryStringParametersCollection [get]
 
string Uri [get]
 
string QueryStringParameters [get]
 
bool RejectIfUnavailable [get]
 
bool ForwardAsJSON [get]
 
int ResponseMaxSizeLimit [get, set]
 
- Properties inherited from Photon.Common.Authentication.CustomAuthentication.IClientAuthenticationQueue
NameValueCollection QueryStringParametersCollection [get]
 
string Uri [get]
 
string QueryStringParameters [get]
 
bool RejectIfUnavailable [get]
 
bool ForwardAsJSON [get]
 
ClientAuthenticationType ClientAuthenticationType [get]
 
object CustomData [get]
 

Constructor & Destructor Documentation

◆ ClientAuthenticationQueue() [1/2]

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

◆ ClientAuthenticationQueue() [2/2]

Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.ClientAuthenticationQueue ( CreateParam  param,
bool  checkUrl = true 
)
inline

Member Function Documentation

◆ EnqueueRequest()

void Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.EnqueueRequest ( string  clientQueryStringParameters,
byte[]  postData,
string  contentType,
Action< AsyncHttpResponse, IClientAuthenticationQueue callback,
object  state,
bool  checkUrl = true 
)
inline

◆ EnqueueRequestWithExpectedStatusCodes()

void Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.EnqueueRequestWithExpectedStatusCodes ( HttpWebRequest  webRequest,
byte[]  postData,
Action< AsyncHttpResponse, IClientAuthenticationQueue callback,
object  state,
List< HttpStatusCode >  expectedStatusCodes 
)
inline

◆ SetHttpRequestQueueCounters()

void Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.SetHttpRequestQueueCounters ( IHttpRequestQueueCounters  counters)
inline

Property Documentation

◆ ClientAuthenticationType

ClientAuthenticationType Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.ClientAuthenticationType
getset

◆ CurrentRequests

int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.CurrentRequests
get

◆ CustomData

object Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.CustomData
getset

◆ ForwardAsJSON

bool Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.ForwardAsJSON
get

◆ MaxBackoffTimeInMilliseconds

int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxBackoffTimeInMilliseconds
getset

◆ MaxConcurrentRequests

int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxConcurrentRequests
getset

◆ MaxErrorRequests

int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxErrorRequests
getset

◆ MaxQueuedRequests

int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxQueuedRequests
getset

◆ MaxTimedOutRequests

int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.MaxTimedOutRequests
getset

◆ QueryStringParameters

string Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.QueryStringParameters
get

◆ QueryStringParametersCollection

NameValueCollection Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.QueryStringParametersCollection
get

◆ QueueTimeout

TimeSpan Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.QueueTimeout
getset

◆ ReconnectInterval

TimeSpan Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.ReconnectInterval
getset

◆ RejectIfUnavailable

bool Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.RejectIfUnavailable
get

◆ ResponseMaxSizeLimit

int Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.ResponseMaxSizeLimit
getset

◆ Uri

string Photon.Common.Authentication.CustomAuthentication.ClientAuthenticationQueue.Uri
get