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...
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? | |
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.