C# Class FloatingQueue.Common.Common.ThreadBase

Afficher le fichier Open project: eleks/FloatingQueuePoC

Méthodes publiques

Méthode Description
Start ( Action threadFailedHandler ) : void
Stop ( ) : void
Wait ( ) : void

Méthodes protégées

Méthode Description
OnThreadFailed ( Exception e ) : void
RunCore ( ) : void
Sleep ( System.TimeSpan ts ) : void
Sleep ( int mSec ) : void
StartCore ( ) : void
StopCore ( ) : void
ThreadBase ( string threadName = null ) : System

Private Methods

Méthode Description
Run ( ) : void

Method Details

OnThreadFailed() protected méthode

protected OnThreadFailed ( Exception e ) : void
e System.Exception
Résultat void

RunCore() protected abstract méthode

protected abstract RunCore ( ) : void
Résultat void

Sleep() protected méthode

protected Sleep ( System.TimeSpan ts ) : void
ts System.TimeSpan
Résultat void

Sleep() protected méthode

protected Sleep ( int mSec ) : void
mSec int
Résultat void

Start() public méthode

public Start ( Action threadFailedHandler ) : void
threadFailedHandler Action
Résultat void

StartCore() protected méthode

protected StartCore ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

StopCore() protected méthode

protected StopCore ( ) : void
Résultat void

ThreadBase() protected méthode

protected ThreadBase ( string threadName = null ) : System
threadName string
Résultat System

Wait() public méthode

public Wait ( ) : void
Résultat void