C# 클래스 WebApplications.Utilities.Service.NamedPipeServer

Creates a server for a bi-directional pipe.
상속: IDisposable
파일 보기 프로젝트 열기: webappsuk/CoreLibraries 1 사용 예제들

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