Part of twisted.spread.pb View Source View In Hierarchy
Implements interfaces: twisted.spread.interfaces.IUnjellyable
I may be a reference to a
flavors.Referenceable, or an
implementor (e.g., pb.Avatar). From the client's perspective, it is not
possible to tell which except by convention.
I am a "translucent" reference because although no additional bookkeeping overhead is given to the application programmer for manipulating a reference, return values are asynchronous.
|Instance Variable||broker||The broker I am obtained through. (type:
|Method||__init__||(internal) Initialize me with a broker and a locally-unique ID.|
|Method||notifyOnDisconnect||Register a callback to be called if our broker gets disconnected.|
|Method||dontNotifyOnDisconnect||Remove a callback that was registered with notifyOnDisconnect.|
|Method||jellyFor||If I am being sent back to where I came from, serialize as a local backreference.|
|Method||unjellyFor||Unjelly myself for the jellier.|
|Method||callRemote||Asynchronously invoke a remote method.|
|Method||__cmp__||Compare me [to another
|Method||__del__||Do distributed reference counting on finalization.|
|Method||_disconnected||Called if we are disconnected and have callbacks registered.|
Inherited from Ephemeral:
The ID is unique only to the particular Perspective Broker instance.
This callback will be called with one argument, this instance.
|Parameters||jellier||A stateful object which exists for the lifetime of a single call to |
|Returns||The object which results from unjellying.|
|Parameters||_name||the name of the remote method to invoke (type: |
|args||arguments to serialize for the remote function|
|kw||keyword arguments to serialize for the remote function.|
|Returns||a Deferred which will be fired when the result of this remote call is
received. (type: |