C# Class WebApplications.Utilities.Service.NamedPipeServer

Creates a server for a bi-directional pipe.
Inheritance: IDisposable
Afficher le fichier Open project: webappsuk/CoreLibraries Class Usage Examples

Private Properties

Свойство Type Description
Add void
CheckConnections void
Remove void
WriteLogs System.Threading.Task

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

NamedPipeServer ( [ service, [ configuration ) : System

Initializes a new instance of the NamedPipeServer class.

Private Methods

Méthode Description
Add ( ) : void

Starts a new listening connection, if there is capacity.

CheckConnections ( [ state ) : void

Checks the connections to ensure we have at least one open, this should never happen but services are long running, and so if something truly fatal happens this should restore connectivity.

Remove ( [ connection ) : void

Removes the specified connection.

WriteLogs ( [ logs, CancellationToken token ) : System.Threading.Task

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

NamedPipeServer() public méthode

Initializes a new instance of the NamedPipeServer class.
///
public NamedPipeServer ( [ service, [ configuration ) : System
service [ The service.
configuration [ The configuration.
Résultat System