Package foolscap :: Module ipb :: Class IRemotelyCallable
[hide private]
[frames] | no frames]

Class IRemotelyCallable

source code

zope.interface.Interface --+
                           |
                          IRemotelyCallable

This object is remotely callable. This means it defines some remote_* methods and may have a schema which describes how those methods may be invoked.

Instance Methods [hide private]
 
getInterfaceNames()
Return a list of RemoteInterface names to which this object knows how to respond.
source code
 
doRemoteCall(methodname, args, kwargs)
Invoke the given remote method.
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'doRemoteCall': <zope.interface.inte...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'foolscap.ipb.IRemotelyCallable'
  __iro__ = (<InterfaceClass foolscap.ipb.IRemotelyCallable>, <I...
  __name__ = 'IRemotelyCallable'
  __sro__ = (<InterfaceClass foolscap.ipb.IRemotelyCallable>, <I...
  _implied = {<InterfaceClass foolscap.ipb.IRemotelyCallable>: (...
  dependents = <WeakKeyDictionary at 141105996>

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

Method Details [hide private]

doRemoteCall(methodname, args, kwargs)

source code 

Invoke the given remote method. This method may raise an exception, return normally, or return a Deferred.


Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'doRemoteCall': <zope.interface.interface.Method object at 0x869192c>\
,
 'getInterfaceNames': <zope.interface.interface.Method object at 0x869\
1c4c>}

__iro__

Value:
(<InterfaceClass foolscap.ipb.IRemotelyCallable>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass foolscap.ipb.IRemotelyCallable>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass foolscap.ipb.IRemotelyCallable>: (),
 <InterfaceClass zope.interface.Interface>: ()}