C# Class Apache.NMS.ActiveMQ.State.ConnectionStateTracker

Tracks the state of a connection so a newly established transport can be re-initialized to the state that was tracked.
Inheritance: CommandVisitorAdapter
Afficher le fichier Open project: ThorTech/apache-nms Class Usage Examples

Protected Properties

Свойство Type Description
connectionStates ConnectionState>.Dictionary

Méthodes publiques

Méthode Description
ConnectionInterruptProcessingComplete ( ITransport transport, ConnectionId connectionId ) : void
DoRestore ( ITransport transport ) : void
Track ( Command command ) : Tracked

TrackBack ( Command command ) : void
TransportInterrupted ( ConnectionId id ) : void
processAddConnection ( ConnectionInfo info ) : Response
processAddConsumer ( ConsumerInfo info ) : Response
processAddDestination ( DestinationInfo info ) : Response
processAddProducer ( ProducerInfo info ) : Response
processAddSession ( SessionInfo info ) : Response
processBeginTransaction ( TransactionInfo info ) : Response
processCommitTransactionOnePhase ( TransactionInfo info ) : Response
processCommitTransactionTwoPhase ( TransactionInfo info ) : Response
processEndTransaction ( TransactionInfo info ) : Response
processMessage ( Message send ) : Response
processMessageAck ( MessageAck ack ) : Response
processPrepareTransaction ( TransactionInfo info ) : Response
processRemoveConnection ( ConnectionId id ) : Response
processRemoveConsumer ( ConsumerId id ) : Response
processRemoveDestination ( DestinationInfo info ) : Response
processRemoveProducer ( ProducerId id ) : Response
processRemoveSession ( SessionId id ) : Response
processRollbackTransaction ( TransactionInfo info ) : Response

Méthodes protégées

Méthode Description
DoRestoreConsumers ( ITransport transport, SessionState sessionState ) : void

DoRestoreProducers ( ITransport transport, SessionState sessionState ) : void

DoRestoreSessions ( ITransport transport, ConnectionState connectionState ) : void

DoRestoreTempDestinations ( ITransport transport, ConnectionState connectionState ) : void

RemoveEldestInCache ( ) : void

Private Methods

Méthode Description
DoRestoreTransactions ( ITransport transport, ConnectionState connectionState ) : void

Method Details

ConnectionInterruptProcessingComplete() public méthode

public ConnectionInterruptProcessingComplete ( ITransport transport, ConnectionId connectionId ) : void
transport ITransport
connectionId Apache.NMS.ActiveMQ.Commands.ConnectionId
Résultat void

DoRestore() public méthode

public DoRestore ( ITransport transport ) : void
transport ITransport
Résultat void

DoRestoreConsumers() protected méthode

protected DoRestoreConsumers ( ITransport transport, SessionState sessionState ) : void
transport ITransport
sessionState SessionState
Résultat void

DoRestoreProducers() protected méthode

protected DoRestoreProducers ( ITransport transport, SessionState sessionState ) : void
transport ITransport
sessionState SessionState
Résultat void

DoRestoreSessions() protected méthode

protected DoRestoreSessions ( ITransport transport, ConnectionState connectionState ) : void
transport ITransport
connectionState ConnectionState
Résultat void

DoRestoreTempDestinations() protected méthode

protected DoRestoreTempDestinations ( ITransport transport, ConnectionState connectionState ) : void
transport ITransport
connectionState ConnectionState
Résultat void

RemoveEldestInCache() protected méthode

protected RemoveEldestInCache ( ) : void
Résultat void

Track() public méthode

public Track ( Command command ) : Tracked
command Command
Résultat Tracked

TrackBack() public méthode

public TrackBack ( Command command ) : void
command Command
Résultat void

TransportInterrupted() public méthode

public TransportInterrupted ( ConnectionId id ) : void
id Apache.NMS.ActiveMQ.Commands.ConnectionId
Résultat void

processAddConnection() public méthode

public processAddConnection ( ConnectionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.ConnectionInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processAddConsumer() public méthode

public processAddConsumer ( ConsumerInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.ConsumerInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processAddDestination() public méthode

public processAddDestination ( DestinationInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.DestinationInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processAddProducer() public méthode

public processAddProducer ( ProducerInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.ProducerInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processAddSession() public méthode

public processAddSession ( SessionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.SessionInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processBeginTransaction() public méthode

public processBeginTransaction ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processCommitTransactionOnePhase() public méthode

public processCommitTransactionOnePhase ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processCommitTransactionTwoPhase() public méthode

public processCommitTransactionTwoPhase ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processEndTransaction() public méthode

public processEndTransaction ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processMessage() public méthode

public processMessage ( Message send ) : Response
send Apache.NMS.ActiveMQ.Commands.Message
Résultat Apache.NMS.ActiveMQ.Commands.Response

processMessageAck() public méthode

public processMessageAck ( MessageAck ack ) : Response
ack Apache.NMS.ActiveMQ.Commands.MessageAck
Résultat Apache.NMS.ActiveMQ.Commands.Response

processPrepareTransaction() public méthode

public processPrepareTransaction ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processRemoveConnection() public méthode

public processRemoveConnection ( ConnectionId id ) : Response
id Apache.NMS.ActiveMQ.Commands.ConnectionId
Résultat Apache.NMS.ActiveMQ.Commands.Response

processRemoveConsumer() public méthode

public processRemoveConsumer ( ConsumerId id ) : Response
id Apache.NMS.ActiveMQ.Commands.ConsumerId
Résultat Apache.NMS.ActiveMQ.Commands.Response

processRemoveDestination() public méthode

public processRemoveDestination ( DestinationInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.DestinationInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

processRemoveProducer() public méthode

public processRemoveProducer ( ProducerId id ) : Response
id Apache.NMS.ActiveMQ.Commands.ProducerId
Résultat Apache.NMS.ActiveMQ.Commands.Response

processRemoveSession() public méthode

public processRemoveSession ( SessionId id ) : Response
id Apache.NMS.ActiveMQ.Commands.SessionId
Résultat Apache.NMS.ActiveMQ.Commands.Response

processRollbackTransaction() public méthode

public processRollbackTransaction ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
Résultat Apache.NMS.ActiveMQ.Commands.Response

Property Details

connectionStates protected_oe property

protected Dictionary connectionStates
Résultat ConnectionState>.Dictionary