Package foolscap :: Module remoteinterface
[hide private]
[frames] | no frames]

Module remoteinterface

source code

Classes [hide private]
  RemoteInterfaceClass
This metaclass lets RemoteInterfaces be a lot like Interfaces.
  RemoteInterface
pb.flavors
  DuplicateRemoteInterfaceError
  RemoteMethodSchema
This is a constraint for a single remotely-invokable method.
  UnconstrainedMethod
I am a method constraint that accepts any arguments and any return value.
  LocalInterfaceConstraint
This constraint accepts any (local) instance which implements the given local Interface.
  RemoteInterfaceConstraint
This constraint accepts any RemoteReference that claims to be associated with a remote Referenceable that implements the given RemoteInterface.
Functions [hide private]
 
getRemoteInterface(obj)
Get the (one) RemoteInterface supported by the object, or None.
source code
 
registerRemoteInterface(iface, name=None) source code
 
getRemoteInterfaceByName(iname) source code
 
_makeConstraint(t) source code
Variables [hide private]
  RemoteInterfaceRegistry = {'RIBroker': <RemoteInterfaceClass f...
Variables Details [hide private]

RemoteInterfaceRegistry

Value:
{'RIBroker': <RemoteInterfaceClass foolscap.broker.RIBroker>,
 'RILogFile.foolscap.lothar.com': <RemoteInterfaceClass foolscap.loggi\
ng.interfaces.RILogFile>,
 'RILogGatherer.foolscap.lothar.com': <RemoteInterfaceClass foolscap.l\
ogging.interfaces.RILogGatherer>,
 'RILogObserver.foolscap.lothar.com': <RemoteInterfaceClass foolscap.l\
ogging.interfaces.RILogObserver>,
 'RILogPublisher.foolscap.lothar.com': <RemoteInterfaceClass foolscap.\
...