Class SturdyRef
source code
object --+
|
copyable.Copyable --+
|
copyable._RemoteCopyBase --+ |
| |
object --+ |
| |
copyable.RemoteCopy --+
|
SturdyRef
I am a pointer to a Referenceable that lives in some (probably remote)
Tub. This pointer is long-lived, however you cannot send messages with it
directly. To use it, you must ask your Tub to turn it into a
RemoteReference with tub.getReference(sturdyref).
The SturdyRef is associated with a URL: you can create a SturdyRef out
of a URL that you obtain from some other source, and you can ask the
SturdyRef for its URL.
SturdyRefs are serialized by copying their URL, and create an
identical SturdyRef on the receiving side.
|
Inherited from object:
__class__
|
|
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
- Overrides:
object.__init__
- (inherited documentation)
|
__str__(self)
(Informal representation operator)
| source code
|
str(x)
- Overrides:
object.__str__
- (inherited documentation)
|
|
Two SturdyRefs are equivalent if they point to the same object.
SturdyRefs to encrypted Tubs only pay attention to the TubID and the
reference name. SturdyRefs to unauthenticated Tubs must use the location
hints instead of the (missing) TubID. This method makes it easier to
compare a pair of SturdyRefs.
|
|
hash(x)
- Overrides:
object.__hash__
- (inherited documentation)
|
__implemented__
- Value:
<implementedBy foolscap.referenceable.SturdyRef>
|
|
__provides__
- Value:
<zope.interface.declarations.ClassProvides object at 0x871914c>
|
|