Show / Hide Table of Contents

# Class ConnectionState

##### Inheritance

System.Object
ConnectionState

##### 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)

###### Namespace: Apache.NMS.ActiveMQ.State

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class ConnectionState

### Constructors

| Improve this Doc View Source

#### ConnectionState(ConnectionInfo)

##### Declaration

    public ConnectionState(ConnectionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
ConnectionInfo | info |

### Properties

| Improve this Doc View Source

#### ConnectionInterruptProcessingComplete

##### Declaration

    public bool ConnectionInterruptProcessingComplete { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### Info

##### Declaration

    public ConnectionInfo Info { get; }

##### Property Value

Type | Description
--- | ---
ConnectionInfo |

| Improve this Doc View Source

#### Item[SessionId]

##### Declaration

    public SessionState this[SessionId id] { get; }

##### Parameters

Type | Name | Description
--- | --- | ---
SessionId | id |

##### Property Value

Type | Description
--- | ---
SessionState |

| Improve this Doc View Source

#### Item[TransactionId]

##### Declaration

    public TransactionState this[TransactionId id] { get; }

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionId | id |

##### Property Value

Type | Description
--- | ---
TransactionState |

| Improve this Doc View Source

#### RecoveringPullConsumers

##### Declaration

    public Dictionary<ConsumerId, ConsumerInfo> RecoveringPullConsumers { get; }

##### Property Value

Type | Description
--- | ---
System.Collections.Generic.Dictionary<ConsumerId, ConsumerInfo> |

| Improve this Doc View Source

#### SessionIds

##### Declaration

    public AtomicCollection<SessionId> SessionIds { get; }

##### Property Value

Type | Description
--- | ---
AtomicCollection<SessionId> |

| Improve this Doc View Source

#### SessionStates

##### Declaration

    public AtomicCollection<SessionState> SessionStates { get; }

##### Property Value

Type | Description
--- | ---
AtomicCollection<SessionState> |

| Improve this Doc View Source

#### TempDestinations

##### Declaration

    public AtomicCollection<DestinationInfo> TempDestinations { get; }

##### Property Value

Type | Description
--- | ---
AtomicCollection<DestinationInfo> |

| Improve this Doc View Source

#### TransactionStates

##### Declaration

    public AtomicCollection<TransactionState> TransactionStates { get; }

##### Property Value

Type | Description
--- | ---
AtomicCollection<TransactionState> |

### Methods

| Improve this Doc View Source

#### AddSession(SessionInfo)

##### Declaration

    public void AddSession(SessionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
SessionInfo | info |

| Improve this Doc View Source

#### AddTempDestination(DestinationInfo)

##### Declaration

    public void AddTempDestination(DestinationInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
DestinationInfo | info |

| Improve this Doc View Source

#### AddTransactionState(TransactionId)

##### Declaration

    public void AddTransactionState(TransactionId id)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionId | id |

| Improve this Doc View Source

#### RemoveSession(SessionId)

##### Declaration

    public SessionState RemoveSession(SessionId id)

##### Parameters

Type | Name | Description
--- | --- | ---
SessionId | id |

##### Returns

Type | Description
--- | ---
SessionState |

| Improve this Doc View Source

#### RemoveTempDestination(IDestination)

##### Declaration

    public void RemoveTempDestination(IDestination destination)

##### Parameters

Type | Name | Description
--- | --- | ---
Apache.NMS.IDestination | destination |

| Improve this Doc View Source

#### RemoveTransactionState(TransactionId)

##### Declaration

    public TransactionState RemoveTransactionState(TransactionId id)

##### Parameters

Type | Name | Description
--- | --- | ---
TransactionId | id |

##### Returns

Type | Description
--- | ---
TransactionState |

| Improve this Doc View Source

#### Reset(ConnectionInfo)

##### Declaration

    public void Reset(ConnectionInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
ConnectionInfo | info |

| Improve this Doc View Source

#### Shutdown()

##### Declaration

    public void Shutdown()

| Improve this Doc View Source

#### ToString()

##### Declaration

    public override string ToString()

##### Returns

Type | Description
--- | ---
System.String |

##### Overrides

System.Object.ToString()