Package AccessGrid :: Module Config :: Class SystemConfig
[show private | hide private]
[frames | no frames]

Class SystemConfig

Known Subclasses:
SystemConfig

The SystemConfig object encapsulates all system dependent configuration data, it should be extended to retrieve and store additional information as necessary.
Method Summary
  __init__(self)
  __str__(self)
  _repr_(self)
  AppFirewallConfig(self, path, enableFlag)
This call enables or disables an applications access via a firewall.
  CheckClock(self, limit)
Retrieve the SNTP time and compare this clock against it.
  EnumerateInterfaces(self)
Enumerate network interfaces
  GetFileSystemFreeSpace(self, path)
Retrieve the amount of free space on the file system the path is housed on.
  GetHostname(self)
Retrieve the local hostname.
  GetLocalIPAddress(self)
  GetProxySettings(self)
Retrieve local HTTP proxy settings.
  GetTempDir(self)
Get the path to the system temp directory.
  GetUsername(self)
Get the name of the user

Instance Variable Summary
string tempDir: the system temp directory.

Method Details

AppFirewallConfig(self, path, enableFlag)

This call enables or disables an applications access via a firewall.

CheckClock(self, limit=10)

Retrieve the SNTP time and compare this clock against it.

EnumerateInterfaces(self)

Enumerate network interfaces

GetFileSystemFreeSpace(self, path)

Retrieve the amount of free space on the file system the path is housed on.

GetHostname(self)

Retrieve the local hostname.

GetProxySettings(self)

Retrieve local HTTP proxy settings.

GetTempDir(self)

Get the path to the system temp directory.

GetUsername(self)

Get the name of the user

Instance Variable Details

tempDir

the system temp directory.
Type:
string

Generated by Epydoc 2.1 on Mon Jan 09 13:23:47 2006 http://epydoc.sf.net