Simias::ProxyState Class Reference

Class to share and keep proxy state for web communications. More...

List of all members.

Public Member Functions

Uri GetProxy (Uri destination)
 Returns the URI of a proxy.
bool IsBypassed (Uri host)
 Indicates that the proxy should not be used for the specified host.

Static Public Member Functions

static ProxyState AddProxyState (Uri server)
 Adds a ProxyState object for the specified server address.
static ProxyState AddProxyState (Uri server, Uri proxy, string proxyUser, string proxyPassword)
 Adds a ProxyState object for the specified server address.
static void DeleteProxyState (Uri server)
 Deletes the specified ProxyState object for the specified server address.
static ProxyState GetProxyState (Uri server)
 Gets a ProxyState object for the specified server address.

Properties

ICredentials Credentials [get, set]
 The credentials to submit to the proxy server for authentication.


Detailed Description

Class to share and keep proxy state for web communications.


Member Function Documentation

static ProxyState Simias::ProxyState::AddProxyState ( Uri  server  )  [inline, static]

Adds a ProxyState object for the specified server address.

Parameters:
server The simias server address.

static ProxyState Simias::ProxyState::AddProxyState ( Uri  server,
Uri  proxy,
string  proxyUser,
string  proxyPassword 
) [inline, static]

Adds a ProxyState object for the specified server address.

Parameters:
server The simias server address.
proxy The proxy server address.
proxyUser The user name for proxy authentication.
proxyPassword The password for proxy authentication.

static void Simias::ProxyState::DeleteProxyState ( Uri  server  )  [inline, static]

Deletes the specified ProxyState object for the specified server address.

Parameters:
server Address of the server to delete a ProxyState object for.

static ProxyState Simias::ProxyState::GetProxyState ( Uri  server  )  [inline, static]

Gets a ProxyState object for the specified server address.

Parameters:
server Address of the server to find a ProxyState object for.
Returns:
A corresponding ProxyState object.

Uri Simias::ProxyState::GetProxy ( Uri  destination  )  [inline]

Returns the URI of a proxy.

Parameters:
destination A Uri specifying the requested Internet resource.
Returns:
A Uri containing the URI of the proxy used to contact destination.

bool Simias::ProxyState::IsBypassed ( Uri  host  )  [inline]

Indicates that the proxy should not be used for the specified host.

Parameters:
host The Uri of the host to check for proxy use.
Returns:
true if the proxy server should not be used for host; otherwise, false.


Property Documentation

ICredentials Simias::ProxyState::Credentials [get, set]

The credentials to submit to the proxy server for authentication.


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

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