Package gozerbot :: Module periodical :: Class Periodical
[hide private]
[frames] | no frames]

Class Periodical

source code

object --+
         |
        Periodical

periodical scheduler

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
addjob(self, sleeptime, repeat, function, description='', *args, **kw) source code
 
changeinterval(self, pid, interval) source code
 
checkloop(self)
main loop
source code
 
runjob(self, job)
kill job is not to be runned
source code
 
kill(self)
kill all jobs invoked by another module
source code
 
killgroup(self, group)
kill all jobs with the same group
source code
 
killjob(self, jobId)
kill one job by its id
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  SLEEPTIME = 1
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)