Package flumotion :: Package common :: Module interfaces :: Class IMedium
[show private | hide private]
[frames | no frames]

Type IMedium

object --+    
         |    
 Interface --+
             |
            IMedium

Known Subclasses:
IAdminMedium, IComponentMedium, IJobMedium, IWorkerMedium

I am a base interface for PB client-side mediums interfacing with manager-side avatars.
Method Summary
  callRemote(self, name, *args, **kwargs)
Call a method through the remote reference to the manager-side avatar.
  hasRemoteReference(self)
Check if we have a remote reference to the PB server's avatar.
  setRemoteReference(self, remoteReference)
Set the RemoteReference to the manager-side avatar.
    Inherited from Interface
  adaptWith(self, using, to, registry)
(Class method)
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Instance Method Details

callRemote(self, name, *args, **kwargs)

Call a method through the remote reference to the manager-side avatar.

hasRemoteReference(self)

Check if we have a remote reference to the PB server's avatar.
Returns:
True if we have a remote reference

setRemoteReference(self, remoteReference)

Set the RemoteReference to the manager-side avatar.
Parameters:
remoteReference - twisted.spread.pb.RemoteReference

Generated by Epydoc 2.1 on Wed Feb 16 07:23:00 2005 http://epydoc.sf.net