C# Класс RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

Наследование: IConnection, IRecoverable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
m_eventLock object
m_recordedEntitiesLock object
manuallyClosedLock object

Защищенные свойства (Protected)

Свойство Тип Описание
m_delegate Connection
m_factory ConnectionFactory
m_models List
m_recordedBindings byte>.IDictionary
m_recordedBlockedEventHandlers List>
m_recordedConsumers RecordedConsumer>.IDictionary
m_recordedExchanges RecordedExchange>.IDictionary
m_recordedQueues RecordedQueue>.IDictionary
m_recordedShutdownEventHandlers List>
m_recordedUnblockedEventHandlers List>
manuallyClosed bool
performingRecovery bool
recoveryLockTarget object
recoveryTaskFactory TaskFactory

Private Properties

Свойство Тип Описание
IDisposable void
Init void

Открытые методы

Метод Описание
Abort ( ) : void

API-side invocation of connection abort.

Abort ( int timeout ) : void

API-side invocation of connection abort with timeout.

Abort ( ushort reasonCode, string reasonText ) : void

API-side invocation of connection abort.

Abort ( ushort reasonCode, string reasonText, int timeout ) : void

API-side invocation of connection abort with timeout.

AutorecoveringConnection ( ConnectionFactory factory, string clientProvidedName = null ) : System
BeginAutomaticRecovery ( ) : void
Close ( ) : void

API-side invocation of connection.close.

Close ( ShutdownEventArgs reason ) : void
Close ( int timeout ) : void

API-side invocation of connection.close with timeout.

Close ( ushort reasonCode, string reasonText ) : void

API-side invocation of connection.close.

Close ( ushort reasonCode, string reasonText, int timeout ) : void

API-side invocation of connection.close with timeout.

CreateModel ( ) : IModel
CreateNonRecoveringModel ( ) : RecoveryAwareModel
DeleteRecordedBinding ( RabbitMQ.Client.Impl.RecordedBinding rb ) : void
DeleteRecordedConsumer ( string consumerTag ) : RecordedConsumer
DeleteRecordedExchange ( string name ) : void
DeleteRecordedQueue ( string name ) : void
HandleConnectionBlocked ( string reason ) : void
HandleConnectionUnblocked ( ) : void
HasMoreConsumersOnQueue ( ICollection consumers, string queue ) : bool
HasMoreDestinationsBoundToExchange ( ICollection bindings, string exchange ) : bool
Init ( ) : void
Init ( IEndpointResolver endpoints ) : void
MaybeDeleteRecordedAutoDeleteExchange ( string exchange ) : void
MaybeDeleteRecordedAutoDeleteQueue ( string queue ) : void
RecordBinding ( RabbitMQ.Client.Impl.RecordedBinding rb ) : void
RecordConsumer ( string name, RecordedConsumer c ) : void
RecordExchange ( string name, RabbitMQ.Client.Impl.RecordedExchange x ) : void
RecordQueue ( string name, RabbitMQ.Client.Impl.RecordedQueue q ) : void
ToString ( ) : string
UnregisterModel ( AutorecoveringModel model ) : void

Защищенные методы

Метод Описание
EnsureIsOpen ( ) : void
HandleTopologyRecoveryException ( TopologyRecoveryException e ) : void
PerformAutomaticRecovery ( ) : void
PropagateQueueNameChangeToBindings ( string oldName, string newName ) : void
PropagateQueueNameChangeToConsumers ( string oldName, string newName ) : void
RecoverBindings ( ) : void
RecoverConnectionBlockedHandlers ( ) : void
RecoverConnectionDelegate ( ) : bool
RecoverConnectionShutdownHandlers ( ) : void
RecoverConnectionUnblockedHandlers ( ) : void
RecoverConsumers ( ) : void
RecoverEntities ( ) : void
RecoverExchanges ( ) : void
RecoverModels ( ) : void
RecoverQueues ( ) : void
RunRecoveryEventHandlers ( ) : void
ShouldTriggerConnectionRecovery ( ShutdownEventArgs args ) : bool

Приватные методы

Метод Описание
IDisposable ( ) : void
Init ( IFrameHandler fh ) : void

Описание методов

Abort() публичный Метод

API-side invocation of connection abort.
public Abort ( ) : void
Результат void

Abort() публичный Метод

API-side invocation of connection abort with timeout.
public Abort ( int timeout ) : void
timeout int
Результат void

Abort() публичный Метод

API-side invocation of connection abort.
public Abort ( ushort reasonCode, string reasonText ) : void
reasonCode ushort
reasonText string
Результат void

Abort() публичный Метод

API-side invocation of connection abort with timeout.
public Abort ( ushort reasonCode, string reasonText, int timeout ) : void
reasonCode ushort
reasonText string
timeout int
Результат void

AutorecoveringConnection() публичный Метод

public AutorecoveringConnection ( ConnectionFactory factory, string clientProvidedName = null ) : System
factory ConnectionFactory
clientProvidedName string
Результат System

BeginAutomaticRecovery() публичный Метод

public BeginAutomaticRecovery ( ) : void
Результат void

Close() публичный Метод

API-side invocation of connection.close.
public Close ( ) : void
Результат void

Close() публичный Метод

public Close ( ShutdownEventArgs reason ) : void
reason ShutdownEventArgs
Результат void

Close() публичный Метод

API-side invocation of connection.close with timeout.
public Close ( int timeout ) : void
timeout int
Результат void

Close() публичный Метод

API-side invocation of connection.close.
public Close ( ushort reasonCode, string reasonText ) : void
reasonCode ushort
reasonText string
Результат void

Close() публичный Метод

API-side invocation of connection.close with timeout.
public Close ( ushort reasonCode, string reasonText, int timeout ) : void
reasonCode ushort
reasonText string
timeout int
Результат void

CreateModel() публичный Метод

public CreateModel ( ) : IModel
Результат IModel

CreateNonRecoveringModel() публичный Метод

public CreateNonRecoveringModel ( ) : RecoveryAwareModel
Результат RabbitMQ.Client.Impl.RecoveryAwareModel

DeleteRecordedBinding() публичный Метод

public DeleteRecordedBinding ( RabbitMQ.Client.Impl.RecordedBinding rb ) : void
rb RabbitMQ.Client.Impl.RecordedBinding
Результат void

DeleteRecordedConsumer() публичный Метод

public DeleteRecordedConsumer ( string consumerTag ) : RecordedConsumer
consumerTag string
Результат RabbitMQ.Client.Impl.RecordedConsumer

DeleteRecordedExchange() публичный Метод

public DeleteRecordedExchange ( string name ) : void
name string
Результат void

DeleteRecordedQueue() публичный Метод

public DeleteRecordedQueue ( string name ) : void
name string
Результат void

EnsureIsOpen() защищенный Метод

protected EnsureIsOpen ( ) : void
Результат void

HandleConnectionBlocked() публичный Метод

public HandleConnectionBlocked ( string reason ) : void
reason string
Результат void

HandleConnectionUnblocked() публичный Метод

public HandleConnectionUnblocked ( ) : void
Результат void

HandleTopologyRecoveryException() защищенный Метод

protected HandleTopologyRecoveryException ( TopologyRecoveryException e ) : void
e TopologyRecoveryException
Результат void

HasMoreConsumersOnQueue() публичный Метод

public HasMoreConsumersOnQueue ( ICollection consumers, string queue ) : bool
consumers ICollection
queue string
Результат bool

HasMoreDestinationsBoundToExchange() публичный Метод

public HasMoreDestinationsBoundToExchange ( ICollection bindings, string exchange ) : bool
bindings ICollection
exchange string
Результат bool

Init() публичный Метод

public Init ( ) : void
Результат void

Init() публичный Метод

public Init ( IEndpointResolver endpoints ) : void
endpoints IEndpointResolver
Результат void

MaybeDeleteRecordedAutoDeleteExchange() публичный Метод

public MaybeDeleteRecordedAutoDeleteExchange ( string exchange ) : void
exchange string
Результат void

MaybeDeleteRecordedAutoDeleteQueue() публичный Метод

public MaybeDeleteRecordedAutoDeleteQueue ( string queue ) : void
queue string
Результат void

PerformAutomaticRecovery() защищенный Метод

protected PerformAutomaticRecovery ( ) : void
Результат void

PropagateQueueNameChangeToBindings() защищенный Метод

protected PropagateQueueNameChangeToBindings ( string oldName, string newName ) : void
oldName string
newName string
Результат void

PropagateQueueNameChangeToConsumers() защищенный Метод

protected PropagateQueueNameChangeToConsumers ( string oldName, string newName ) : void
oldName string
newName string
Результат void

RecordBinding() публичный Метод

public RecordBinding ( RabbitMQ.Client.Impl.RecordedBinding rb ) : void
rb RabbitMQ.Client.Impl.RecordedBinding
Результат void

RecordConsumer() публичный Метод

public RecordConsumer ( string name, RecordedConsumer c ) : void
name string
c RabbitMQ.Client.Impl.RecordedConsumer
Результат void

RecordExchange() публичный Метод

public RecordExchange ( string name, RabbitMQ.Client.Impl.RecordedExchange x ) : void
name string
x RabbitMQ.Client.Impl.RecordedExchange
Результат void

RecordQueue() публичный Метод

public RecordQueue ( string name, RabbitMQ.Client.Impl.RecordedQueue q ) : void
name string
q RabbitMQ.Client.Impl.RecordedQueue
Результат void

RecoverBindings() защищенный Метод

protected RecoverBindings ( ) : void
Результат void

RecoverConnectionBlockedHandlers() защищенный Метод

protected RecoverConnectionBlockedHandlers ( ) : void
Результат void

RecoverConnectionDelegate() защищенный Метод

protected RecoverConnectionDelegate ( ) : bool
Результат bool

RecoverConnectionShutdownHandlers() защищенный Метод

protected RecoverConnectionShutdownHandlers ( ) : void
Результат void

RecoverConnectionUnblockedHandlers() защищенный Метод

protected RecoverConnectionUnblockedHandlers ( ) : void
Результат void

RecoverConsumers() защищенный Метод

protected RecoverConsumers ( ) : void
Результат void

RecoverEntities() защищенный Метод

protected RecoverEntities ( ) : void
Результат void

RecoverExchanges() защищенный Метод

protected RecoverExchanges ( ) : void
Результат void

RecoverModels() защищенный Метод

protected RecoverModels ( ) : void
Результат void

RecoverQueues() защищенный Метод

protected RecoverQueues ( ) : void
Результат void

RunRecoveryEventHandlers() защищенный Метод

protected RunRecoveryEventHandlers ( ) : void
Результат void

ShouldTriggerConnectionRecovery() защищенный Метод

protected ShouldTriggerConnectionRecovery ( ShutdownEventArgs args ) : bool
args ShutdownEventArgs
Результат bool

ToString() публичный Метод

public ToString ( ) : string
Результат string

UnregisterModel() публичный Метод

public UnregisterModel ( AutorecoveringModel model ) : void
model AutorecoveringModel
Результат void

Описание свойств

m_delegate защищенное свойство

protected Connection m_delegate
Результат Connection

m_eventLock публичное свойство

public object m_eventLock
Результат object

m_factory защищенное свойство

protected ConnectionFactory m_factory
Результат ConnectionFactory

m_models защищенное свойство

protected List m_models
Результат List

m_recordedBindings защищенное свойство

protected IDictionary m_recordedBindings
Результат byte>.IDictionary

m_recordedBlockedEventHandlers защищенное свойство

protected List> m_recordedBlockedEventHandlers
Результат List>

m_recordedConsumers защищенное свойство

protected IDictionary m_recordedConsumers
Результат RecordedConsumer>.IDictionary

m_recordedEntitiesLock публичное свойство

public object m_recordedEntitiesLock
Результат object

m_recordedExchanges защищенное свойство

protected IDictionary m_recordedExchanges
Результат RecordedExchange>.IDictionary

m_recordedQueues защищенное свойство

protected IDictionary m_recordedQueues
Результат RecordedQueue>.IDictionary

m_recordedShutdownEventHandlers защищенное свойство

protected List> m_recordedShutdownEventHandlers
Результат List>

m_recordedUnblockedEventHandlers защищенное свойство

protected List> m_recordedUnblockedEventHandlers
Результат List>

manuallyClosed защищенное свойство

protected bool manuallyClosed
Результат bool

manuallyClosedLock публичное свойство

public object manuallyClosedLock
Результат object

performingRecovery защищенное свойство

protected bool performingRecovery
Результат bool

recoveryLockTarget защищенное свойство

protected object recoveryLockTarget
Результат object

recoveryTaskFactory защищенное свойство

protected TaskFactory recoveryTaskFactory
Результат TaskFactory