t.w.d.ResourceSubscription(resource.Resource) : class documentation

Part of twisted.web.distrib View Source View In Hierarchy

No class docstring
Method __init__ Initialize.
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.

Inherited from Resource:

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.
def __init__(self, host, port): (source)
Initialize.
def __getstate__(self): (source)
Get persistent state for this ResourceSubscription.
def connected(self, publisher): (source)
I've connected to a publisher; I'll now send all my requests.
def notConnected(self, msg): (source)
I can't connect to a publisher; I'll now reply to all pending requests.
def booted(self): (source)
Undocumented
def render(self, request): (source)
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.

API Documentation for Twisted, generated by pydoctor at 2013-04-03 11:20:05.