class documentation
class ResourcePublisher(pb.Root, styles.Versioned): (source)
Constructor: ResourcePublisher(site)
ResourcePublisher exposes a remote API which can be used to respond to request.
| Method | __init__ |
Undocumented |
| Method | get |
Undocumented |
| Method | remote |
Look up the resource for the given request and render it. |
| Method | upgrade |
Undocumented |
| Class Variable | persistence |
Undocumented |
| Instance Variable | site |
The site which will be used for resource lookup. |
| Class Variable | _log |
Undocumented |
Inherited from Root:
| Method | root |
A factory is requesting to publish me as a root object. |
Inherited from Referenceable (via Root):
| Method | jelly |
(internal) |
| Method | remote |
A remote message has been received. Dispatch it appropriately. |
| Class Variable | perspective |
I am an object sent remotely as a direct reference. |
Inherited from Serializable (via Root, Referenceable):
| Method | process |
Return an ID which uniquely represents this object for this process. |
Inherited from Jellyable (via Root, Referenceable, Serializable):
| Method | get |
Undocumented |
Inherited from Versioned (via Root, Referenceable, Serializable, Jellyable):
| Method | __getstate__ |
Get state, adding a version number to it on its way out. |
| Method | __setstate__ |
Undocumented |
| Method | version |
(internal) Do a version upgrade. |
| Class Variable | persistence |
Undocumented |
| Instance Variable | __dict__ |
Undocumented |