Package flumotion :: Package common :: Module interfaces :: Class IMedium
[hide private]

Class IMedium

source code

zope.interface.Interface --+
                           |
                          IMedium
Known Subclasses:

I am a base interface for PB client-side mediums interfacing with manager-side avatars.

Instance Methods [hide private]
 
setRemoteReference(self, remoteReference)
Set the RemoteReference to the manager-side avatar.
source code
 
hasRemoteReference(self)
Check if we have a remote reference to the PB server's avatar.
source code
 
callRemote(self, name, *args, **kwargs)
Call a method through the remote reference to the manager-side avatar.
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'callRemote': <zope.interface.interf...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'flumotion.common.interfaces.IMedium'
  __iro__ = (<InterfaceClass flumotion.common.interfaces.IMedium...
  __name__ = 'IMedium'
  __sro__ = (<InterfaceClass flumotion.common.interfaces.IMedium...
  _implied = {<InterfaceClass flumotion.common.interfaces.IMediu...
  dependents = <WeakKeyDictionary at 140562188>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Method Details [hide private]

setRemoteReference(self, remoteReference)

source code 

Set the RemoteReference to the manager-side avatar.

Parameters:
  • remoteReference - twisted.spread.pb.RemoteReference

hasRemoteReference(self)

source code 

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

Returns:
True if we have a remote reference

Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'callRemote': <zope.interface.interface.Method object at 0x861544c>,
 'hasRemoteReference': <zope.interface.interface.Method object at 0x86\
1548c>,
 'setRemoteReference': <zope.interface.interface.Method object at 0x86\
154cc>}

__iro__

Value:
(<InterfaceClass flumotion.common.interfaces.IMedium>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass flumotion.common.interfaces.IMedium>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass flumotion.common.interfaces.IMedium>: (),
 <InterfaceClass zope.interface.Interface>: ()}