class documentation
class ExclusiveTransmitCardConnection(CardConnectionDecorator):
Constructor: ExclusiveTransmitCardConnection(cardconnection)
This decorator uses SCardBeginTransaction
/SCardEndTransaction
to preserve other processes of threads to access the card during transmit().
Method | __init__ |
Construct a new card connection decorator. |
Method | lock |
Lock card with SCardBeginTransaction . |
Method | transmit |
Gain exclusive access to card during APDU transmission for if this decorator decorates a PCSCCardConnection. |
Method | unlock |
Unlock card with SCardEndTransaction . |
Inherited from CardConnectionDecorator
:
Method | add |
call inner component addObserver |
Method | add |
call inner component addSWExceptionToFilter |
Method | connect |
call inner component connect |
Method | control |
call inner component control |
Method | delete |
call inner component deleteObserver |
Method | disconnect |
call inner component disconnect |
Method | get |
call inner component getATR |
Method | get |
call inner component getAttrib |
Method | get |
call inner component getProtocol |
Method | get |
call inner component getReader |
Method | reconnect |
call inner component reconnect |
Method | set |
call inner component setErrorCheckingChain |
Method | set |
call inner component setProtocol |
Instance Variable | component |
Undocumented |
Inherited from CardConnection
(via CardConnectionDecorator
):
Method | __del__ |
Connect to card. |
Method | __enter__ |
Enter the runtime context. |
Method | __exit__ |
Exit the runtime context trying to disconnect. |
Method | do |
Performs the command control. |
Method | do |
Performs the command get attrib. |
Method | do |
Performs the command APDU transmission. |
Class Variable |
|
protocol RAW (direct access to the reader) |
Class Variable |
|
protocol T=0 |
Class Variable |
|
protocol T=15 |
Class Variable |
|
protocol T=1 |
Instance Variable | defaultprotocol |
see setProtocol and getProtocol |
Instance Variable | errorcheckingchain |
see setErrorCheckingChain |
Instance Variable | reader |
reader name |
Inherited from Observable
(via CardConnectionDecorator
, CardConnection
):
Method | clear |
Undocumented |
Method | count |
Undocumented |
Method | delete |
Undocumented |
Method | has |
Undocumented |
Method | notify |
If 'changed' indicates that this object has changed, notify all its observers, then call clearChanged(). Each observer has its update() called with two arguments: this observable object and the generic 'arg'. |
Method | set |
Undocumented |
Instance Variable | changed |
Undocumented |
Instance Variable | obs |
Undocumented |
Inherited from Synchronization
(via CardConnectionDecorator
, CardConnection
, Observable
):
Instance Variable | mutex |
Undocumented |