Package smartcard :: Module ReaderMonitoring :: Class ReaderObserver
[hide private]
[frames] | no frames]

Class ReaderObserver

source code


ReaderObserver is a base abstract class for objects that are to be notified upon smartcard reader insertion/removal.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
update(self, observable, handlers)
Called upon reader insertion/removal.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

update(self, observable, handlers)

source code 

Called upon reader insertion/removal.

Parameters:
  • observable
  • handlers -
    • addedreaders: list of added readers causing notification
    • removedreaders: list of removed readers causing notification
Overrides: Observer.Observer.update