flare.handler

Flare base handlers for ViUR prototypes.

Module Contents

Classes

requestHandler

ListHandler

SyncHandler

class flare.handler.requestHandler(module, action, params=(), eventName='listUpdated', secure=False)
requestData(self, *args, **kwargs)
requestSuccess(self, req)
_requestFailed(self, req, *args, **kwargs)
onListStatusChanged(self, event, *args, **kwargs)
getDescrFromValue(self, definition, val)
buildSelectDescr(self, skel, structure)
class flare.handler.ListHandler(module, action, params=(), eventName='listUpdated', secure=False)

Bases: requestHandler

reload(self)
filter(self, filterparams)
getCurrentAmount(self)
requestNext(self)
requestSuccess(self, req)
class flare.handler.SyncHandler

Bases: object

static request(url, params=None, jsonResult=None)
genReqStr(self, params)
_request(self, url, params)
onCompletion(self, text)
onError(self, text, code)