An object whose cached state persists across sessions.

Method __init__ Undocumented
Method republish Set the timestamp to current and (TODO) update all observers.
Method view_getStateToPublish (internal)
Method getStateToPublishFor Implement me to special-case your state for a perspective.
Method getStateToPublish Implement me to return state to copy as part of the publish phase.
Method getStateToCacheAndObserveFor Get all necessary metadata to keep a clientside cache.

Inherited from Cacheable:

Method jellyFor Return an appropriate tuple to serialize me.
Method stoppedObserving This method is called when a client has stopped observing me.

Inherited from Copyable (via Cacheable):

Method getStateToCopy Gather state to send when I am serialized for a peer.
Method getStateToCopyFor Gather state to send when I am serialized for a particular perspective.
Method getTypeToCopy Determine what type tag to send for me.
Method getTypeToCopyFor Determine what type tag to send for me.

Inherited from Serializable (via Cacheable, Copyable):

Method processUniqueID Return an ID which uniquely represents this object for this process.

Inherited from Jellyable (via Cacheable, Copyable, Serializable):

Method getStateFor Undocumented
def __init__(self, publishedID): (source)
Undocumented
def republish(self): (source)

Set the timestamp to current and (TODO) update all observers.

def view_getStateToPublish(self, perspective): (source)

(internal)

def getStateToPublishFor(self, perspective): (source)

Implement me to special-case your state for a perspective.

def getStateToPublish(self): (source)

Implement me to return state to copy as part of the publish phase.

def getStateToCacheAndObserveFor(self, perspective, observer): (source)

Get all necessary metadata to keep a clientside cache.

API Documentation for Twisted, generated by pydoctor at 2018-07-14 04:53:34.