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

Class ExclusiveConnectCardConnection

source code


This decorator uses exclusive access to the card during connection to prevent other processes to connect to this card.

Instance Methods [hide private]
 
__init__(self, cardconnection)
Construct a new card connection decorator.
source code
 
connect(self, protocol=None, mode=None, disposition=None)
Disconnect and reconnect in exclusive mode PCSCCardconnections.
source code

Inherited from CardConnectionDecorator.CardConnectionDecorator: addObserver, addSWExceptionToFilter, control, deleteObserver, disconnect, getATR, getAttrib, getProtocol, getReader, setErrorCheckingChain, setProtocol, transmit

Inherited from CardConnection.CardConnection: __del__, __enter__, __exit__, doControl, doGetAttrib, doTransmit

Inherited from Observer.Observable: clearChanged, countObservers, deleteObservers, hasChanged, notifyObservers, setChanged

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

Class Variables [hide private]

Inherited from CardConnection.CardConnection: RAW_protocol, T0_protocol, T15_protocol, T1_protocol

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cardconnection)
(Constructor)

source code 

Construct a new card connection decorator.

CardConnectionComponent: CardConnection component to decorate

Parameters:
  • reader - name of the reader in which the smartcard to connect to is located.
Overrides: object.__init__
(inherited documentation)

connect(self, protocol=None, mode=None, disposition=None)

source code 

Disconnect and reconnect in exclusive mode PCSCCardconnections.

Parameters:
Overrides: CardConnection.CardConnection.connect