Package gavo :: Package web :: Module serviceresults :: Class ServiceResult
[frames] | no frames]

Class ServiceResult

source code

object --+
         |
        ServiceResult
Known Subclasses:

A base class for objects producing formatted output.

ServiceResults are constructed with a context and the service. On renderHTTP, they will spawn a thread to compute the service result (usually, an rsc.Data instance) and hand that over to _formatOutput.

All methods on these objects are class methods -- they are never instanciated.

Deriving classes can override

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods
 
getLabel(cls) source code
 
canWrite(cls, colSeq) source code
Class Variables
  compute = True
  code = None
hash(x)
  label = None
hash(x)
Properties

Inherited from object: __class__