Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Module AGNodeService :: Class AGNodeService |
|
AGNodeService is the central engine of an Access Grid node. It is the contact point for clients to access underlying Service Managers and AGServices, for control and configuration of the node.
Method Summary | |
---|---|
__init__(self,
app)
| |
Add a service package to the service manager. | |
Add a service manager | |
AddStream(self,
streamDescription)
| |
Get list of capabilities | |
Get list of available configurations | |
Get the name of the default configuration | |
Get list of service managers | |
Get list of installed services | |
Load named node configuration | |
Load default node configuration (service managers and services) | |
MigrateNodeConfig(self,
configName)
| |
NeedMigrateNodeConfig(self,
configName)
| |
Remove a service manager | |
RemoveStream(self,
streamDescription)
| |
Set the name of the default configuration | |
Push this identity out to the services, so they can identify the user running the node (e.g., rat) | |
Enable the service, and send it a stream configuration if we have one | |
Enable/disable services that handle the given media type | |
Set streams according to stream descriptions. | |
Stop(self)
| |
Stop all services | |
Store node configuration with specified name | |
Read the node service configuration file | |
Send stream description(s) to service | |
Write the node service configuration file |
Class Variable Summary | |
---|---|
str |
defaultNodeConfigurationOption = 'Node Configuration.def...
|
str |
NodeConfigFile = 'AGNodeService.cfg'
|
Method Details |
---|
AddService(self, serviceDesc, serviceManagerUri, resourceToAssign, serviceConfig)Add a service package to the service manager. |
AddServiceManager(self, serviceManager)Add a service manager |
GetCapabilities(self)Get list of capabilities |
GetConfigurations(self)Get list of available configurations |
GetDefaultConfiguration(self)Get the name of the default configuration |
GetServiceManagers(self)Get list of service managers |
GetServices(self)Get list of installed services |
LoadConfiguration(self, configName)Load named node configuration |
LoadDefaultConfig(self)Load default node configuration (service managers and services) |
RemoveServiceManager(self, serviceManagerToRemove)Remove a service manager |
SetDefaultConfiguration(self, configName)Set the name of the default configuration |
SetIdentity(self, profile)Push this identity out to the services, so they can identify the user running the node (e.g., rat) |
SetServiceEnabled(self, serviceUri, enabled)Enable the service, and send it a stream configuration if we have one |
SetServiceEnabledByMediaType(self, mediaType, enableFlag)Enable/disable services that handle the given media type |
SetStreams(self, streamDescriptionList)Set streams according to stream descriptions. The stream descriptions are applied to the installed services according to matching capabilities |
StopServices(self)Stop all services |
StoreConfiguration(self, configName)Store node configuration with specified name |
__ReadConfigFile(self)Read the node service configuration file
|
__SendStreamsToService(self, serviceUri)Send stream description(s) to service |
__WriteConfigFile(self)Write the node service configuration file It is always written to the user's config directory |
Class Variable Details |
---|
defaultNodeConfigurationOption
|
NodeConfigFile
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 14 16:39:27 2005 | http://epydoc.sf.net |