Rackspace CloudFiles API
Public Member Functions | Properties | List of all members
Rackspace.Cloudfiles.CF_Connection Class Reference

CF_Connection object used to connect to the storage system. More...

Inheritance diagram for Rackspace.Cloudfiles.CF_Connection:
Rackspace.Cloudfiles.Connection

Public Member Functions

 CF_Connection (UserCredentials creds)
 Initializes a new instance of the Rackspace.Cloudfiles.CF_Connection class.
 
 CF_Connection (UserCredentials creds, Client client)
 Initializes a new instance of the Rackspace.Cloudfiles.CF_Connection class.
 
void Authenticate ()
 Authenticates against the specified AuthUrl.
 
void Authenticate (bool snet)
 Authenticates against a specified AuthUrl you can also set if you would like to use Snet.
 

Properties

UserCredentials UserCreds [get]
 Gets the UserCredentials Object to dynamically update account connection information
 
bool HasCDN [get]
 Gets a value indicating whether this instance has CDN.
 
int Retries [get, set]
 Gets or sets retries.
 
int Timeout [get, set]
 Gets or sets the timeout of the tcp connection.
 
string UserAgent [get, set]
 Gets or sets the user agent.
 
- Properties inherited from Rackspace.Cloudfiles.Connection
bool HasCDN [get]
 
UserCredentials UserCreds [get]
 
int Retries [get, set]
 
int Timeout [get, set]
 
string UserAgent [get, set]
 

Detailed Description

CF_Connection object used to connect to the storage system.

Constructor & Destructor Documentation

Rackspace.Cloudfiles.CF_Connection.CF_Connection ( UserCredentials  creds)

Initializes a new instance of the Rackspace.Cloudfiles.CF_Connection class.

Parameters
credsAn instance of a UserCredentials object
Rackspace.Cloudfiles.CF_Connection.CF_Connection ( UserCredentials  creds,
Client  client 
)

Initializes a new instance of the Rackspace.Cloudfiles.CF_Connection class.

Parameters
credsAn instance of a UserCredentials object
clienta HTTP client object

Member Function Documentation

void Rackspace.Cloudfiles.CF_Connection.Authenticate ( )

Authenticates against the specified AuthUrl.

Implements Rackspace.Cloudfiles.Connection.

void Rackspace.Cloudfiles.CF_Connection.Authenticate ( bool  snet)

Authenticates against a specified AuthUrl you can also set if you would like to use Snet.

Parameters
snetA System.Boolean

Implements Rackspace.Cloudfiles.Connection.

Property Documentation

bool Rackspace.Cloudfiles.CF_Connection.HasCDN
get

Gets a value indicating whether this instance has CDN.

true if this instance has CDN; otherwise, false.

int Rackspace.Cloudfiles.CF_Connection.Retries
getset

Gets or sets retries.

Number of times to retry defaults to zero

int Rackspace.Cloudfiles.CF_Connection.Timeout
getset

Gets or sets the timeout of the tcp connection.

string Rackspace.Cloudfiles.CF_Connection.UserAgent
getset

Gets or sets the user agent.

The user agent.

UserCredentials Rackspace.Cloudfiles.CF_Connection.UserCreds
get

Gets the UserCredentials Object to dynamically update account connection information


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