C# Class RawRabbit.Common.TopologyProvider

Inheritance: ITopologyProvider, IDisposable
ファイルを表示 Open project: pardahlman/RawRabbit

Public Methods

Method Description
BindQueueAsync ( QueueConfiguration queue, ExchangeConfiguration exchange, string routingKey ) : System.Threading.Tasks.Task
DeclareExchangeAsync ( ExchangeConfiguration exchange ) : System.Threading.Tasks.Task
DeclareQueueAsync ( QueueConfiguration queue ) : System.Threading.Tasks.Task
Dispose ( ) : void
IsInitialized ( ExchangeConfiguration exchange ) : bool
IsInitialized ( QueueConfiguration queue ) : bool
TopologyProvider ( IChannelFactory channelFactory ) : System
UnbindQueueAsync ( QueueConfiguration queue, ExchangeConfiguration exchange, string routingKey ) : System.Threading.Tasks.Task

Private Methods

Method Description
BindQueueToExchange ( ScheduledBindQueueTask bind ) : void
DeclareExchange ( ExchangeConfiguration exchange ) : void
DeclareQueue ( QueueConfiguration queue ) : void
EnsureWorker ( ) : void
GetOrCreateChannel ( ) : IModel
UnbindQueueFromExchange ( ScheduledUnbindQueueTask bind ) : void

Method Details

BindQueueAsync() public method

public BindQueueAsync ( QueueConfiguration queue, ExchangeConfiguration exchange, string routingKey ) : System.Threading.Tasks.Task
queue RawRabbit.Configuration.Queue.QueueConfiguration
exchange RawRabbit.Configuration.Exchange.ExchangeConfiguration
routingKey string
return System.Threading.Tasks.Task

DeclareExchangeAsync() public method

public DeclareExchangeAsync ( ExchangeConfiguration exchange ) : System.Threading.Tasks.Task
exchange RawRabbit.Configuration.Exchange.ExchangeConfiguration
return System.Threading.Tasks.Task

DeclareQueueAsync() public method

public DeclareQueueAsync ( QueueConfiguration queue ) : System.Threading.Tasks.Task
queue RawRabbit.Configuration.Queue.QueueConfiguration
return System.Threading.Tasks.Task

Dispose() public method

public Dispose ( ) : void
return void

IsInitialized() public method

public IsInitialized ( ExchangeConfiguration exchange ) : bool
exchange RawRabbit.Configuration.Exchange.ExchangeConfiguration
return bool

IsInitialized() public method

public IsInitialized ( QueueConfiguration queue ) : bool
queue RawRabbit.Configuration.Queue.QueueConfiguration
return bool

TopologyProvider() public method

public TopologyProvider ( IChannelFactory channelFactory ) : System
channelFactory IChannelFactory
return System

UnbindQueueAsync() public method

public UnbindQueueAsync ( QueueConfiguration queue, ExchangeConfiguration exchange, string routingKey ) : System.Threading.Tasks.Task
queue RawRabbit.Configuration.Queue.QueueConfiguration
exchange RawRabbit.Configuration.Exchange.ExchangeConfiguration
routingKey string
return System.Threading.Tasks.Task