C# Class WinTail.TailActor

Monitors the file at _filePath for changes and sends file updates to console.
Inheritance: Akka.Actor.UntypedActor
Afficher le fichier Open project: sachabarber/AkkaWintail Class Usage Examples

Méthodes publiques

Méthode Description
TailActor ( IActorRef reporterActor, string filePath ) : System.IO

Méthodes protégées

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

protected OnReceive ( object message ) : void
message object
Résultat void

PostStop() protected méthode

Cleanup OS handles for _fileStreamReader and FileObserver.
protected PostStop ( ) : void
Résultat void

PreStart() protected méthode

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

TailActor() public méthode

public TailActor ( IActorRef reporterActor, string filePath ) : System.IO
reporterActor IActorRef
filePath string
Résultat System.IO