Class ConnectionStateTracker
Tracks the state of a connection so a newly established transport can be
re-initialized to the state that was tracked.
Inheritance
System.Object
ConnectionStateTracker
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
public class ConnectionStateTracker : CommandVisitorAdapter, ICommandVisitor
Fields
|
Improve this Doc
View Source
connectionStates
Declaration
protected readonly Dictionary<ConnectionId, ConnectionState> connectionStates
Field Value
Properties
|
Improve this Doc
View Source
MaxCacheSize
Declaration
public int MaxCacheSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RestoreConsumers
Declaration
public bool RestoreConsumers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RestoreProducers
Declaration
public bool RestoreProducers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RestoreSessions
Declaration
public bool RestoreSessions { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RestoreTransaction
Declaration
public bool RestoreTransaction { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TrackMessages
Declaration
public bool TrackMessages { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TrackTransactionProducers
Declaration
public bool TrackTransactionProducers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TrackTransactions
Declaration
public bool TrackTransactions { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
ConnectionInterruptProcessingComplete(ITransport, ConnectionId)
Declaration
public void ConnectionInterruptProcessingComplete(ITransport transport, ConnectionId connectionId)
Parameters
|
Improve this Doc
View Source
DoRestore(ITransport)
Declaration
public void DoRestore(ITransport transport)
Parameters
|
Improve this Doc
View Source
DoRestoreConsumers(ITransport, SessionState)
Declaration
protected void DoRestoreConsumers(ITransport transport, SessionState sessionState)
Parameters
|
Improve this Doc
View Source
DoRestoreProducers(ITransport, SessionState)
Declaration
protected void DoRestoreProducers(ITransport transport, SessionState sessionState)
Parameters
|
Improve this Doc
View Source
DoRestoreSessions(ITransport, ConnectionState)
Declaration
protected void DoRestoreSessions(ITransport transport, ConnectionState connectionState)
Parameters
|
Improve this Doc
View Source
DoRestoreTempDestinations(ITransport, ConnectionState)
Declaration
protected void DoRestoreTempDestinations(ITransport transport, ConnectionState connectionState)
Parameters
|
Improve this Doc
View Source
ProcessAddConnection(ConnectionInfo)
Declaration
public override Response ProcessAddConnection(ConnectionInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessAddConsumer(ConsumerInfo)
Declaration
public override Response ProcessAddConsumer(ConsumerInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessAddDestination(DestinationInfo)
Declaration
public override Response ProcessAddDestination(DestinationInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessAddProducer(ProducerInfo)
Declaration
public override Response ProcessAddProducer(ProducerInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessAddSession(SessionInfo)
Declaration
public override Response ProcessAddSession(SessionInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessBeginTransaction(TransactionInfo)
Declaration
public override Response ProcessBeginTransaction(TransactionInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessCommitTransactionOnePhase(TransactionInfo)
Declaration
public override Response ProcessCommitTransactionOnePhase(TransactionInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessCommitTransactionTwoPhase(TransactionInfo)
Declaration
public override Response ProcessCommitTransactionTwoPhase(TransactionInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessEndTransaction(TransactionInfo)
Declaration
public override Response ProcessEndTransaction(TransactionInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessMessage(Message)
Declaration
public override Response ProcessMessage(Message send)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessMessageAck(MessageAck)
Declaration
public override Response ProcessMessageAck(MessageAck ack)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessMessagePull(MessagePull)
Declaration
public override Response ProcessMessagePull(MessagePull pull)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessPrepareTransaction(TransactionInfo)
Declaration
public override Response ProcessPrepareTransaction(TransactionInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessRemoveConnection(ConnectionId)
Declaration
public override Response ProcessRemoveConnection(ConnectionId id)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessRemoveConsumer(ConsumerId)
Declaration
public override Response ProcessRemoveConsumer(ConsumerId id)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessRemoveDestination(DestinationInfo)
Declaration
public override Response ProcessRemoveDestination(DestinationInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessRemoveProducer(ProducerId)
Declaration
public override Response ProcessRemoveProducer(ProducerId id)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessRemoveSession(SessionId)
Declaration
public override Response ProcessRemoveSession(SessionId id)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ProcessRollbackTransaction(TransactionInfo)
Declaration
public override Response ProcessRollbackTransaction(TransactionInfo info)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Track(Command)
Declaration
public Tracked Track(Command command)
Parameters
Type |
Name |
Description |
Command |
command |
|
Returns
Type |
Description |
Tracked |
null if the command is not state tracked.
|
|
Improve this Doc
View Source
TrackBack(Command)
Declaration
public void TrackBack(Command command)
Parameters
Type |
Name |
Description |
Command |
command |
|
|
Improve this Doc
View Source
TransportInterrupted(ConnectionId)
Declaration
public void TransportInterrupted(ConnectionId id)
Parameters
Implements