org.apache.activemq.state
Class ConnectionState

java.lang.Object
  extended by org.apache.activemq.state.ConnectionState
Direct Known Subclasses:
TransportConnectionState

public class ConnectionState
extends Object


Constructor Summary
ConnectionState(ConnectionInfo info)
           
 
Method Summary
 void addSession(SessionInfo info)
           
 void addTempDestination(DestinationInfo info)
           
 void addTransactionState(TransactionId id)
           
 ConnectionInfo getInfo()
           
 Map<ConsumerId,ConsumerInfo> getRecoveringPullConsumers()
           
 Set<SessionId> getSessionIds()
           
 SessionState getSessionState(SessionId id)
           
 Collection<SessionState> getSessionStates()
           
 List<DestinationInfo> getTempDestinations()
           
 TransactionState getTransactionState(TransactionId id)
           
 Collection<TransactionState> getTransactionStates()
           
 boolean isConnectionInterruptProcessingComplete()
           
 SessionState removeSession(SessionId id)
           
 void removeTempDestination(ActiveMQDestination destination)
           
 TransactionState removeTransactionState(TransactionId id)
           
 void reset(ConnectionInfo info)
           
 void setConnectionInterruptProcessingComplete(boolean connectionInterruptProcessingComplete)
           
 void shutdown()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionState

public ConnectionState(ConnectionInfo info)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

reset

public void reset(ConnectionInfo info)

addTempDestination

public void addTempDestination(DestinationInfo info)

removeTempDestination

public void removeTempDestination(ActiveMQDestination destination)

addTransactionState

public void addTransactionState(TransactionId id)

getTransactionState

public TransactionState getTransactionState(TransactionId id)

getTransactionStates

public Collection<TransactionState> getTransactionStates()

removeTransactionState

public TransactionState removeTransactionState(TransactionId id)

addSession

public void addSession(SessionInfo info)

removeSession

public SessionState removeSession(SessionId id)

getSessionState

public SessionState getSessionState(SessionId id)

getInfo

public ConnectionInfo getInfo()

getSessionIds

public Set<SessionId> getSessionIds()

getTempDestinations

public List<DestinationInfo> getTempDestinations()

getSessionStates

public Collection<SessionState> getSessionStates()

shutdown

public void shutdown()

getRecoveringPullConsumers

public Map<ConsumerId,ConsumerInfo> getRecoveringPullConsumers()

setConnectionInterruptProcessingComplete

public void setConnectionInterruptProcessingComplete(boolean connectionInterruptProcessingComplete)

isConnectionInterruptProcessingComplete

public boolean isConnectionInterruptProcessingComplete()


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