C# Class WinTail.TailActor

Monitors the file at _filePath for changes and sends file updates to console.
Inheritance: Akka.Actor.UntypedActor
ファイルを表示 Open project: sachabarber/AkkaWintail Class Usage Examples

Public Methods

Method Description
TailActor ( IActorRef reporterActor, string filePath ) : System.IO

Protected Methods

Method Description
OnReceive ( object message ) : void
PostStop ( ) : void

Cleanup OS handles for _fileStreamReader and FileObserver.

PreStart ( ) : void

Initialization logic for actor that will tail changes to a file.

Method Details

OnReceive() protected method

protected OnReceive ( object message ) : void
message object
return void

PostStop() protected method

Cleanup OS handles for _fileStreamReader and FileObserver.
protected PostStop ( ) : void
return void

PreStart() protected method

Initialization logic for actor that will tail changes to a file.
protected PreStart ( ) : void
return void

TailActor() public method

public TailActor ( IActorRef reporterActor, string filePath ) : System.IO
reporterActor IActorRef
filePath string
return System.IO