C# Class TestJobManager.MockJobManagerService

Afficher le fichier Open project: ryanski44/VM-Automation-Framework Class Usage Examples

Méthodes publiques

Méthode Description
AddJob ( Job j, JobStates state ) : void
GetJobStatus ( string jobID ) : JobStatus
MockJobManagerService ( string inbox, string outbox ) : System
Start ( ) : void
StartWatchingDir ( ) : void
Stop ( ) : void
StopWatchingDir ( ) : void

Private Methods

Méthode Description
CheckJobs ( ) : void
HandleNewFile ( FileInfo fi ) : void
ReceiveLoop ( ) : void
SendToHost ( AutomationMessage m ) : void
myWatcher_Created ( object sender, FileSystemEventArgs e ) : void
myWatcher_Renamed ( object sender, RenamedEventArgs e ) : void

Method Details

AddJob() public méthode

public AddJob ( Job j, JobStates state ) : void
j JobManagerInterfaces.Job
state JobStates
Résultat void

GetJobStatus() public méthode

public GetJobStatus ( string jobID ) : JobStatus
jobID string
Résultat JobManagerInterfaces.JobStatus

MockJobManagerService() public méthode

public MockJobManagerService ( string inbox, string outbox ) : System
inbox string
outbox string
Résultat System

Start() public méthode

public Start ( ) : void
Résultat void

StartWatchingDir() public méthode

public StartWatchingDir ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

StopWatchingDir() public méthode

public StopWatchingDir ( ) : void
Résultat void