iFolder::WebService::iFolderServer Class Reference

An iFolder Server. More...

List of all members.

Public Member Functions

 iFolderServer ()
 Constructor.
 iFolderServer (HostNode server)
 Constructor.

Static Public Member Functions

static iFolderServer GetMasterServer ()
 Get the Master iFolder Server in the system.
static LdapInfo GetLdapDetails ()
 Get LDAP details.
static void SetLdapDetails (LdapInfo ldapInfo, string LdapAdminDN, string LdapAdminPwd, string ServerID)
 Set LDAP details.
static string[] GetReports ()
 Get the reports.
static string GetSimiasRequiresSSLStatus ()
 Checks whether SimiasSSLStatus is set into Simias.config file or not.
static bool SetSimiasSSLStatus (string sslVal)
 Sets the SimiasRequireSSL key inside Simias.config file.
static void SetOnMasterUpdateUri (string ModifiedPrivateAddressStr, string ModifiedPublicAddressStr)
 Updated URL will be set on master, this is for slave servers.
static string[] GetLogLevels ()
 Gets the log level from file Simias.log4net.
static void SetLogLevel (LoggerType loggerType, string logLevel)
 Set the log level.
static bool SetIPDetails (string privateUrl, string publicUrl, string MasterUrl)
 set the public and private IP address into the config file.
static string GetHomeServerForUser (string username, string password)
 Get the HomeServer URL for User.
static string GetHomeServerURLForUserID (string userid)
 Get the HomeServer URL for User.
static iFolderServer GetHomeServer ()
 Get the iFolder Home Server Information Object.
static iFolderServer[] GetServers ()
 Get the iFolder Server Information Objects.
static iFolderServer GetServer (string serverID)
 Get an iFolder Server Information object.
static iFolderServer GetServerByName (string serverName)
 Get an iFolder Server Information object by Name.
static iFolderServerSet GetServersByName (iFolderServerType type, SearchOperation operation, string pattern, int index, int max)
 Get iFolder Servers by Name.

Public Attributes

string ID
 Server ID.
string Name
 Server Name.
string Version
 Server Version.
string HostName
 The Host Name.
string MachineName
 The Machine Name.
string OSVersion
 The OS Version.
string UserName
 The User Name.
string ClrVersion
 The common language runtime version.
string PublicUrl
 The public address for this server.
string PrivateUrl
 The private address for this server.
bool IsMaster
 True if this server is the master.
bool IsLocal
 True if this server is the local server.
int UserCount
 Number of users provisioned.


Detailed Description

An iFolder Server.


Constructor & Destructor Documentation

iFolder::WebService::iFolderServer::iFolderServer (  )  [inline]

Constructor.

iFolder::WebService::iFolderServer::iFolderServer ( HostNode  server  )  [inline]

Constructor.

Parameters:
server HostNode object


Member Function Documentation

static iFolderServer iFolder::WebService::iFolderServer::GetMasterServer (  )  [inline, static]

Get the Master iFolder Server in the system.

Returns:
An iFolder Server Object

static LdapInfo iFolder::WebService::iFolderServer::GetLdapDetails (  )  [inline, static]

Get LDAP details.

Returns:
Return the URL for the server

static void iFolder::WebService::iFolderServer::SetLdapDetails ( LdapInfo  ldapInfo,
string  LdapAdminDN,
string  LdapAdminPwd,
string  ServerID 
) [inline, static]

Set LDAP details.

Returns:
Return the URL for the server

static string [] iFolder::WebService::iFolderServer::GetReports (  )  [inline, static]

Get the reports.

Returns:
Return string array containg report files

static string iFolder::WebService::iFolderServer::GetSimiasRequiresSSLStatus (  )  [inline, static]

Checks whether SimiasSSLStatus is set into Simias.config file or not.

Returns:
string containing the value of this key

static bool iFolder::WebService::iFolderServer::SetSimiasSSLStatus ( string  sslVal  )  [inline, static]

Sets the SimiasRequireSSL key inside Simias.config file.

Parameters:
sslVal value as string : ssl/nonssl/both
Returns:
true if set successfully

static void iFolder::WebService::iFolderServer::SetOnMasterUpdateUri ( string  ModifiedPrivateAddressStr,
string  ModifiedPublicAddressStr 
) [inline, static]

Updated URL will be set on master, this is for slave servers.

Parameters:
ModifiedPrivateAddressStr private URL
ModifiedPublicAddressStr Public url

static string [] iFolder::WebService::iFolderServer::GetLogLevels (  )  [inline, static]

Gets the log level from file Simias.log4net.

Returns:
string array containing value of loglevels

static void iFolder::WebService::iFolderServer::SetLogLevel ( LoggerType  loggerType,
string  logLevel 
) [inline, static]

Set the log level.

Returns:
None

static bool iFolder::WebService::iFolderServer::SetIPDetails ( string  privateUrl,
string  publicUrl,
string  MasterUrl 
) [inline, static]

set the public and private IP address into the config file.

Returns:
true/false based upon the success/failure

it means its a slave server, so set the masters IP into config file

static string iFolder::WebService::iFolderServer::GetHomeServerForUser ( string  username,
string  password 
) [inline, static]

Get the HomeServer URL for User.

Returns:
Return the URL for the server

static string iFolder::WebService::iFolderServer::GetHomeServerURLForUserID ( string  userid  )  [inline, static]

Get the HomeServer URL for User.

Returns:
Return the URL for the server

static iFolderServer iFolder::WebService::iFolderServer::GetHomeServer (  )  [inline, static]

Get the iFolder Home Server Information Object.

Returns:
An iFolder Server Object

static iFolderServer [] iFolder::WebService::iFolderServer::GetServers (  )  [inline, static]

Get the iFolder Server Information Objects.

Returns:
An Array of iFolder Server Object

static iFolderServer iFolder::WebService::iFolderServer::GetServer ( string  serverID  )  [inline, static]

Get an iFolder Server Information object.

Parameters:
serverID The Server ID
Returns:
An iFolderServer Object

static iFolderServer iFolder::WebService::iFolderServer::GetServerByName ( string  serverName  )  [inline, static]

Get an iFolder Server Information object by Name.

Parameters:
serverName The iFolder Server Name
Returns:
An iFolder Server Object

static iFolderServerSet iFolder::WebService::iFolderServer::GetServersByName ( iFolderServerType  type,
SearchOperation  operation,
string  pattern,
int  index,
int  max 
) [inline, static]

Get iFolder Servers by Name.

Parameters:
type iFolder Server Type
operation The Search Operation
pattern The Search Pattern
index The Search Start Index
max The Search Max Count of Results
Returns:
A Set of iFolder Server Objects


Member Data Documentation

Server ID.

Server Name.

Server Version.

The Host Name.

The Machine Name.

The OS Version.

The User Name.

The common language runtime version.

The public address for this server.

The private address for this server.

True if this server is the master.

True if this server is the local server.

Number of users provisioned.


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

Generated on Wed Apr 8 14:42:58 2009 for simias by  doxygen 1.5.6