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

Class CardConnectionDecorator

source code


Card connection decorator class.

Instance Methods [hide private]
 
__init__(self, cardConnectionComponent)
Construct a new card connection decorator.
source code
 
addSWExceptionToFilter(self, exClass)
call inner component addSWExceptionToFilter
source code
 
addObserver(self, observer)
call inner component addObserver
source code
 
deleteObserver(self, observer)
call inner component deleteObserver
source code
 
connect(self, protocol=None, mode=None, disposition=None)
call inner component connect
source code
 
disconnect(self)
call inner component disconnect
source code
 
getATR(self)
call inner component getATR
source code
 
getProtocol(self)
call inner component getProtocol
source code
 
getReader(self)
call inner component getReader
source code
 
setErrorCheckingChain(self, errorcheckingchain)
call inner component setErrorCheckingChain
source code
 
setProtocol(self, protocol)
call inner component setProtocol
source code
 
transmit(self, bytes, protocol=None)
call inner component transmit
source code
 
control(self, controlCode, bytes=[])
call inner component control
source code

Inherited from CardConnection.CardConnection: __del__, doControl, doTransmit

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

Class Variables [hide private]

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

Method Details [hide private]

__init__(self, cardConnectionComponent)
(Constructor)

source code 

Construct a new card connection decorator.

CardConnectionComponent: CardConnection component to decorate

Overrides: Synchronization.Synchronization.__init__

addSWExceptionToFilter(self, exClass)

source code 

call inner component addSWExceptionToFilter

Overrides: CardConnection.CardConnection.addSWExceptionToFilter

addObserver(self, observer)

source code 

call inner component addObserver

Overrides: Observer.Observable.addObserver

deleteObserver(self, observer)

source code 

call inner component deleteObserver

Overrides: Observer.Observable.deleteObserver

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

source code 

call inner component connect

Overrides: CardConnection.CardConnection.connect

disconnect(self)

source code 

call inner component disconnect

Overrides: CardConnection.CardConnection.disconnect

getATR(self)

source code 

call inner component getATR

Overrides: CardConnection.CardConnection.getATR

getProtocol(self)

source code 

call inner component getProtocol

Overrides: CardConnection.CardConnection.getProtocol

getReader(self)

source code 

call inner component getReader

Overrides: CardConnection.CardConnection.getReader

setErrorCheckingChain(self, errorcheckingchain)

source code 

call inner component setErrorCheckingChain

Overrides: CardConnection.CardConnection.setErrorCheckingChain

setProtocol(self, protocol)

source code 

call inner component setProtocol

Overrides: CardConnection.CardConnection.setProtocol

transmit(self, bytes, protocol=None)

source code 

call inner component transmit

Overrides: CardConnection.CardConnection.transmit

control(self, controlCode, bytes=[])

source code 

call inner component control

Overrides: CardConnection.CardConnection.control