Class n.l.ClientHandle(object):

Part of nevow.livepage View Source View In Hierarchy

Implements interfaces: nevow.livepage.IClientHandle

An object which represents the client-side webbrowser.
Line # Kind Name Docs
314 Method __init__ Undocumented
332 Method transient Register a transient event handler, 'what'.
343 Method popTransient Remove a transient previously registered
368 Method send Send the stan "script", which can be flattened to javascript,
379 Method setOutput Undocumented
396 Method checkTimeout Undocumented
409 Method outputGone Undocumented
433 Method notifyOnClose This will return a Deferred that will be fired when the
444 Method close Undocumented
450 Method set Undocumented
453 Method prepend Undocumented
456 Method append Undocumented
459 Method alert Undocumented
462 Method call Undocumented
465 Method sendScript Undocumented
def __init__(self, livePage, handleId, refreshInterval, targetTimeoutCount): (source)
Undocumented
def transient(self, what, *args): (source)
Register a transient event handler, 'what'. The callable 'what' can only be invoked by the client once before being garbage collected. Additional attempts to invoke the handler will fail.
def popTransient(self, transientId): (source)
Remove a transient previously registered by a call to transient. Normally, this will be done automatically when the transient is invoked. However, you can invoke it yourself if you wish to revoke the client's capability to call the transient handler.
def send(self, *script): (source)
Send the stan "script", which can be flattened to javascript, to the browser which is connected to this handle, and evaluate it in the context of the browser window.
def setOutput(self, ctx, output): (source)
Undocumented
def checkTimeout(self): (source)
Undocumented
def outputGone(self, failure, output): (source)
Undocumented
def notifyOnClose(self): (source)
This will return a Deferred that will be fired when the connection is closed 'normally', i.e. in response to handle.close() . If the connection is lost in any other way (because the browser navigated to another page, the browser was shut down, the network connection was lost, or the timeout was reached), this will errback instead.
def close(self, executeScriptBeforeClose=''): (source)
Undocumented
def set(self, where, what): (source)
Undocumented
def prepend(self, where, what): (source)
Undocumented
def append(self, where, what): (source)
Undocumented
def alert(self, what): (source)
Undocumented
def call(self, what, *args): (source)
Undocumented
def sendScript(self, string): (source)
Undocumented
API Documentation for Nevow, generated by pydoctor.