C# 클래스 Hie.Core.Endpoints.FileReaderEndpoint

상속: EndpointBase
파일 보기 프로젝트 열기: NiclasOlofsson/HIE 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MessageSent System.Threading.ManualResetEvent

보호된 프로퍼티들

프로퍼티 타입 설명
_hostService IApplicationHost

공개 메소드들

메소드 설명
FileReaderEndpoint ( string filePath, int pollingInterval, Encoding encoding ) : System.IO
Initialize ( IApplicationHost host, IOptions options ) : void
ProcessMessage ( IEndpoint endpoint, byte data ) : void
StartProcessing ( ) : void
StopProcessing ( ) : void
WaitForMessage ( int milisecondsTimeout = 1000 ) : void

비공개 메소드들

메소드 설명
TimerOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

메소드 상세

FileReaderEndpoint() 공개 메소드

public FileReaderEndpoint ( string filePath, int pollingInterval, Encoding encoding ) : System.IO
filePath string
pollingInterval int
encoding System.Text.Encoding
리턴 System.IO

Initialize() 공개 메소드

public Initialize ( IApplicationHost host, IOptions options ) : void
host IApplicationHost
options IOptions
리턴 void

ProcessMessage() 공개 메소드

public ProcessMessage ( IEndpoint endpoint, byte data ) : void
endpoint IEndpoint
data byte
리턴 void

StartProcessing() 공개 메소드

public StartProcessing ( ) : void
리턴 void

StopProcessing() 공개 메소드

public StopProcessing ( ) : void
리턴 void

WaitForMessage() 공개 메소드

public WaitForMessage ( int milisecondsTimeout = 1000 ) : void
milisecondsTimeout int
리턴 void

프로퍼티 상세

MessageSent 공개적으로 프로퍼티

public ManualResetEvent,System.Threading MessageSent
리턴 System.Threading.ManualResetEvent

_hostService 보호되어 있는 프로퍼티

protected IApplicationHost _hostService
리턴 IApplicationHost