Engine to run the reader-side of a PC/SC Bridge. More...
Public Member Functions | |
ReaderEngine (BridgeLink driverLink, ReaderInterface readerInterface) | |
Instanciate the engine between a PC/SC Bridge and its driver (driverLink parameter) and a virtual reader implemented by the client application (readerInterface parameter) More... | |
bool | Start () |
Start the engine. More... | |
void | Stop () |
Stop the engine. More... | |
bool | NotifyInsert () |
Notify the ReaderEngine (and the driver) that a card has been inserted in the client application's virtual reader. More... | |
bool | NotifyRemove () |
Notify the ReaderEngine (and the driver) that a card has been removed from the client application's virtual reader. More... | |
Public Attributes | |
bool | RetryConnect |
Shall the engine keep-on trying to connect, if the first connection fails in the Start() function? | |
bool | AutoReconnect |
Shall the engine keep-on trying to reconnect, if the connection link is broken? | |
int | RetryConnectIntervalMs = 3000 |
Delay before trying to connect, when the connection link fails to open. (milliseconds) | |
int | AutoReconnectIntervalMs = 3000 |
Delay before trying to reconnect, after the connection link is broken. (milliseconds) | |
Engine to run the reader-side of a PC/SC Bridge.
SpringCard.PCSC.Bridge.Client.ReaderEngine.ReaderEngine | ( | BridgeLink | driverLink, |
ReaderInterface | readerInterface | ||
) |
bool SpringCard.PCSC.Bridge.Client.ReaderEngine.NotifyInsert | ( | ) |
Notify the ReaderEngine (and the driver) that a card has been inserted in the client application's virtual reader.
This function shall not be called directly. See ReaderInterface.Enable()
Implements SpringCard.PCSC.Bridge.Client.ReaderNotificationInterface.
bool SpringCard.PCSC.Bridge.Client.ReaderEngine.NotifyRemove | ( | ) |
Notify the ReaderEngine (and the driver) that a card has been removed from the client application's virtual reader.
This function shall not be called directly. See ReaderInterface.Enable()
Implements SpringCard.PCSC.Bridge.Client.ReaderNotificationInterface.
bool SpringCard.PCSC.Bridge.Client.ReaderEngine.Start | ( | ) |
Start the engine.
Returns true if everything is OK.
void SpringCard.PCSC.Bridge.Client.ReaderEngine.Stop | ( | ) |
Stop the engine.