Package ClusterShell :: Module Communication :: Class Message
[hide private]
[frames] | no frames]

Class Message

source code


base message class

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
data_encode(self, inst)
serialize an instance and store the result
source code
 
data_decode(self)
deserialize a previously encoded instance and return it
source code
 
data_update(self, raw)
append data to the instance (used for deserialization)
source code
 
selfbuild(self, attributes)
self construction from a table of attributes
source code
 
__str__(self)
printable representation
source code
 
xml(self)
generate XML version of a configuration message
source code

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

Class Variables [hide private]
  _inst_counter = 0
  ident = 'GEN'
  has_payload = False
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

printable representation

Overrides: object.__str__