C# Class RawRabbit.Channel.ChannelFactory

Inheritance: IChannelFactory
Afficher le fichier Open project: pardahlman/RawRabbit Class Usage Examples

Méthodes publiques

Méthode Description
ChannelFactory ( IConnectionFactory connectionFactory, RawRabbitConfiguration config, ChannelFactoryConfiguration channelConfig ) : System
CreateChannel ( IConnection connection = null ) : IModel
CreateChannelAsync ( IConnection connection = null ) : Task
Dispose ( ) : void
GetChannel ( ) : IModel
GetChannelAsync ( ) : Task

Méthodes protégées

Méthode Description
ConnectToBroker ( ) : void
SetupConnectionRecovery ( IConnection connection = null ) : void

Private Methods

Méthode Description
AdjustChannelCount ( int channelCount, int requestCount ) : void
CreateAndWireupAsync ( ) : Task
EnsureRequestsAreHandled ( ) : void
GetConnectionAsync ( ) : Task
Initialize ( ) : void

Method Details

ChannelFactory() public méthode

public ChannelFactory ( IConnectionFactory connectionFactory, RawRabbitConfiguration config, ChannelFactoryConfiguration channelConfig ) : System
connectionFactory IConnectionFactory
config RawRabbit.Configuration.RawRabbitConfiguration
channelConfig ChannelFactoryConfiguration
Résultat System

ConnectToBroker() protected méthode

protected ConnectToBroker ( ) : void
Résultat void

CreateChannel() public méthode

public CreateChannel ( IConnection connection = null ) : IModel
connection IConnection
Résultat IModel

CreateChannelAsync() public méthode

public CreateChannelAsync ( IConnection connection = null ) : Task
connection IConnection
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetChannel() public méthode

public GetChannel ( ) : IModel
Résultat IModel

GetChannelAsync() public méthode

public GetChannelAsync ( ) : Task
Résultat Task

SetupConnectionRecovery() protected méthode

protected SetupConnectionRecovery ( IConnection connection = null ) : void
connection IConnection
Résultat void