Package smartcard :: Package wx :: Module CardAndReaderTreePanel :: Class CardAndReaderTreePanel :: Class _CardObserver
[hide private]
[frames] | no frames]

Class _CardObserver

source code


Inner CardObserver. Gets notified of card insertion removal by the CardMonitor.

Instance Methods [hide private]
 
__init__(self, cardtreectrl)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
update(self, observable, handlers)
CardObserver callback that is notified when cards are added or removed.
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, cardtreectrl)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

update(self, observable, handlers)

source code 

CardObserver callback that is notified when cards are added or removed.

Parameters:
  • observable
  • handlers -
    • addedcards: list of inserted smart cards causing notification
    • removedcards: list of removed smart cards causing notification
Overrides: Observer.Observer.update