C# Class RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

Inheritance: IConnection, IRecoverable
Afficher le fichier Open project: rabbitmq/rabbitmq-dotnet-client Class Usage Examples

Méthodes publiques

Свойство Type Description
m_eventLock object
m_recordedEntitiesLock object
manuallyClosedLock object

Protected Properties

Свойство Type Description
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

Свойство Type Description
IDisposable void
Init void

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
IDisposable ( ) : void
Init ( IFrameHandler fh ) : void

Method Details

Abort() public méthode

API-side invocation of connection abort.
public Abort ( ) : void
Résultat void

Abort() public méthode

API-side invocation of connection abort with timeout.
public Abort ( int timeout ) : void
timeout int
Résultat void

Abort() public méthode

API-side invocation of connection abort.
public Abort ( ushort reasonCode, string reasonText ) : void
reasonCode ushort
reasonText string
Résultat void

Abort() public méthode

API-side invocation of connection abort with timeout.
public Abort ( ushort reasonCode, string reasonText, int timeout ) : void
reasonCode ushort
reasonText string
timeout int
Résultat void

AutorecoveringConnection() public méthode

public AutorecoveringConnection ( ConnectionFactory factory, string clientProvidedName = null ) : System
factory ConnectionFactory
clientProvidedName string
Résultat System

BeginAutomaticRecovery() public méthode

public BeginAutomaticRecovery ( ) : void
Résultat void

Close() public méthode

API-side invocation of connection.close.
public Close ( ) : void
Résultat void

Close() public méthode

public Close ( ShutdownEventArgs reason ) : void
reason ShutdownEventArgs
Résultat void

Close() public méthode

API-side invocation of connection.close with timeout.
public Close ( int timeout ) : void
timeout int
Résultat void

Close() public méthode

API-side invocation of connection.close.
public Close ( ushort reasonCode, string reasonText ) : void
reasonCode ushort
reasonText string
Résultat void

Close() public méthode

API-side invocation of connection.close with timeout.
public Close ( ushort reasonCode, string reasonText, int timeout ) : void
reasonCode ushort
reasonText string
timeout int
Résultat void

CreateModel() public méthode

public CreateModel ( ) : IModel
Résultat IModel

CreateNonRecoveringModel() public méthode

public CreateNonRecoveringModel ( ) : RecoveryAwareModel
Résultat RabbitMQ.Client.Impl.RecoveryAwareModel

DeleteRecordedBinding() public méthode

public DeleteRecordedBinding ( RabbitMQ.Client.Impl.RecordedBinding rb ) : void
rb RabbitMQ.Client.Impl.RecordedBinding
Résultat void

DeleteRecordedConsumer() public méthode

public DeleteRecordedConsumer ( string consumerTag ) : RecordedConsumer
consumerTag string
Résultat RabbitMQ.Client.Impl.RecordedConsumer

DeleteRecordedExchange() public méthode

public DeleteRecordedExchange ( string name ) : void
name string
Résultat void

DeleteRecordedQueue() public méthode

public DeleteRecordedQueue ( string name ) : void
name string
Résultat void

EnsureIsOpen() protected méthode

protected EnsureIsOpen ( ) : void
Résultat void

HandleConnectionBlocked() public méthode

public HandleConnectionBlocked ( string reason ) : void
reason string
Résultat void

HandleConnectionUnblocked() public méthode

public HandleConnectionUnblocked ( ) : void
Résultat void

HandleTopologyRecoveryException() protected méthode

protected HandleTopologyRecoveryException ( TopologyRecoveryException e ) : void
e TopologyRecoveryException
Résultat void

HasMoreConsumersOnQueue() public méthode

public HasMoreConsumersOnQueue ( ICollection consumers, string queue ) : bool
consumers ICollection
queue string
Résultat bool

HasMoreDestinationsBoundToExchange() public méthode

public HasMoreDestinationsBoundToExchange ( ICollection bindings, string exchange ) : bool
bindings ICollection
exchange string
Résultat bool

Init() public méthode

public Init ( ) : void
Résultat void

Init() public méthode

public Init ( IEndpointResolver endpoints ) : void
endpoints IEndpointResolver
Résultat void

MaybeDeleteRecordedAutoDeleteExchange() public méthode

public MaybeDeleteRecordedAutoDeleteExchange ( string exchange ) : void
exchange string
Résultat void

MaybeDeleteRecordedAutoDeleteQueue() public méthode

public MaybeDeleteRecordedAutoDeleteQueue ( string queue ) : void
queue string
Résultat void

PerformAutomaticRecovery() protected méthode

protected PerformAutomaticRecovery ( ) : void
Résultat void

PropagateQueueNameChangeToBindings() protected méthode

protected PropagateQueueNameChangeToBindings ( string oldName, string newName ) : void
oldName string
newName string
Résultat void

PropagateQueueNameChangeToConsumers() protected méthode

protected PropagateQueueNameChangeToConsumers ( string oldName, string newName ) : void
oldName string
newName string
Résultat void

RecordBinding() public méthode

public RecordBinding ( RabbitMQ.Client.Impl.RecordedBinding rb ) : void
rb RabbitMQ.Client.Impl.RecordedBinding
Résultat void

RecordConsumer() public méthode

public RecordConsumer ( string name, RecordedConsumer c ) : void
name string
c RabbitMQ.Client.Impl.RecordedConsumer
Résultat void

RecordExchange() public méthode

public RecordExchange ( string name, RabbitMQ.Client.Impl.RecordedExchange x ) : void
name string
x RabbitMQ.Client.Impl.RecordedExchange
Résultat void

RecordQueue() public méthode

public RecordQueue ( string name, RabbitMQ.Client.Impl.RecordedQueue q ) : void
name string
q RabbitMQ.Client.Impl.RecordedQueue
Résultat void

RecoverBindings() protected méthode

protected RecoverBindings ( ) : void
Résultat void

RecoverConnectionBlockedHandlers() protected méthode

protected RecoverConnectionBlockedHandlers ( ) : void
Résultat void

RecoverConnectionDelegate() protected méthode

protected RecoverConnectionDelegate ( ) : bool
Résultat bool

RecoverConnectionShutdownHandlers() protected méthode

protected RecoverConnectionShutdownHandlers ( ) : void
Résultat void

RecoverConnectionUnblockedHandlers() protected méthode

protected RecoverConnectionUnblockedHandlers ( ) : void
Résultat void

RecoverConsumers() protected méthode

protected RecoverConsumers ( ) : void
Résultat void

RecoverEntities() protected méthode

protected RecoverEntities ( ) : void
Résultat void

RecoverExchanges() protected méthode

protected RecoverExchanges ( ) : void
Résultat void

RecoverModels() protected méthode

protected RecoverModels ( ) : void
Résultat void

RecoverQueues() protected méthode

protected RecoverQueues ( ) : void
Résultat void

RunRecoveryEventHandlers() protected méthode

protected RunRecoveryEventHandlers ( ) : void
Résultat void

ShouldTriggerConnectionRecovery() protected méthode

protected ShouldTriggerConnectionRecovery ( ShutdownEventArgs args ) : bool
args ShutdownEventArgs
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

UnregisterModel() public méthode

public UnregisterModel ( AutorecoveringModel model ) : void
model AutorecoveringModel
Résultat void

Property Details

m_delegate protected_oe property

protected Connection m_delegate
Résultat Connection

m_eventLock public_oe property

public object m_eventLock
Résultat object

m_factory protected_oe property

protected ConnectionFactory m_factory
Résultat ConnectionFactory

m_models protected_oe property

protected List m_models
Résultat List

m_recordedBindings protected_oe property

protected IDictionary m_recordedBindings
Résultat byte>.IDictionary

m_recordedBlockedEventHandlers protected_oe property

protected List> m_recordedBlockedEventHandlers
Résultat List>

m_recordedConsumers protected_oe property

protected IDictionary m_recordedConsumers
Résultat RecordedConsumer>.IDictionary

m_recordedEntitiesLock public_oe property

public object m_recordedEntitiesLock
Résultat object

m_recordedExchanges protected_oe property

protected IDictionary m_recordedExchanges
Résultat RecordedExchange>.IDictionary

m_recordedQueues protected_oe property

protected IDictionary m_recordedQueues
Résultat RecordedQueue>.IDictionary

m_recordedShutdownEventHandlers protected_oe property

protected List> m_recordedShutdownEventHandlers
Résultat List>

m_recordedUnblockedEventHandlers protected_oe property

protected List> m_recordedUnblockedEventHandlers
Résultat List>

manuallyClosed protected_oe property

protected bool manuallyClosed
Résultat bool

manuallyClosedLock public_oe property

public object manuallyClosedLock
Résultat object

performingRecovery protected_oe property

protected bool performingRecovery
Résultat bool

recoveryLockTarget protected_oe property

protected object recoveryLockTarget
Résultat object

recoveryTaskFactory protected_oe property

protected TaskFactory recoveryTaskFactory
Résultat TaskFactory