org.apache.activemq.state
Class SessionState

java.lang.Object
  extended by org.apache.activemq.state.SessionState

public class SessionState
extends java.lang.Object


Constructor Summary
SessionState(SessionInfo info)
           
 
Method Summary
 void addConsumer(ConsumerInfo info)
           
 void addProducer(ProducerInfo info)
           
 java.util.Set<ConsumerId> getConsumerIds()
           
 ConsumerState getConsumerState(ConsumerId consumerId)
           
 java.util.Collection<ConsumerState> getConsumerStates()
           
 SessionInfo getInfo()
           
 java.util.Set<ProducerId> getProducerIds()
           
 ProducerState getProducerState(ProducerId producerId)
           
 java.util.Collection<ProducerState> getProducerStates()
           
 ConsumerState removeConsumer(ConsumerId id)
           
 ProducerState removeProducer(ProducerId id)
           
 void shutdown()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionState

public SessionState(SessionInfo info)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addProducer

public void addProducer(ProducerInfo info)

removeProducer

public ProducerState removeProducer(ProducerId id)

addConsumer

public void addConsumer(ConsumerInfo info)

removeConsumer

public ConsumerState removeConsumer(ConsumerId id)

getInfo

public SessionInfo getInfo()

getConsumerIds

public java.util.Set<ConsumerId> getConsumerIds()

getProducerIds

public java.util.Set<ProducerId> getProducerIds()

getProducerStates

public java.util.Collection<ProducerState> getProducerStates()

getProducerState

public ProducerState getProducerState(ProducerId producerId)

getConsumerStates

public java.util.Collection<ConsumerState> getConsumerStates()

getConsumerState

public ConsumerState getConsumerState(ConsumerId consumerId)

shutdown

public void shutdown()


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.