Module spiroclient :: Class SpiroObject
[show private | hide private]
[frames | no frames]

Class SpiroObject


Manages a local ref to a remote Spiro object
Method Summary
  __init__(self, client, cacheId, objPath, **kw)
Don't instantiate this directly - instances are created by SpiroClient when remote refs are passed back
  __call__(self, *args, **kw)
Sends a call cmd to server obj
  __del__(self)
Tells the server we're going away and to please stop caching us
  __getattr__(self, attr)
This will pick up all manner of object accesses
  __getstate__(self)
for pickling, pass only the attribs which are piclkable
  __setattr__(self, attr, val)
Intercepts attribute sets, handling internal attributes locally, but forwarding all other attribute set actions over to the server
  nn__str__(self)
  x__repr__(self)
  _log(self, level, msg)
  _logException(self, level, msg)

Class Variable Summary
list _badAttributes = ['__getinitargs__', '__getstate__', '__...
list _localattributes = ['_client', '_objPath', '_cacheId', '...

Method Details

__init__(self, client, cacheId, objPath, **kw)
(Constructor)

Don't instantiate this directly - instances are created by SpiroClient when remote refs are passed back

__call__(self, *args, **kw)
(Call operator)

Sends a call cmd to server obj

__del__(self)
(Destructor)

Tells the server we're going away and to please stop caching us

__getattr__(self, attr)
(Qualification operator)

This will pick up all manner of object accesses

__getstate__(self)

for pickling, pass only the attribs which are piclkable

__setattr__(self, attr, val)

Intercepts attribute sets, handling internal attributes locally, but forwarding all other attribute set actions over to the server

Class Variable Details

_badAttributes

Type:
list
Value:
['__getinitargs__', '__getstate__', '__setstate__', '__slots__']       

_localattributes

Type:
list
Value:
['_client',
 '_objPath',
 '_cacheId',
 '_unpickled',
 '__getinitargs__',
 '__getstate__',
 '__slots__']                                                          

Generated by Epydoc 2.0 on Sun Apr 11 13:37:10 2004 http://epydoc.sf.net