This decorator uses SCardBeginTransaction/SCardEndTransaction to
preserve other processes of threads to access the card during
transmit().
|
|
|
|
|
lock(self)
Lock card with SCardBeginTransaction. |
source code
|
|
|
|
unlock(self)
Unlock card with SCardEndTransaction. |
source code
|
|
|
|
transmit(self,
bytes,
protocol=None)
Gain exclusive access to card during APDU transmission for if this
decorator decorates a PCSCCardConnection. |
source code
|
|
|
Inherited from CardConnectionDecorator.CardConnectionDecorator:
addObserver,
addSWExceptionToFilter,
connect,
control,
deleteObserver,
disconnect,
getATR,
getProtocol,
getReader,
setErrorCheckingChain,
setProtocol
Inherited from CardConnection.CardConnection:
__del__,
doControl,
doTransmit
Inherited from Observer.Observable:
clearChanged,
countObservers,
deleteObservers,
hasChanged,
notifyObservers,
setChanged
|