C# 클래스 ClearCanvas.ImageServer.Common.ThreadedService

Base class for a service that runs in a dedicated thread.
파일 보기 프로젝트 열기: jasper-yeh/ClearCanvas

공개 메소드들

메소드 설명
StartService ( ) : void

Start the service.

StopService ( ) : void

Stop the service.

StopService ( string reason ) : void

보호된 메소드들

메소드 설명
CheckStop ( int msDelay ) : bool

Check if a stop is requested.

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

Constructor.

메소드 상세

CheckStop() 보호된 메소드

Check if a stop is requested.
protected CheckStop ( int msDelay ) : bool
msDelay int
리턴 bool

Initialize() 보호된 추상적인 메소드

protected abstract Initialize ( ) : bool
리턴 bool

Run() 보호된 추상적인 메소드

protected abstract Run ( ) : void
리턴 void

StartService() 공개 메소드

Start the service.
public StartService ( ) : void
리턴 void

Stop() 보호된 추상적인 메소드

protected abstract Stop ( ) : void
리턴 void

StopService() 공개 메소드

Stop the service.
public StopService ( ) : void
리턴 void

StopService() 공개 메소드

public StopService ( string reason ) : void
reason string
리턴 void

ThreadedService() 보호된 메소드

Constructor.
protected ThreadedService ( string name ) : System
name string The name of the service.
리턴 System