org.apache.activemq.state
Class CommandVisitorAdapter

java.lang.Object
  extended by org.apache.activemq.state.CommandVisitorAdapter
All Implemented Interfaces:
CommandVisitor
Direct Known Subclasses:
ConnectionStateTracker

public class CommandVisitorAdapter
extends Object
implements CommandVisitor


Constructor Summary
CommandVisitorAdapter()
           
 
Method Summary
 Response processAddConnection(ConnectionInfo info)
           
 Response processAddConsumer(ConsumerInfo info)
           
 Response processAddDestination(DestinationInfo info)
           
 Response processAddProducer(ProducerInfo info)
           
 Response processAddSession(SessionInfo info)
           
 Response processBeginTransaction(TransactionInfo info)
           
 Response processBrokerInfo(BrokerInfo info)
           
 Response processCommitTransactionOnePhase(TransactionInfo info)
           
 Response processCommitTransactionTwoPhase(TransactionInfo info)
           
 Response processConnectionControl(ConnectionControl control)
           
 Response processConnectionError(ConnectionError error)
           
 Response processConsumerControl(ConsumerControl control)
           
 Response processControlCommand(ControlCommand command)
           
 Response processEndTransaction(TransactionInfo info)
           
 Response processFlush(FlushCommand command)
           
 Response processForgetTransaction(TransactionInfo info)
           
 Response processKeepAlive(KeepAliveInfo info)
           
 Response processMessage(Message send)
           
 Response processMessageAck(MessageAck ack)
           
 Response processMessageDispatch(MessageDispatch dispatch)
           
 Response processMessageDispatchNotification(MessageDispatchNotification notification)
           
 Response processMessagePull(MessagePull pull)
           
 Response processPrepareTransaction(TransactionInfo info)
           
 Response processProducerAck(ProducerAck ack)
           
 Response processRecoverTransactions(TransactionInfo info)
           
 Response processRemoveConnection(ConnectionId id, long lastDeliveredSequenceId)
           
 Response processRemoveConsumer(ConsumerId id, long lastDeliveredSequenceId)
           
 Response processRemoveDestination(DestinationInfo info)
           
 Response processRemoveProducer(ProducerId id)
           
 Response processRemoveSession(SessionId id, long lastDeliveredSequenceId)
           
 Response processRemoveSubscription(RemoveSubscriptionInfo info)
           
 Response processRollbackTransaction(TransactionInfo info)
           
 Response processShutdown(ShutdownInfo info)
           
 Response processWireFormat(WireFormatInfo info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandVisitorAdapter

public CommandVisitorAdapter()
Method Detail

processAddConnection

public Response processAddConnection(ConnectionInfo info)
                              throws Exception
Specified by:
processAddConnection in interface CommandVisitor
Throws:
Exception

processAddConsumer

public Response processAddConsumer(ConsumerInfo info)
                            throws Exception
Specified by:
processAddConsumer in interface CommandVisitor
Throws:
Exception

processAddDestination

public Response processAddDestination(DestinationInfo info)
                               throws Exception
Specified by:
processAddDestination in interface CommandVisitor
Throws:
Exception

processAddProducer

public Response processAddProducer(ProducerInfo info)
                            throws Exception
Specified by:
processAddProducer in interface CommandVisitor
Throws:
Exception

processAddSession

public Response processAddSession(SessionInfo info)
                           throws Exception
Specified by:
processAddSession in interface CommandVisitor
Throws:
Exception

processBeginTransaction

public Response processBeginTransaction(TransactionInfo info)
                                 throws Exception
Specified by:
processBeginTransaction in interface CommandVisitor
Throws:
Exception

processBrokerInfo

public Response processBrokerInfo(BrokerInfo info)
                           throws Exception
Specified by:
processBrokerInfo in interface CommandVisitor
Throws:
Exception

processCommitTransactionOnePhase

public Response processCommitTransactionOnePhase(TransactionInfo info)
                                          throws Exception
Specified by:
processCommitTransactionOnePhase in interface CommandVisitor
Throws:
Exception

processCommitTransactionTwoPhase

public Response processCommitTransactionTwoPhase(TransactionInfo info)
                                          throws Exception
Specified by:
processCommitTransactionTwoPhase in interface CommandVisitor
Throws:
Exception

processEndTransaction

public Response processEndTransaction(TransactionInfo info)
                               throws Exception
Specified by:
processEndTransaction in interface CommandVisitor
Throws:
Exception

processFlush

public Response processFlush(FlushCommand command)
                      throws Exception
Specified by:
processFlush in interface CommandVisitor
Throws:
Exception

processForgetTransaction

public Response processForgetTransaction(TransactionInfo info)
                                  throws Exception
Specified by:
processForgetTransaction in interface CommandVisitor
Throws:
Exception

processKeepAlive

public Response processKeepAlive(KeepAliveInfo info)
                          throws Exception
Specified by:
processKeepAlive in interface CommandVisitor
Throws:
Exception

processMessage

public Response processMessage(Message send)
                        throws Exception
Specified by:
processMessage in interface CommandVisitor
Throws:
Exception

processMessageAck

public Response processMessageAck(MessageAck ack)
                           throws Exception
Specified by:
processMessageAck in interface CommandVisitor
Throws:
Exception

processMessageDispatchNotification

public Response processMessageDispatchNotification(MessageDispatchNotification notification)
                                            throws Exception
Specified by:
processMessageDispatchNotification in interface CommandVisitor
Throws:
Exception

processMessagePull

public Response processMessagePull(MessagePull pull)
                            throws Exception
Specified by:
processMessagePull in interface CommandVisitor
Throws:
Exception

processPrepareTransaction

public Response processPrepareTransaction(TransactionInfo info)
                                   throws Exception
Specified by:
processPrepareTransaction in interface CommandVisitor
Throws:
Exception

processProducerAck

public Response processProducerAck(ProducerAck ack)
                            throws Exception
Specified by:
processProducerAck in interface CommandVisitor
Throws:
Exception

processRecoverTransactions

public Response processRecoverTransactions(TransactionInfo info)
                                    throws Exception
Specified by:
processRecoverTransactions in interface CommandVisitor
Throws:
Exception

processRemoveConnection

public Response processRemoveConnection(ConnectionId id,
                                        long lastDeliveredSequenceId)
                                 throws Exception
Specified by:
processRemoveConnection in interface CommandVisitor
Throws:
Exception

processRemoveConsumer

public Response processRemoveConsumer(ConsumerId id,
                                      long lastDeliveredSequenceId)
                               throws Exception
Specified by:
processRemoveConsumer in interface CommandVisitor
Throws:
Exception

processRemoveDestination

public Response processRemoveDestination(DestinationInfo info)
                                  throws Exception
Specified by:
processRemoveDestination in interface CommandVisitor
Throws:
Exception

processRemoveProducer

public Response processRemoveProducer(ProducerId id)
                               throws Exception
Specified by:
processRemoveProducer in interface CommandVisitor
Throws:
Exception

processRemoveSession

public Response processRemoveSession(SessionId id,
                                     long lastDeliveredSequenceId)
                              throws Exception
Specified by:
processRemoveSession in interface CommandVisitor
Throws:
Exception

processRemoveSubscription

public Response processRemoveSubscription(RemoveSubscriptionInfo info)
                                   throws Exception
Specified by:
processRemoveSubscription in interface CommandVisitor
Throws:
Exception

processRollbackTransaction

public Response processRollbackTransaction(TransactionInfo info)
                                    throws Exception
Specified by:
processRollbackTransaction in interface CommandVisitor
Throws:
Exception

processShutdown

public Response processShutdown(ShutdownInfo info)
                         throws Exception
Specified by:
processShutdown in interface CommandVisitor
Throws:
Exception

processWireFormat

public Response processWireFormat(WireFormatInfo info)
                           throws Exception
Specified by:
processWireFormat in interface CommandVisitor
Throws:
Exception

processMessageDispatch

public Response processMessageDispatch(MessageDispatch dispatch)
                                throws Exception
Specified by:
processMessageDispatch in interface CommandVisitor
Throws:
Exception

processControlCommand

public Response processControlCommand(ControlCommand command)
                               throws Exception
Specified by:
processControlCommand in interface CommandVisitor
Throws:
Exception

processConnectionControl

public Response processConnectionControl(ConnectionControl control)
                                  throws Exception
Specified by:
processConnectionControl in interface CommandVisitor
Throws:
Exception

processConnectionError

public Response processConnectionError(ConnectionError error)
                                throws Exception
Specified by:
processConnectionError in interface CommandVisitor
Throws:
Exception

processConsumerControl

public Response processConsumerControl(ConsumerControl control)
                                throws Exception
Specified by:
processConsumerControl in interface CommandVisitor
Throws:
Exception


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