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

Class IReferenceable

source code

zope.interface.Interface --+
                           |
                          IReferenceable

This object is remotely referenceable. This means it is represented to remote systems as an opaque identifier, and that round-trips preserve identity.

Instance Methods [hide private]
 
processUniqueID()
Return a unique identifier (scoped to the process containing the Referenceable).
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'processUniqueID': <zope.interface.i...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'foolscap.ipb.IReferenceable'
  __iro__ = (<InterfaceClass foolscap.ipb.IReferenceable>, <Inte...
  __name__ = 'IReferenceable'
  __sro__ = (<InterfaceClass foolscap.ipb.IReferenceable>, <Inte...
  _implied = {<InterfaceClass foolscap.ipb.IReferenceable>: (), ...
  dependents = <WeakKeyDictionary at 141104556>

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

Method Details [hide private]

processUniqueID()

source code 

Return a unique identifier (scoped to the process containing the Referenceable). Most objects can just use id(self), but objects which should be indistinguishable to a remote system may want multiple objects to map to the same PUID.


Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'processUniqueID': <zope.interface.interface.Method object at 0x86919\
0c>}

__iro__

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

__sro__

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

_implied

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