| Home | Trees | Indices | Help |
|
|---|
|
|
Base class for status word error checking strategies.
Error checking strategies are chained into an ErrorCheckingChain to implement a Chain of Responsibility. Each strategy in the chain is called until an error is detected. The strategy raises a smartcard.sw.SWException exception when an error is detected.
Implementation derived from Bruce Eckel, Thinking in Python. The ErrorCheckingChain implements the Chain Of Responsibility design pattern.
|
|||
|
|||
|
|||
Called to test data, sw1 and sw2 for error. data: apdu response data sw1, sw2: apdu data status words Derived classes must raise a smartcard.sw.SWException upon error. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Wed Jul 22 16:13:04 2009 | http://epydoc.sourceforge.net |