Package stocks3 :: Package core :: Module saver :: Class Saver
[hide private]
[frames] | no frames]

Class Saver

source code


Модуль, сохраняющий данные о котировках.

Instance Methods [hide private]
 
__init__(self, tree, node, source) source code
 
save(self, price)
Вызывается внешним модулем (скорее всего из Source).
source code
 
flush(self) source code

Inherited from config.Configurable: createObjects, makeConfig, readBool, readFloat, readInt, readString

Method Details [hide private]

__init__(self, tree, node, source)
(Constructor)

source code 
Parameters:
  • tree - XML-дерево.
  • node - XML-узел с конфигурацией для данного объекта.
Overrides: config.Configurable.__init__
(inherited documentation)

save(self, price)

source code 

Вызывается внешним модулем (скорее всего из Source).

Parameters:
  • price (AbstractPrice.) - Данные для сохранения.