SpringCard PcscBridge SDK for .NET  20.09.25
The SDK for PcscBridge and the virtual PC/SC drivers
SpringCard.PCSC.Bridge.Link.BridgeLink Class Referenceabstract

Abstract communication class between the PC/SC Bridge application (and the driver behind it) and remote reader or a client application implementing the reader-end of the solution. More...

Inheritance diagram for SpringCard.PCSC.Bridge.Link.BridgeLink:
SpringCard.PCSC.Bridge.Link.BridgeLink.PipeClient SpringCard.PCSC.Bridge.Link.BridgeLink.PipeServer SpringCard.PCSC.Bridge.Link.BridgeLink.TcpClient SpringCard.PCSC.Bridge.Link.BridgeLink.TcpServer

Classes

interface  IClient
 Interface to be implemented if the link behaves as a client (i.e. our end is the initiator of the connection to the other end) More...
 
interface  IServer
 Interface to be implemented if the link behaves as a client (i.e. the other end is the initiator of the connection to ours) More...
 
class  PipeClient
 Implementation of a BridgeLink when our end is the client of a named pipe (the other end shall be a PipeServer) More...
 
class  PipeServer
 Implementation of a BridgeLink when our end is a named pipe server (the other end shall be a PipeClient) More...
 
class  TcpClient
 Implementation of a BridgeLink when our end is the client of a TCP server socket (the other end shall be a TcpServer) More...
 
class  TcpServer
 Implementation of a BridgeLink when our end is a TCP server socket (the other end shall be a TcpClient) More...
 

Public Member Functions

abstract void Disconnect ()
 Close the communication link.
 
abstract bool Send (byte[] frame)
 Send a frame to the peer.
 
delegate void ConnectionStateCallback ()
 Typedef for OnConnected() and OnDisconnected() callbacks.
 
delegate bool RecvCallback (byte[] frame)
 Typedef for OnRecv() callback.
 
string GetLinkDescription ()
 Get the description of the communication link.
 

Public Attributes

ConnectionStateCallback OnConnected
 Callback invoked when a link goes up (connection with the peer is established)
 
ConnectionStateCallback OnDisconnected
 Callback invoked when a link goes down (connection with the peer is closed, for any reason)
 
RecvCallback OnRecv
 Callback invoked when a message is received from the peer.
 
Dictionary< string, string > LocalInfoData = new Dictionary<string, string>()
 Get some data.
 
Dictionary< string, string > ClientInfoData = new Dictionary<string, string>()
 Get some data.
 

Properties

bool Connected [get]
 Is the communication link up and running?
 

Detailed Description

Abstract communication class between the PC/SC Bridge application (and the driver behind it) and remote reader or a client application implementing the reader-end of the solution.


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