Package smartcard :: Module CardMonitoring :: Class CardMonitor
[hide private]
[frames] | no frames]

Class CardMonitor

source code

Class that monitors smart card insertion/removal. and notify observers

note: a card monitoring thread will be running as long as the card monitor has observers, or CardMonitor.stop() is called. Do not forget to delete all your observers by calling deleteObserver, or your program will run forever...

Uses the singleton pattern from Thinking in Python Bruce Eckel, http://mindview.net/Books/TIPython to make sure there is only one CardMonitor.

Nested Classes [hide private]
  __CardMonitorSingleton
The real smartcard monitor class.
Instance Methods [hide private]
 
__init__(self) source code
 
__getattr__(self, name) source code
Class Variables [hide private]
  instance = None
hash(x)