This is high level wrapper of Pyro proxy objects, returns immediately with an empty Result object.
Used to be able to be used alone (without a grid) since it could take care of clashing invocations.
REMARK:
Calls always has to be in the following order: proxy = g.acquire_service(service_id) ## returns proxy object proxy.set_parameters(p) # these functions will be performed sequentally proxy.f() # and service won't be freed proxy.g() # unless .release_service() is called g.release_service(proxy) However if g.acquire_service call is followed immediately by g.release_service, without calling proxy.f() or other proxy functions, service will never be actually freed. Because service is freed from inside PyroProxy in the run() cycle.
Public Member Functions | |
| def | __init__ |
| pyro_proxy = raw Pyro proxy object | |
| def | __getattr__ |
| def | __setattr__ |
| def | __str__ |
| def | ishalted |
| def | run |
| def | terminate |
| def IMP.isd.PyroGrid.PyroProxy.__init__ | ( | self, | |
| pyro_proxy, | |||
debug = False, |
|||
verbose = False |
|||
| ) |
pyro_proxy = raw Pyro proxy object
| def IMP.isd.PyroGrid.PyroProxy.terminate | ( | self, | |
terminate_proxy = 0 |
|||
| ) |
therefore terminate_proxy should be 0