C# Class Hie.Core.Endpoints.FileReaderEndpoint

Inheritance: EndpointBase
Afficher le fichier Open project: NiclasOlofsson/HIE Class Usage Examples

Méthodes publiques

Свойство Type Description
MessageSent System.Threading.ManualResetEvent

Protected Properties

Свойство Type Description
_hostService IApplicationHost

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
TimerOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

Method Details

FileReaderEndpoint() public méthode

public FileReaderEndpoint ( string filePath, int pollingInterval, Encoding encoding ) : System.IO
filePath string
pollingInterval int
encoding System.Text.Encoding
Résultat System.IO

Initialize() public méthode

public Initialize ( IApplicationHost host, IOptions options ) : void
host IApplicationHost
options IOptions
Résultat void

ProcessMessage() public méthode

public ProcessMessage ( IEndpoint endpoint, byte data ) : void
endpoint IEndpoint
data byte
Résultat void

StartProcessing() public méthode

public StartProcessing ( ) : void
Résultat void

StopProcessing() public méthode

public StopProcessing ( ) : void
Résultat void

WaitForMessage() public méthode

public WaitForMessage ( int milisecondsTimeout = 1000 ) : void
milisecondsTimeout int
Résultat void

Property Details

MessageSent public_oe property

public ManualResetEvent,System.Threading MessageSent
Résultat System.Threading.ManualResetEvent

_hostService protected_oe property

protected IApplicationHost _hostService
Résultat IApplicationHost