C# 클래스 paramore.brighter.commandprocessor.InputChannel

Class InputChannel. An IAmAChannel for reading messages from a Task Queue and acknowledging receipt of those messages
상속: IAmAnInputChannel
파일 보기 프로젝트 열기: JustGiving/Paramore

공개 메소드들

메소드 설명
Acknowledge ( Message message ) : void

Acknowledges the specified message.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

InputChannel ( string channelName, IAmAMessageConsumer messageConsumer ) : System

Initializes a new instance of the InputChannel class.

Receive ( int timeoutinMilliseconds ) : Message

Receives the specified timeout in milliseconds.

Reject ( Message message ) : void

Rejects the specified message.

Requeue ( Message message, int delayMilliseconds ) : void

Requeues the specified message.

SetCachedMessageCount ( int count ) : void
Stop ( ) : void

Stops this instance.

SupportsCaching ( ) : bool

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Acknowledge() 공개 메소드

Acknowledges the specified message.
public Acknowledge ( Message message ) : void
message Message The message.
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

InputChannel() 공개 메소드

Initializes a new instance of the InputChannel class.
public InputChannel ( string channelName, IAmAMessageConsumer messageConsumer ) : System
channelName string
messageConsumer IAmAMessageConsumer The messageConsumer.
리턴 System

Receive() 공개 메소드

Receives the specified timeout in milliseconds.
public Receive ( int timeoutinMilliseconds ) : Message
timeoutinMilliseconds int The timeout in milliseconds.
리턴 Message

Reject() 공개 메소드

Rejects the specified message.
public Reject ( Message message ) : void
message Message The message.
리턴 void

Requeue() 공개 메소드

Requeues the specified message.
public Requeue ( Message message, int delayMilliseconds ) : void
message Message
delayMilliseconds int
리턴 void

SetCachedMessageCount() 공개 메소드

public SetCachedMessageCount ( int count ) : void
count int
리턴 void

Stop() 공개 메소드

Stops this instance.
public Stop ( ) : void
리턴 void

SupportsCaching() 공개 메소드

public SupportsCaching ( ) : bool
리턴 bool