org.apache.activemq.state
Class SessionState

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

public class SessionState
extends Object


Constructor Summary
SessionState(SessionInfo info)
           
 
Method Summary
 void addConsumer(ConsumerInfo info)
           
 void addProducer(ProducerInfo info)
           
 Set<ConsumerId> getConsumerIds()
           
 ConsumerState getConsumerState(ConsumerId consumerId)
           
 Collection<ConsumerState> getConsumerStates()
           
 SessionInfo getInfo()
           
 Set<ProducerId> getProducerIds()
           
 ProducerState getProducerState(ProducerId producerId)
           
 Collection<ProducerState> getProducerStates()
           
 ConsumerState removeConsumer(ConsumerId id)
           
 ProducerState removeProducer(ProducerId id)
           
 void shutdown()
           
 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 String toString()
Overrides:
toString in class 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 Set<ConsumerId> getConsumerIds()

getProducerIds

public Set<ProducerId> getProducerIds()

getProducerStates

public Collection<ProducerState> getProducerStates()

getProducerState

public ProducerState getProducerState(ProducerId producerId)

getConsumerStates

public Collection<ConsumerState> getConsumerStates()

getConsumerState

public ConsumerState getConsumerState(ConsumerId consumerId)

shutdown

public void shutdown()


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.