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

Module Worker

source code

Asynchronous communication to phone.

Mostly you should use only GammuWorker class, others are only helpers which are used by this class.


Author: Michal \xc4\x8ciha\xc5\x99

License: Copyright \xc2\xa9 2003 - 2009 Michal \xc4\x8ciha\xc5\x99 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Classes [hide private]
  InvalidCommand
Exception indicating invalid command.
  GammuCommand
Storage of single command for gammu.
  GammuTask
Storage of taks for gammu.
  GammuThread
Thread for phone communication.
  GammuWorker
Wrapper class for asynchronous communication with Gammu.
Functions [hide private]
 
check_worker_command(command)
Checks whether command is valid.
source code
Variables [hide private]
  __email__ = 'michal@cihar.com'
  __package__ = 'gammu'
Function Details [hide private]

check_worker_command(command)

source code 

Checks whether command is valid.

Parameters:
  • command (string) - Name of command.