class twisted.web.distrib.ResourceSubscription(resource.Resource): (source)
Undocumented
| Class Variable | isLeaf | Signal if this IResource implementor is a "leaf node" or not. If True, getChildWithDefault will not be called on this Resource. |
| Instance Variable | waiting | Undocumented |
| Method | __init__ | Initialize. |
| Instance Variable | host | Undocumented |
| Instance Variable | port | Undocumented |
| Instance Variable | pending | Undocumented |
| Instance Variable | publisher | Undocumented |
| Method | __getstate__ | Get persistent state for this ResourceSubscription. |
| Method | connected | I've connected to a publisher; I'll now send all my requests. |
| Method | notConnected | I can't connect to a publisher; I'll now reply to all pending requests. |
| Method | booted | Undocumented |
| Method | render | Render this request, from my server. |
| Class Variable | _log | Undocumented |
Inherited from Resource:
| Class Variable | server | Undocumented |
| Instance Variable | children | Undocumented |
| Method | listStaticNames | Undocumented |
| Method | listStaticEntities | Undocumented |
| Method | listNames | Undocumented |
| Method | listEntities | Undocumented |
| Method | listDynamicNames | Undocumented |
| Method | listDynamicEntities | Undocumented |
| Method | getStaticEntity | Undocumented |
| Method | getDynamicEntity | Undocumented |
| Method | delEntity | Undocumented |
| Method | reallyPutEntity | Undocumented |
| Method | getChild | Retrieve a 'child' resource from me. |
| Method | getChildWithDefault | Retrieve a static or dynamically generated child resource from me. |
| Method | getChildForRequest | Undocumented |
| Method | putChild | Register a static child. |
| Method | render_HEAD | Default handling of HEAD method. |
Signal if this IResource implementor is a "leaf node" or not. If True, getChildWithDefault will not be called on this Resource.
int)
Initialize.
I've connected to a publisher; I'll now send all my requests.
I can't connect to a publisher; I'll now reply to all pending requests.
Render this request, from my server.
This will always be asynchronous, and therefore return NOT_DONE_YET. It spins off a request to the pb client, and either adds it to the list of pending issues or requests it immediately, depending on if the client is already connected.