Package gammu :: Module Worker :: Class GammuTask
[hide private]
[frames] | no frames]

Class GammuTask

source code

Storage of taks for gammu.

Instance Methods [hide private]
 
__init__(self, name, commands)
Creates single command instance.
source code
 
get_next(self)
Returns next command to be executed as GammuCommand.
source code
 
get_name(self)
Returns task name.
source code
Method Details [hide private]

__init__(self, name, commands)
(Constructor)

source code 
Creates single command instance.
Parameters:
  • name (string) - Name of task.
  • commands (list of tuples or strings) - List of commands to execute.