Package pyraf :: Module irafexecute :: Class _ProcessProxy
[hide private]
[frames] | no frames]

Class _ProcessProxy

source code


Proxy for a single process that restarts it if needed

Restart is triggered by change of executable on disk.

Instance Methods [hide private]
 
__init__(self, process) source code
 
newValue(self)
Called when file is new.
source code
 
updateValue(self)
Called when executable changes to start a new version
source code
 
getProcess(self, envdict)
Get the process; create & initialize using envdict if needed
source code
 
getValue(self)
Get info associated with file.
source code

Inherited from filecache.FileCache: get

Method Details [hide private]

__init__(self, process)
(Constructor)

source code 
Overrides: filecache.FileCache.__init__

newValue(self)

source code 

Called when file is new. By default same as updateValue.

Overrides: filecache.FileCache.newValue
(inherited documentation)

updateValue(self)

source code 

Called when executable changes to start a new version

Overrides: filecache.FileCache.updateValue

getValue(self)

source code 

Get info associated with file.

Usually this is not called directly by the user (use the get() method instead.)

Overrides: filecache.FileCache.getValue
(inherited documentation)