Implementation of a BridgeLink when our end is a named pipe server (the other end shall be a PipeClient) More...
Public Member Functions | |
PipeServer (string pipeName) | |
Instantiate the named pipe server. | |
bool | Start () |
Start accepting clients. | |
void | Stop () |
Stop accepting clients. | |
override void | Disconnect () |
Drop the currently connected client (if some) | |
override bool | Send (byte[] frame) |
Send to the client through the pipe. | |
Public Member Functions inherited from SpringCard.PCSC.Bridge.Link.BridgeLink | |
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. | |
Additional Inherited Members | |
Public Attributes inherited from SpringCard.PCSC.Bridge.Link.BridgeLink | |
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 inherited from SpringCard.PCSC.Bridge.Link.BridgeLink | |
bool | Connected [get] |
Is the communication link up and running? | |
Implementation of a BridgeLink when our end is a named pipe server (the other end shall be a PipeClient)