C# Class ClearCanvas.ImageServer.Common.ThreadedService

Base class for a service that runs in a dedicated thread.
Afficher le fichier Open project: jasper-yeh/ClearCanvas

Méthodes publiques

Méthode Description
StartService ( ) : void

Start the service.

StopService ( ) : void

Stop the service.

StopService ( string reason ) : void

Méthodes protégées

Méthode Description
CheckStop ( int msDelay ) : bool

Check if a stop is requested.

Initialize ( ) : bool
Run ( ) : void
Stop ( ) : void
ThreadedService ( string name ) : System

Constructor.

Method Details

CheckStop() protected méthode

Check if a stop is requested.
protected CheckStop ( int msDelay ) : bool
msDelay int
Résultat bool

Initialize() protected abstract méthode

protected abstract Initialize ( ) : bool
Résultat bool

Run() protected abstract méthode

protected abstract Run ( ) : void
Résultat void

StartService() public méthode

Start the service.
public StartService ( ) : void
Résultat void

Stop() protected abstract méthode

protected abstract Stop ( ) : void
Résultat void

StopService() public méthode

Stop the service.
public StopService ( ) : void
Résultat void

StopService() public méthode

public StopService ( string reason ) : void
reason string
Résultat void

ThreadedService() protected méthode

Constructor.
protected ThreadedService ( string name ) : System
name string The name of the service.
Résultat System