Class t.s.p.RemotePublished(flavors.RemoteCache):

Part of twisted.spread.publish View Source View In Hierarchy

The local representation of remote Publishable object.
Line # Kind Name Docs
74 Method getFileName Undocumented
78 Method setCopyableState I will be invoked with the state to copy locally.
94 Method __getstate__ Undocumented
105 Method _cbGotUpdate Undocumented
115 Method activated Implement this method if you want to be notified when your
120 Method callWhenActivated Externally register for notification when this publishable has received all relevant data.

Inherited from RemoteCache:

Line # Kind Name Docs
416 Method remoteMessageReceived A remote message has been received. Dispatch it appropriately.
433 Method jellyFor serialize me (only for the broker I'm for) as the original cached reference
442 Method unjellyFor Unjelly myself for the jellier.
472 Method __cmp__ Compare me [to another RemoteCache.
480 Method __hash__ Hash me.
488 Method __del__ Do distributed reference counting on finalize.

Inherited from Unjellyable (via RemoteCache, RemoteCopy):

Line # Kind Name Docs
298 Method setStateFor Undocumented

Inherited from Serializable (via RemoteCache):

Line # Kind Name Docs
84 Method processUniqueID Return an ID which uniquely represents this object for this process.

Inherited from Jellyable (via RemoteCache, Serializable):

Line # Kind Name Docs
276 Method getStateFor Undocumented
def getFileName(self, ext='pub'):
Undocumented
def setCopyableState(self, state):

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).
def __getstate__(self):
Undocumented
def _cbGotUpdate(self, newState):
Undocumented
def activated(self):
Implement this method if you want to be notified when your publishable subclass is activated.
def callWhenActivated(self, callback):
Externally register for notification when this publishable has received all relevant data.