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

Class CardConnectionEvent

source code

Base class for card connection events.

This event is notified by CardConnection objects.

type:   'connect', 'disconnect', 'command', 'response'
args:   None for 'connect' or 'disconnect'
        command APDU byte list for 'command'
        [response data, sw1, sw2] for 'response'
type:   'connect'   args:

Instance Methods [hide private]
 
__init__(self, type, args=None) source code