001/**
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements.  See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License.  You may obtain a copy of the License at
008 *
009 *      http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017package org.apache.activemq.state;
018
019import org.apache.activemq.command.BrokerInfo;
020import org.apache.activemq.command.BrokerSubscriptionInfo;
021import org.apache.activemq.command.ConnectionControl;
022import org.apache.activemq.command.ConnectionError;
023import org.apache.activemq.command.ConnectionId;
024import org.apache.activemq.command.ConnectionInfo;
025import org.apache.activemq.command.ConsumerControl;
026import org.apache.activemq.command.ConsumerId;
027import org.apache.activemq.command.ConsumerInfo;
028import org.apache.activemq.command.ControlCommand;
029import org.apache.activemq.command.DestinationInfo;
030import org.apache.activemq.command.FlushCommand;
031import org.apache.activemq.command.KeepAliveInfo;
032import org.apache.activemq.command.Message;
033import org.apache.activemq.command.MessageAck;
034import org.apache.activemq.command.MessageDispatch;
035import org.apache.activemq.command.MessageDispatchNotification;
036import org.apache.activemq.command.MessagePull;
037import org.apache.activemq.command.ProducerAck;
038import org.apache.activemq.command.ProducerId;
039import org.apache.activemq.command.ProducerInfo;
040import org.apache.activemq.command.RemoveSubscriptionInfo;
041import org.apache.activemq.command.Response;
042import org.apache.activemq.command.SessionId;
043import org.apache.activemq.command.SessionInfo;
044import org.apache.activemq.command.ShutdownInfo;
045import org.apache.activemq.command.TransactionInfo;
046import org.apache.activemq.command.WireFormatInfo;
047
048public class CommandVisitorAdapter implements CommandVisitor {
049
050    @Override
051    public Response processAddConnection(ConnectionInfo info) throws Exception {
052        return null;
053    }
054
055    @Override
056    public Response processAddConsumer(ConsumerInfo info) throws Exception {
057        return null;
058    }
059
060    @Override
061    public Response processAddDestination(DestinationInfo info) throws Exception {
062        return null;
063    }
064
065    @Override
066    public Response processAddProducer(ProducerInfo info) throws Exception {
067        return null;
068    }
069
070    @Override
071    public Response processAddSession(SessionInfo info) throws Exception {
072        return null;
073    }
074
075    @Override
076    public Response processBeginTransaction(TransactionInfo info) throws Exception {
077        return null;
078    }
079
080    @Override
081    public Response processBrokerInfo(BrokerInfo info) throws Exception {
082        return null;
083    }
084
085    @Override
086    public Response processCommitTransactionOnePhase(TransactionInfo info) throws Exception {
087        return null;
088    }
089
090    @Override
091    public Response processCommitTransactionTwoPhase(TransactionInfo info) throws Exception {
092        return null;
093    }
094
095    @Override
096    public Response processEndTransaction(TransactionInfo info) throws Exception {
097        return null;
098    }
099
100    @Override
101    public Response processFlush(FlushCommand command) throws Exception {
102        return null;
103    }
104
105    @Override
106    public Response processForgetTransaction(TransactionInfo info) throws Exception {
107        return null;
108    }
109
110    @Override
111    public Response processKeepAlive(KeepAliveInfo info) throws Exception {
112        return null;
113    }
114
115    @Override
116    public Response processMessage(Message send) throws Exception {
117        return null;
118    }
119
120    @Override
121    public Response processMessageAck(MessageAck ack) throws Exception {
122        return null;
123    }
124
125    @Override
126    public Response processMessageDispatchNotification(MessageDispatchNotification notification)
127        throws Exception {
128        return null;
129    }
130
131    @Override
132    public Response processMessagePull(MessagePull pull) throws Exception {
133        return null;
134    }
135
136    @Override
137    public Response processPrepareTransaction(TransactionInfo info) throws Exception {
138        return null;
139    }
140
141    @Override
142    public Response processProducerAck(ProducerAck ack) throws Exception {
143        return null;
144    }
145
146    @Override
147    public Response processRecoverTransactions(TransactionInfo info) throws Exception {
148        return null;
149    }
150
151    @Override
152    public Response processRemoveConnection(ConnectionId id, long lastDeliveredSequenceId) throws Exception {
153        return null;
154    }
155
156    @Override
157    public Response processRemoveConsumer(ConsumerId id, long lastDeliveredSequenceId) throws Exception {
158        return null;
159    }
160
161    @Override
162    public Response processRemoveDestination(DestinationInfo info) throws Exception {
163        return null;
164    }
165
166    @Override
167    public Response processRemoveProducer(ProducerId id) throws Exception {
168        return null;
169    }
170
171    @Override
172    public Response processRemoveSession(SessionId id, long lastDeliveredSequenceId) throws Exception {
173        return null;
174    }
175
176    @Override
177    public Response processRemoveSubscription(RemoveSubscriptionInfo info) throws Exception {
178        return null;
179    }
180
181    @Override
182    public Response processRollbackTransaction(TransactionInfo info) throws Exception {
183        return null;
184    }
185
186    @Override
187    public Response processShutdown(ShutdownInfo info) throws Exception {
188        return null;
189    }
190
191    @Override
192    public Response processWireFormat(WireFormatInfo info) throws Exception {
193        return null;
194    }
195
196    @Override
197    public Response processMessageDispatch(MessageDispatch dispatch) throws Exception {
198        return null;
199    }
200
201    @Override
202    public Response processControlCommand(ControlCommand command) throws Exception {
203        return null;
204    }
205
206    @Override
207    public Response processConnectionControl(ConnectionControl control) throws Exception {
208        return null;
209    }
210
211    @Override
212    public Response processConnectionError(ConnectionError error) throws Exception {
213        return null;
214    }
215
216    @Override
217    public Response processConsumerControl(ConsumerControl control) throws Exception {
218        return null;
219    }
220
221    /* (non-Javadoc)
222     * @see org.apache.activemq.state.CommandVisitor#processBrokerSubscriptionInfo(org.apache.activemq.command.BrokerSubscriptionInfo)
223     */
224    @Override
225    public Response processBrokerSubscriptionInfo(BrokerSubscriptionInfo info) throws Exception {
226        // TODO Auto-generated method stub
227        return null;
228    }
229
230}