Package elisa :: Package extern :: Module translation :: Class Message
[hide private]
[frames] | no frames]

Class Message

source code


I am a message to be shown in a UI.

Instance Methods [hide private]
 
__init__(self, level, translatable, debug='frontend', id='frontend', priority=50, timestamp='frontend') source code
 
__repr__(self) source code
 
add(self, translatable) source code

Inherited from twisted.spread.flavors.Copyable: getStateToCopy, getStateToCopyFor, getTypeToCopy, getTypeToCopyFor, jellyFor

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Inherited from twisted.spread.flavors.RemoteCopy: setCopyableState, unjellyFor

Inherited from twisted.spread.jelly.Unjellyable: setStateFor

Inherited from twisted.python.util.FancyEqMixin: __eq__, __ne__

Class Variables [hide private]
  compareAttributes = ['level', 'translatables', 'debug', 'id', ...

Inherited from twisted.spread.flavors.Serializable: __implemented__, __provides__

Method Details [hide private]

__init__(self, level, translatable, debug='frontend', id='frontend', priority=50, timestamp='frontend')
(Constructor)

source code 
Parameters:
  • level - ERROR, WARNING or INFO
  • translatable - a translatable possibly with markup for linking to documentation or running commands.
  • debug - further, untranslated, debug information, not always shown
  • priority - priority compared to other messages of the same level
  • timestamp - time since epoch at which the message was generated, in seconds.

Class Variable Details [hide private]

compareAttributes

Value:
['level', 'translatables', 'debug', 'id', 'priority', 'timestamp']