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)

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

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