Interface IIpcListener
Accepts incoming IpcStream connections on one endpoint, or several (issue #140).
public interface IIpcListener : IDisposable
- Inherited Members
Properties
Endpoint
The endpoint as clients connect to it, such as shm:/tmp/links.
string Endpoint { get; }
Property Value
Endpoints
Every endpoint listened on.
IReadOnlyList<string> Endpoints { get; }
Property Value
LocalEndPoint
The TCP address, when one of the endpoints is TCP.
IPEndPoint? LocalEndPoint { get; }
Property Value
Methods
Accept()
The next connection; null once the listener is closed or can accept no more.
IpcStream? Accept()
Returns
Closer()
An action, callable from any thread, that closes the listener and wakes a blocked Accept().
Action Closer()