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
Exibir arquivo Open project: ThorTech/apache-nms Class Usage Examples

Protected Properties

Property Type Description
connectionStates ConnectionState>.Dictionary

Public Methods

Method 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

Protected Methods

Method 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

Method Description
DoRestoreTransactions ( ITransport transport, ConnectionState connectionState ) : void

Method Details

ConnectionInterruptProcessingComplete() public method

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

DoRestore() public method

public DoRestore ( ITransport transport ) : void
transport ITransport
return void

DoRestoreConsumers() protected method

protected DoRestoreConsumers ( ITransport transport, SessionState sessionState ) : void
transport ITransport
sessionState SessionState
return void

DoRestoreProducers() protected method

protected DoRestoreProducers ( ITransport transport, SessionState sessionState ) : void
transport ITransport
sessionState SessionState
return void

DoRestoreSessions() protected method

protected DoRestoreSessions ( ITransport transport, ConnectionState connectionState ) : void
transport ITransport
connectionState ConnectionState
return void

DoRestoreTempDestinations() protected method

protected DoRestoreTempDestinations ( ITransport transport, ConnectionState connectionState ) : void
transport ITransport
connectionState ConnectionState
return void

RemoveEldestInCache() protected method

protected RemoveEldestInCache ( ) : void
return void

Track() public method

public Track ( Command command ) : Tracked
command Command
return Tracked

TrackBack() public method

public TrackBack ( Command command ) : void
command Command
return void

TransportInterrupted() public method

public TransportInterrupted ( ConnectionId id ) : void
id Apache.NMS.ActiveMQ.Commands.ConnectionId
return void

processAddConnection() public method

public processAddConnection ( ConnectionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.ConnectionInfo
return Apache.NMS.ActiveMQ.Commands.Response

processAddConsumer() public method

public processAddConsumer ( ConsumerInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.ConsumerInfo
return Apache.NMS.ActiveMQ.Commands.Response

processAddDestination() public method

public processAddDestination ( DestinationInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.DestinationInfo
return Apache.NMS.ActiveMQ.Commands.Response

processAddProducer() public method

public processAddProducer ( ProducerInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.ProducerInfo
return Apache.NMS.ActiveMQ.Commands.Response

processAddSession() public method

public processAddSession ( SessionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.SessionInfo
return Apache.NMS.ActiveMQ.Commands.Response

processBeginTransaction() public method

public processBeginTransaction ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
return Apache.NMS.ActiveMQ.Commands.Response

processCommitTransactionOnePhase() public method

public processCommitTransactionOnePhase ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
return Apache.NMS.ActiveMQ.Commands.Response

processCommitTransactionTwoPhase() public method

public processCommitTransactionTwoPhase ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
return Apache.NMS.ActiveMQ.Commands.Response

processEndTransaction() public method

public processEndTransaction ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
return Apache.NMS.ActiveMQ.Commands.Response

processMessage() public method

public processMessage ( Message send ) : Response
send Apache.NMS.ActiveMQ.Commands.Message
return Apache.NMS.ActiveMQ.Commands.Response

processMessageAck() public method

public processMessageAck ( MessageAck ack ) : Response
ack Apache.NMS.ActiveMQ.Commands.MessageAck
return Apache.NMS.ActiveMQ.Commands.Response

processPrepareTransaction() public method

public processPrepareTransaction ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
return Apache.NMS.ActiveMQ.Commands.Response

processRemoveConnection() public method

public processRemoveConnection ( ConnectionId id ) : Response
id Apache.NMS.ActiveMQ.Commands.ConnectionId
return Apache.NMS.ActiveMQ.Commands.Response

processRemoveConsumer() public method

public processRemoveConsumer ( ConsumerId id ) : Response
id Apache.NMS.ActiveMQ.Commands.ConsumerId
return Apache.NMS.ActiveMQ.Commands.Response

processRemoveDestination() public method

public processRemoveDestination ( DestinationInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.DestinationInfo
return Apache.NMS.ActiveMQ.Commands.Response

processRemoveProducer() public method

public processRemoveProducer ( ProducerId id ) : Response
id Apache.NMS.ActiveMQ.Commands.ProducerId
return Apache.NMS.ActiveMQ.Commands.Response

processRemoveSession() public method

public processRemoveSession ( SessionId id ) : Response
id Apache.NMS.ActiveMQ.Commands.SessionId
return Apache.NMS.ActiveMQ.Commands.Response

processRollbackTransaction() public method

public processRollbackTransaction ( TransactionInfo info ) : Response
info Apache.NMS.ActiveMQ.Commands.TransactionInfo
return Apache.NMS.ActiveMQ.Commands.Response

Property Details

connectionStates protected_oe property

protected Dictionary connectionStates
return ConnectionState>.Dictionary