C# 클래스 Mike.Spikes.MyService

Shows how you can block processing until a message arrives, or until a timeout fires
상속: IDisposable
파일 보기 프로젝트 열기: mikehadlow/Mike.Spikes 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
MyService ( IBus bus ) : System
OnDataAvailable ( DataMessage data ) : void
Process ( ) : void

Do some processing

Start ( ) : void

Start fires when the service starts (you might also put this code in the constructor)

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

MyService() 공개 메소드

public MyService ( IBus bus ) : System
bus IBus
리턴 System

OnDataAvailable() 공개 메소드

public OnDataAvailable ( DataMessage data ) : void
data DataMessage
리턴 void

Process() 공개 메소드

Do some processing
public Process ( ) : void
리턴 void

Start() 공개 메소드

Start fires when the service starts (you might also put this code in the constructor)
public Start ( ) : void
리턴 void