Simias::WebState Class Reference

Class to share and keep the client state for web communications. More...

Collaboration diagram for Simias::WebState:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 WebState (string DomainID, string CollectionID)
 Get a WebState object for the specified domain and collection.
 WebState (string DomainID, string CollectionID, string UserID)
 Get a WebState object for the specified domain.
 WebState (string DomainID, string CollectionID, string UserID, SimiasConnection.AuthType authType)
 Get a WebState object for the specified domain.
 WebState (string DomainID)
 Get a WebState with the specified credential.
void InitializeWebRequest (HttpWebRequest request, string domainID)
 Initialize the HttpWebRequest.
void InitializeWebClient (HttpWebClientProtocol request, string domainID)
 Initialize the web service proxy stub.

Static Public Member Functions

static void ResetWebState (string domainID)
 Resets the WebState object.


Detailed Description

Class to share and keep the client state for web communications.


Constructor & Destructor Documentation

Simias::WebState::WebState ( string  DomainID,
string  CollectionID 
) [inline]

Get a WebState object for the specified domain and collection.

Parameters:
domainID The domain ID.
collectionID The collection associated with the domain

Simias::WebState::WebState ( string  DomainID,
string  CollectionID,
string  UserID 
) [inline]

Get a WebState object for the specified domain.

Parameters:
domainID The domain ID.
collectionID The collection ID.
userID User ID of a member in the domain.

Simias::WebState::WebState ( string  DomainID,
string  CollectionID,
string  UserID,
SimiasConnection.AuthType  authType 
) [inline]

Get a WebState object for the specified domain.

Parameters:
DomainID The domain ID.
CollectionID The collection ID.
UserID User ID of a member in the domain.
authType The type of authentication to use.

Simias::WebState::WebState ( string  DomainID  )  [inline]

Get a WebState with the specified credential.

Parameters:
domainID The identifier for the domain.


Member Function Documentation

void Simias::WebState::InitializeWebRequest ( HttpWebRequest  request,
string  domainID 
) [inline]

Initialize the HttpWebRequest.

Parameters:
request The request to initialize.
domainID The identifier for the domain.

void Simias::WebState::InitializeWebClient ( HttpWebClientProtocol  request,
string  domainID 
) [inline]

Initialize the web service proxy stub.

Parameters:
request The client proxy to initialize
domainID The identifier for the domain.

static void Simias::WebState::ResetWebState ( string  domainID  )  [inline, static]

Resets the WebState object.

Parameters:
domainID The identifier for the domain.


The documentation for this class was generated from the following file:

Generated on Wed Apr 8 14:46:37 2009 for simias by  doxygen 1.5.6