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 */
017 package org.apache.activemq.state;
018
019 import org.apache.activemq.command.BrokerInfo;
020 import org.apache.activemq.command.ConnectionControl;
021 import org.apache.activemq.command.ConnectionError;
022 import org.apache.activemq.command.ConnectionId;
023 import org.apache.activemq.command.ConnectionInfo;
024 import org.apache.activemq.command.ConsumerControl;
025 import org.apache.activemq.command.ConsumerId;
026 import org.apache.activemq.command.ConsumerInfo;
027 import org.apache.activemq.command.ControlCommand;
028 import org.apache.activemq.command.DestinationInfo;
029 import org.apache.activemq.command.FlushCommand;
030 import org.apache.activemq.command.KeepAliveInfo;
031 import org.apache.activemq.command.Message;
032 import org.apache.activemq.command.MessageAck;
033 import org.apache.activemq.command.MessageDispatch;
034 import org.apache.activemq.command.MessageDispatchNotification;
035 import org.apache.activemq.command.MessagePull;
036 import org.apache.activemq.command.ProducerAck;
037 import org.apache.activemq.command.ProducerId;
038 import org.apache.activemq.command.ProducerInfo;
039 import org.apache.activemq.command.RemoveSubscriptionInfo;
040 import org.apache.activemq.command.Response;
041 import org.apache.activemq.command.SessionId;
042 import org.apache.activemq.command.SessionInfo;
043 import org.apache.activemq.command.ShutdownInfo;
044 import org.apache.activemq.command.TransactionInfo;
045 import org.apache.activemq.command.WireFormatInfo;
046
047 public class CommandVisitorAdapter implements CommandVisitor {
048
049 public Response processAddConnection(ConnectionInfo info) throws Exception {
050 return null;
051 }
052
053 public Response processAddConsumer(ConsumerInfo info) throws Exception {
054 return null;
055 }
056
057 public Response processAddDestination(DestinationInfo info) throws Exception {
058 return null;
059 }
060
061 public Response processAddProducer(ProducerInfo info) throws Exception {
062 return null;
063 }
064
065 public Response processAddSession(SessionInfo info) throws Exception {
066 return null;
067 }
068
069 public Response processBeginTransaction(TransactionInfo info) throws Exception {
070 return null;
071 }
072
073 public Response processBrokerInfo(BrokerInfo info) throws Exception {
074 return null;
075 }
076
077 public Response processCommitTransactionOnePhase(TransactionInfo info) throws Exception {
078 return null;
079 }
080
081 public Response processCommitTransactionTwoPhase(TransactionInfo info) throws Exception {
082 return null;
083 }
084
085 public Response processEndTransaction(TransactionInfo info) throws Exception {
086 return null;
087 }
088
089 public Response processFlush(FlushCommand command) throws Exception {
090 return null;
091 }
092
093 public Response processForgetTransaction(TransactionInfo info) throws Exception {
094 return null;
095 }
096
097 public Response processKeepAlive(KeepAliveInfo info) throws Exception {
098 return null;
099 }
100
101 public Response processMessage(Message send) throws Exception {
102 return null;
103 }
104
105 public Response processMessageAck(MessageAck ack) throws Exception {
106 return null;
107 }
108
109 public Response processMessageDispatchNotification(MessageDispatchNotification notification)
110 throws Exception {
111 return null;
112 }
113
114 public Response processMessagePull(MessagePull pull) throws Exception {
115 return null;
116 }
117
118 public Response processPrepareTransaction(TransactionInfo info) throws Exception {
119 return null;
120 }
121
122 public Response processProducerAck(ProducerAck ack) throws Exception {
123 return null;
124 }
125
126 public Response processRecoverTransactions(TransactionInfo info) throws Exception {
127 return null;
128 }
129
130 public Response processRemoveConnection(ConnectionId id, long lastDeliveredSequenceId) throws Exception {
131 return null;
132 }
133
134 public Response processRemoveConsumer(ConsumerId id, long lastDeliveredSequenceId) throws Exception {
135 return null;
136 }
137
138 public Response processRemoveDestination(DestinationInfo info) throws Exception {
139 return null;
140 }
141
142 public Response processRemoveProducer(ProducerId id) throws Exception {
143 return null;
144 }
145
146 public Response processRemoveSession(SessionId id, long lastDeliveredSequenceId) throws Exception {
147 return null;
148 }
149
150 public Response processRemoveSubscription(RemoveSubscriptionInfo info) throws Exception {
151 return null;
152 }
153
154 public Response processRollbackTransaction(TransactionInfo info) throws Exception {
155 return null;
156 }
157
158 public Response processShutdown(ShutdownInfo info) throws Exception {
159 return null;
160 }
161
162 public Response processWireFormat(WireFormatInfo info) throws Exception {
163 return null;
164 }
165
166 public Response processMessageDispatch(MessageDispatch dispatch) throws Exception {
167 return null;
168 }
169
170 public Response processControlCommand(ControlCommand command) throws Exception {
171 return null;
172 }
173
174 public Response processConnectionControl(ConnectionControl control) throws Exception {
175 return null;
176 }
177
178 public Response processConnectionError(ConnectionError error) throws Exception {
179 return null;
180 }
181
182 public Response processConsumerControl(ConsumerControl control) throws Exception {
183 return null;
184 }
185
186 }