Package ZenRRD :: Module zencommand :: Class Cmd
[hide private]
[frames] | no frames]

Class Cmd

source code

  twisted.spread.pb.Copyable --+
                               |
twisted.spread.pb.RemoteCopy --+
                               |
                              Cmd

Holds the config of every command to be run

Instance Methods [hide private]
 
__init__(self) source code
 
running(self) source code
 
name(self) source code
 
nextRun(self) source code
 
start(self, pool) source code
 
processEnded(self, pr) source code
 
updateConfig(self, cfg, deviceConfig) source code
 
getEventKey(self, point) source code
 
commandKey(self)
Provide a value that establishes the uniqueness of this command
source code
Class Variables [hide private]
  command = None
  useSsh = False
  cycleTime = None
  eventClass = None
  eventKey = None
  severity = 3
  lastStart = 0
  lastStop = 0
  result = None