SpringCard PcscBridge SDK for .NET  20.09.25
The SDK for PcscBridge and the virtual PC/SC drivers
SpringCard.PCSC.Bridge.Client.ReaderEngine Class Reference

Engine to run the reader-side of a PC/SC Bridge. More...

Inheritance diagram for SpringCard.PCSC.Bridge.Client.ReaderEngine:
SpringCard.PCSC.Bridge.Client.ReaderNotificationInterface

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)
 

Detailed Description

Engine to run the reader-side of a PC/SC Bridge.

Constructor & Destructor Documentation

◆ ReaderEngine()

SpringCard.PCSC.Bridge.Client.ReaderEngine.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)

Don't forget to call the Start() function afterwards, otherwise the engine will remain idle.

Member Function Documentation

◆ NotifyInsert()

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.

Remarks

This function shall not be called directly. See ReaderInterface.Enable()

Implements SpringCard.PCSC.Bridge.Client.ReaderNotificationInterface.

◆ NotifyRemove()

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.

Remarks

This function shall not be called directly. See ReaderInterface.Enable()

Implements SpringCard.PCSC.Bridge.Client.ReaderNotificationInterface.

◆ Start()

bool SpringCard.PCSC.Bridge.Client.ReaderEngine.Start ( )

Start the engine.

Returns true if everything is OK.

◆ Stop()

void SpringCard.PCSC.Bridge.Client.ReaderEngine.Stop ( )

Stop the engine.


The documentation for this class was generated from the following file: