C# Class RawRabbit.Channel.ThreadBasedChannelFactory

Inheritance: IChannelFactory
显示文件 Open project: pardahlman/RawRabbit

Public Methods

Method Description
CreateChannel ( IConnection connection = null ) : IModel
CreateChannelAsync ( IConnection connection = null ) : Task
Dispose ( ) : void
GetChannelAsync ( ) : Task
ThreadBasedChannelFactory ( RawRabbitConfiguration config, IConnectionFactory connectionFactory ) : System

Private Methods

Method Description
GetConnectionAsync ( ) : Task
GetOrCreateChannelAsync ( IConnection connection ) : Task

Method Details

CreateChannel() public method

public CreateChannel ( IConnection connection = null ) : IModel
connection IConnection
return IModel

CreateChannelAsync() public method

public CreateChannelAsync ( IConnection connection = null ) : Task
connection IConnection
return Task

Dispose() public method

public Dispose ( ) : void
return void

GetChannelAsync() public method

public GetChannelAsync ( ) : Task
return Task

ThreadBasedChannelFactory() public method

public ThreadBasedChannelFactory ( RawRabbitConfiguration config, IConnectionFactory connectionFactory ) : System
config RawRabbit.Configuration.RawRabbitConfiguration
connectionFactory IConnectionFactory
return System