C# Class GithubActors_WPF.Actors.GithubValidatorActor

Actor has one job - ensure that a public repo exists at the specified address
Inheritance: ReceiveActor
Mostrar archivo Open project: njimenez/AkkaProjects Class Usage Examples

Public Methods

Method Description
GithubValidatorActor ( IGitHubClient gitHubClient ) : System
SplitIntoOwnerAndRepo ( string repoUri ) : string>.Tuple

Private Methods

Method Description
ForwardTo ( IActorRef sender, GithubValidatorActor repo ) : void
IsUriCorrect ( ValidateRepo repo ) : bool
ReadyToValidate ( ) : void
SendAbleToAcceptJob ( ActorSelection actor, Messages acceptedJob ) : void
SendInvalidRepo ( IActorRef sender, GithubValidatorActor invalidRepo ) : void
SendUnableToAcceptJob ( ActorSelection actor, Messages job ) : void

Method Details

GithubValidatorActor() public method

public GithubValidatorActor ( IGitHubClient gitHubClient ) : System
gitHubClient IGitHubClient
return System

SplitIntoOwnerAndRepo() public static method

public static SplitIntoOwnerAndRepo ( string repoUri ) : string>.Tuple
repoUri string
return string>.Tuple