Table of Contents

Class SessionState

Namespace
Apache.NMS.ActiveMQ.State
Assembly
Apache.NMS.ActiveMQ.dll
public class SessionState
Inheritance
SessionState
Inherited Members

Constructors

SessionState(SessionInfo)

public SessionState(SessionInfo info)

Parameters

info SessionInfo

Properties

ConsumerIds

public AtomicCollection<ConsumerId> ConsumerIds { get; }

Property Value

AtomicCollection<ConsumerId>

ConsumerStates

public AtomicCollection<ConsumerState> ConsumerStates { get; }

Property Value

AtomicCollection<ConsumerState>

Info

public SessionInfo Info { get; }

Property Value

SessionInfo

this[ConsumerId]

public ConsumerState this[ConsumerId consumerId] { get; }

Parameters

consumerId ConsumerId

Property Value

ConsumerState

this[ProducerId]

public ProducerState this[ProducerId producerId] { get; }

Parameters

producerId ProducerId

Property Value

ProducerState

ProducerIds

public AtomicCollection<ProducerId> ProducerIds { get; }

Property Value

AtomicCollection<ProducerId>

ProducerStates

public AtomicCollection<ProducerState> ProducerStates { get; }

Property Value

AtomicCollection<ProducerState>

Methods

AddConsumer(ConsumerInfo)

public void AddConsumer(ConsumerInfo info)

Parameters

info ConsumerInfo

AddProducer(ProducerInfo)

public void AddProducer(ProducerInfo info)

Parameters

info ProducerInfo

RemoveConsumer(ConsumerId)

public ConsumerState RemoveConsumer(ConsumerId id)

Parameters

id ConsumerId

Returns

ConsumerState

RemoveProducer(ProducerId)

public ProducerState RemoveProducer(ProducerId id)

Parameters

id ProducerId

Returns

ProducerState

Shutdown()

public void Shutdown()

ToString()

public override string ToString()

Returns

string

getConsumerState(ConsumerId)

public ConsumerState getConsumerState(ConsumerId consumerId)

Parameters

consumerId ConsumerId

Returns

ConsumerState

getProducerState(ProducerId)

public ProducerState getProducerState(ProducerId producerId)

Parameters

producerId ProducerId

Returns

ProducerState