IMP logo
Public Member Functions | Public Attributes
IMP.isd.PyroGrid.PyroHandler Class Reference

Detailed Description

Runs on remote side, non-specific object.

It is a tool to launch instances of any picklable object on the remote host (where it resides)

If PyroHandler is idle longer than .timeout time, it kills itself on the remote side (together with all registered instances)

Returns: raw Pyro proxy

List of all members.

Public Member Functions

def __init__
def __str__
def publish
 delegate = False for descendants of Pyro.core.ObjBase
def set
def terminate
 but also it may cause problems when running without xterm (unconfirmed) because it shuts down the python process (daemon.shutdown()) causing connection lost error

Public Attributes

 debug
 host
 instance_uri
 called from PyroProxy.terminate or on sys.exit (WatchDog call)
 nshost
 t
 watchdog

Member Function Documentation

def IMP.isd.PyroGrid.PyroHandler.publish (   self,
  instance,
  instance_uri,
  delegate 
)

delegate = False for descendants of Pyro.core.ObjBase

Publishes a copy of the instance on the host where PyroHandler is running.

def IMP.isd.PyroGrid.PyroHandler.terminate (   self)

but also it may cause problems when running without xterm (unconfirmed) because it shuts down the python process (daemon.shutdown()) causing connection lost error


Member Data Documentation

IMP.isd.PyroGrid.PyroHandler.instance_uri

called from PyroProxy.terminate or on sys.exit (WatchDog call)

— call terminate only if the handler is already terminated (e.g. by hands) then function is not called on the exit — unregister from the nameserver it will waits PyroUtils.default_timeout to let it finish self-unregistration


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

Generated on Tue May 22 2012 23:33:36 for IMP by doxygen 1.8.1