class documentation

class twisted.spread.publish.RemotePublished(flavors.RemoteCache): (source)

View In Hierarchy

The local representation of remote Publishable object.

Instance Variable isActivated Undocumented
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.
Instance Variable _wasCleanWhenLoaded Undocumented
Instance Variable _activationListeners Undocumented
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.
Instance Variable broker Undocumented
Instance Variable luid Undocumented
Instance Variable __dict__ Undocumented
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
isActivated = (source)

Undocumented

(type: int)
_wasCleanWhenLoaded = (source)

Undocumented

(type: int)
def getFileName(self, ext='pub'): (source)

Undocumented

def setCopyableState(self, state): (source)

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).

_activationListeners = (source)

Undocumented

(type: list)
def __getstate__(self): (source)

Undocumented

def _cbGotUpdate(self, newState): (source)

Undocumented

def activated(self): (source)

Implement this method if you want to be notified when your publishable subclass is activated.

def callWhenActivated(self, callback): (source)

Externally register for notification when this publishable has received all relevant data.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.