C# Класс WebApplications.Utilities.Service.NamedPipeServer

Creates a server for a bi-directional pipe.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Add void
CheckConnections void
Remove void
WriteLogs System.Threading.Task

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

NamedPipeServer() публичный Метод

Initializes a new instance of the NamedPipeServer class.
///
public NamedPipeServer ( [ service, [ configuration ) : System
service [ The service.
configuration [ The configuration.
Результат System