class twisted.spread.publish.Publishable(flavors.Cacheable): (source)
An object whose cached state persists across sessions.
Method | __init__ | Undocumented |
Instance Variable | publishedID | Undocumented |
Method | republish | Set the timestamp to current and (TODO) update all observers. |
Instance Variable | timestamp | Undocumented |
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 |
Implement me to special-case your state for a perspective.
Implement me to return state to copy as part of the publish phase.
Get all necessary metadata to keep a clientside cache.