twisted.spread.publish.RemotePublished(flavors.RemoteCache)
class documentationtwisted.spread.publish
(View In Hierarchy)
Known subclasses: twisted.spread.test.test_pb.DumbPub
The local representation of remote Publishable object.
Method | getFileName | Undocumented |
Method | setCopyableState | I will be invoked with the state to copy locally. |
Method | __getstate__ | Undocumented |
Method | activated | Implement this method if you want to be notified when your publishable subclass is activated. |
Method | callWhenActivated | Externally register for notification when this publishable has received all relevant data. |
Method | _cbGotUpdate | Undocumented |
Inherited from RemoteCache:
Method | remoteMessageReceived | A remote message has been received. Dispatch it appropriately. |
Method | jellyFor | serialize me (only for the broker I'm for) as the original cached reference |
Method | unjellyFor | Perform the inverse operation of Jellyable.jellyFor . |
Method | __cmp__ | Compare me [to another RemoteCache. |
Method | __hash__ | Hash me. |
Method | __del__ | Do distributed reference counting on finalize. |
Method | _borgify | Create a new object that shares its state (i.e. its
__dict__ ) and type with this object, but does not share its
identity. |
Inherited from Unjellyable (via RemoteCache, RemoteCopy):
Method | setStateFor | Undocumented |
Inherited from Serializable (via RemoteCache):
Method | processUniqueID | Return an ID which uniquely represents this object for this process. |
Inherited from Jellyable (via RemoteCache, Serializable):
Method | getStateFor | Undocumented |
I will be invoked with the state to copy locally.
'state' is the data returned from the remote object's 'getStateToCopyFor' method, which will often be the remote object's dictionary (or a filtered approximation of it depending on my peer's perspective).
Implement this method if you want to be notified when your publishable subclass is activated.