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

Module referenceable

source code

Classes [hide private]
  OnlyReferenceable
  Referenceable
  ReferenceableTracker
I hold the data which tracks a local Referenceable that is in used by a remote Broker.
  ReferenceableSlicer
I handle pb.Referenceable objects (things with remotely invokable methods, which are copied by reference).
  CallableSlicer
Bound methods are serialized as my-reference sequences with negative clid values.
  ReferenceUnslicer
I turn an incoming 'my-reference' sequence into a RemoteReference or a RemoteMethodReference.
  RemoteReferenceTracker
I hold the data necessary to locate (or create) a RemoteReference.
  RemoteReferenceOnly
  RemoteReference
  RemoteMethodReferenceTracker
  RemoteMethodReference
  LocalReferenceable
  YourReferenceSlicer
I handle pb.RemoteReference objects (being sent back home to the original pb.Referenceable-holder)
  YourReferenceUnslicer
I accept incoming (integer) your-reference sequences and try to turn them back into the original Referenceable.
  TheirReferenceUnslicer
I accept gifts of third-party references.
  BadFURLError
  SturdyRef
I am a pointer to a Referenceable that lives in some (probably remote) Tub.
  TubRef
This is a little helper class which provides a comparable identifier for Tubs.
  NoAuthTubRef
Functions [hide private]
 
encode_location_hint(hint) source code
 
decode_location_hints(hints_s) source code
Variables [hide private]
  AUTH_STURDYREF_RE = re.compile(r'pb://([^@]+)@([^/]+)/(.+)$')
  NONAUTH_STURDYREF_RE = re.compile(r'pbu://([^/]+)/(.+)$')
  IPV4_HINT_RE = re.compile(r'^([^:]+):(\d+)$')