|
__init__(self,
path,
checkupdates=True,
codeloader=None)
Init the ServerObjectPool object with a |
source code
|
|
|
setobj(self,
name,
obj,
authobj=None)
Register an object |obj| with the ID |name| |
source code
|
|
|
_import_(self,
name,
_globals,
_locals,
fromlist)
Replace function of __import__ to support import modules from the
code pool |
source code
|
|
|
_reload_(self,
mod)
Reload an SPyRO module or a python module |
source code
|
|
|
getobj(self,
name)
Get an object and its authorization data, it must raise a KeyError
exception if |name| is not present in the pool |
source code
|
|
|
loadmodule(self,
name,
authobj)
Loads a python's module in the object path (self.path) The
authority object is set to the |_spyro_authentication| global
variable in the module. |
source code
|
|
|
delobj(self,
name)
Remove an object with name |name| |
source code
|
|
|
setsend(self,
newid,
ret,
auth=None)
Register an object (to send by reference) |
source code
|
|