C# 클래스 DotNetWorkQueue.Transport.Redis.Basic.RedisQueueWorkSubRpc

Allows a caller to wait and block until a pub/sub call has occurred for a specific message id
상속: IRedisQueueWorkSub
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
Dispose ( ) : void

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

RedisQueueWorkSubRpc ( IRedisConnection connection, RedisNames redisNames, IQueueCancelWork cancelWork, IMessageId messageId ) : System

Initializes a new instance of the RedisQueueWorkSubRpc class.

Reset ( ) : void

Resets this instance.

Wait ( System.TimeSpan timeout ) : bool

Waits until a notification is received, or until the timeout is reached

보호된 메소드들

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

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

비공개 메소드들

메소드 설명
Handler ( RedisChannel redisChannel, RedisValue redisValue ) : void

Handlers the specified redis channel.

Setup ( ) : void

Setups this instance.

SubscribeForNotification ( ) : void

Subscribes for notification.

메소드 상세

Dispose() 공개 메소드

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

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

RedisQueueWorkSubRpc() 공개 메소드

Initializes a new instance of the RedisQueueWorkSubRpc class.
public RedisQueueWorkSubRpc ( IRedisConnection connection, RedisNames redisNames, IQueueCancelWork cancelWork, IMessageId messageId ) : System
connection IRedisConnection The connection.
redisNames RedisNames The redis names.
cancelWork IQueueCancelWork The cancel work.
messageId IMessageId The message identifier.
리턴 System

Reset() 공개 메소드

Resets this instance.
public Reset ( ) : void
리턴 void

ThrowIfDisposed() 보호된 메소드

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
리턴 void

Wait() 공개 메소드

Waits until a notification is received, or until the timeout is reached
public Wait ( System.TimeSpan timeout ) : bool
timeout System.TimeSpan The timeout. Null means no timeout.
리턴 bool