summaryrefslogtreecommitdiff
path: root/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91
diff options
context:
space:
mode:
Diffstat (limited to 'java/common/src/main/java/org/apache/qpid/framing/amqp_0_91')
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/AMQMethodBody_0_91.java37
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicAckBodyImpl.java128
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicCancelBodyImpl.java129
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicCancelOkBodyImpl.java112
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicConsumeBodyImpl.java207
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicConsumeOkBodyImpl.java112
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicDeliverBodyImpl.java168
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetBodyImpl.java141
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetEmptyBodyImpl.java112
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetOkBodyImpl.java167
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicPublishBodyImpl.java167
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicQosBodyImpl.java140
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicQosOkBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverBodyImpl.java116
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncBodyImpl.java2
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncOkBodyImpl.java2
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRejectBodyImpl.java128
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicReturnBodyImpl.java150
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelCloseBodyImpl.java148
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelCloseOkBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelFlowBodyImpl.java116
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelFlowOkBodyImpl.java116
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelOpenBodyImpl.java112
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelOpenOkBodyImpl.java2
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ClientMethodDispatcher_0_91.java30
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseBodyImpl.java2
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseOkBodyImpl.java2
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionOpenBodyImpl.java142
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionOpenOkBodyImpl.java112
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionSecureBodyImpl.java112
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionSecureOkBodyImpl.java112
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionStartBodyImpl.java162
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionStartOkBodyImpl.java151
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionTuneBodyImpl.java135
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionTuneOkBodyImpl.java135
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeBoundBodyImpl.java138
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeBoundOkBodyImpl.java124
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeclareBodyImpl.java220
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeclareOkBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeleteBodyImpl.java154
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeleteOkBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodConverter_0_91.java3
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodRegistry_0_91.java10
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueBindBodyImpl.java181
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueBindOkBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeclareBodyImpl.java207
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeclareOkBodyImpl.java136
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeleteBodyImpl.java167
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeleteOkBodyImpl.java111
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueuePurgeBodyImpl.java141
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueuePurgeOkBodyImpl.java111
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindBodyImpl.java2
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindOkBodyImpl.java2
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ServerMethodDispatcher_0_91.java31
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxCommitBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxCommitOkBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxRollbackBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxRollbackOkBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxSelectBodyImpl.java100
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxSelectOkBodyImpl.java100
60 files changed, 15 insertions, 6430 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/AMQMethodBody_0_91.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/AMQMethodBody_0_91.java
deleted file mode 100644
index 60b8a7e1a6..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/AMQMethodBody_0_91.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-public abstract class AMQMethodBody_0_91 extends org.apache.qpid.framing.AMQMethodBodyImpl
-{
-
- public byte getMajor()
- {
- return 0;
- }
-
- public byte getMinor()
- {
- return 91;
- }
-
-} \ No newline at end of file
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicAckBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicAckBodyImpl.java
deleted file mode 100644
index 059ae8fab8..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicAckBodyImpl.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicAckBodyImpl extends AMQMethodBody_0_91 implements BasicAckBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicAckBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 80;
-
- // Fields declared in specification
- private final long _deliveryTag; // [deliveryTag]
- private final byte _bitfield0; // [multiple]
-
- // Constructor
- public BasicAckBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _deliveryTag = readLong( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public BasicAckBodyImpl(
- long deliveryTag,
- boolean multiple
- )
- {
- _deliveryTag = deliveryTag;
- byte bitfield0 = (byte)0;
- if( multiple )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final long getDeliveryTag()
- {
- return _deliveryTag;
- }
- public final boolean getMultiple()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 9;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeLong( buffer, _deliveryTag );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicAck(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicAckBodyImpl: ");
- buf.append( "deliveryTag=" );
- buf.append( getDeliveryTag() );
- buf.append( ", " );
- buf.append( "multiple=" );
- buf.append( getMultiple() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicCancelBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicCancelBodyImpl.java
deleted file mode 100644
index 08a07960ac..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicCancelBodyImpl.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicCancelBodyImpl extends AMQMethodBody_0_91 implements BasicCancelBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicCancelBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 30;
-
- // Fields declared in specification
- private final AMQShortString _consumerTag; // [consumerTag]
- private final byte _bitfield0; // [nowait]
-
- // Constructor
- public BasicCancelBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _consumerTag = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public BasicCancelBodyImpl(
- AMQShortString consumerTag,
- boolean nowait
- )
- {
- _consumerTag = consumerTag;
- byte bitfield0 = (byte)0;
- if( nowait )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getConsumerTag()
- {
- return _consumerTag;
- }
- public final boolean getNowait()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 1;
- size += getSizeOf( _consumerTag );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _consumerTag );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicCancel(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicCancelBodyImpl: ");
- buf.append( "consumerTag=" );
- buf.append( getConsumerTag() );
- buf.append( ", " );
- buf.append( "nowait=" );
- buf.append( getNowait() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicCancelOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicCancelOkBodyImpl.java
deleted file mode 100644
index 380fa70a18..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicCancelOkBodyImpl.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicCancelOkBodyImpl extends AMQMethodBody_0_91 implements BasicCancelOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicCancelOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 31;
-
- // Fields declared in specification
- private final AMQShortString _consumerTag; // [consumerTag]
-
- // Constructor
- public BasicCancelOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _consumerTag = readAMQShortString( buffer );
- }
-
- public BasicCancelOkBodyImpl(
- AMQShortString consumerTag
- )
- {
- _consumerTag = consumerTag;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getConsumerTag()
- {
- return _consumerTag;
- }
-
- protected int getBodySize()
- {
- int size = 0;
- size += getSizeOf( _consumerTag );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _consumerTag );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicCancelOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicCancelOkBodyImpl: ");
- buf.append( "consumerTag=" );
- buf.append( getConsumerTag() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicConsumeBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicConsumeBodyImpl.java
deleted file mode 100644
index b299c5c0d4..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicConsumeBodyImpl.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicConsumeBodyImpl extends AMQMethodBody_0_91 implements BasicConsumeBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicConsumeBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 20;
-
- // Fields declared in specification
- private final int _ticket; // [ticket]
- private final AMQShortString _queue; // [queue]
- private final AMQShortString _consumerTag; // [consumerTag]
- private final byte _bitfield0; // [noLocal, noAck, exclusive, nowait]
- private final FieldTable _arguments; // [arguments]
-
- // Constructor
- public BasicConsumeBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _ticket = readUnsignedShort( buffer );
- _queue = readAMQShortString( buffer );
- _consumerTag = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- _arguments = readFieldTable( buffer );
- }
-
- public BasicConsumeBodyImpl(
- int ticket,
- AMQShortString queue,
- AMQShortString consumerTag,
- boolean noLocal,
- boolean noAck,
- boolean exclusive,
- boolean nowait,
- FieldTable arguments
- )
- {
- _ticket = ticket;
- _queue = queue;
- _consumerTag = consumerTag;
- byte bitfield0 = (byte)0;
- if( noLocal )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
-
- if( noAck )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 1));
- }
-
- if( exclusive )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 2));
- }
-
- if( nowait )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 3));
- }
-
- _bitfield0 = bitfield0;
- _arguments = arguments;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getTicket()
- {
- return _ticket;
- }
- public final AMQShortString getQueue()
- {
- return _queue;
- }
- public final AMQShortString getConsumerTag()
- {
- return _consumerTag;
- }
- public final boolean getNoLocal()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
- public final boolean getNoAck()
- {
- return (((int)(_bitfield0)) & ( 1 << 1)) != 0;
- }
- public final boolean getExclusive()
- {
- return (((int)(_bitfield0)) & ( 1 << 2)) != 0;
- }
- public final boolean getNowait()
- {
- return (((int)(_bitfield0)) & ( 1 << 3)) != 0;
- }
- public final FieldTable getArguments()
- {
- return _arguments;
- }
-
- protected int getBodySize()
- {
- int size = 3;
- size += getSizeOf( _queue );
- size += getSizeOf( _consumerTag );
- size += getSizeOf( _arguments );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _ticket );
- writeAMQShortString( buffer, _queue );
- writeAMQShortString( buffer, _consumerTag );
- writeBitfield( buffer, _bitfield0 );
- writeFieldTable( buffer, _arguments );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicConsume(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicConsumeBodyImpl: ");
- buf.append( "ticket=" );
- buf.append( getTicket() );
- buf.append( ", " );
- buf.append( "queue=" );
- buf.append( getQueue() );
- buf.append( ", " );
- buf.append( "consumerTag=" );
- buf.append( getConsumerTag() );
- buf.append( ", " );
- buf.append( "noLocal=" );
- buf.append( getNoLocal() );
- buf.append( ", " );
- buf.append( "noAck=" );
- buf.append( getNoAck() );
- buf.append( ", " );
- buf.append( "exclusive=" );
- buf.append( getExclusive() );
- buf.append( ", " );
- buf.append( "nowait=" );
- buf.append( getNowait() );
- buf.append( ", " );
- buf.append( "arguments=" );
- buf.append( getArguments() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicConsumeOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicConsumeOkBodyImpl.java
deleted file mode 100644
index 2241370c75..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicConsumeOkBodyImpl.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicConsumeOkBodyImpl extends AMQMethodBody_0_91 implements BasicConsumeOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicConsumeOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 21;
-
- // Fields declared in specification
- private final AMQShortString _consumerTag; // [consumerTag]
-
- // Constructor
- public BasicConsumeOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _consumerTag = readAMQShortString( buffer );
- }
-
- public BasicConsumeOkBodyImpl(
- AMQShortString consumerTag
- )
- {
- _consumerTag = consumerTag;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getConsumerTag()
- {
- return _consumerTag;
- }
-
- protected int getBodySize()
- {
- int size = 0;
- size += getSizeOf( _consumerTag );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _consumerTag );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicConsumeOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicConsumeOkBodyImpl: ");
- buf.append( "consumerTag=" );
- buf.append( getConsumerTag() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicDeliverBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicDeliverBodyImpl.java
deleted file mode 100644
index a1a9bf6113..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicDeliverBodyImpl.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicDeliverBodyImpl extends AMQMethodBody_0_91 implements BasicDeliverBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicDeliverBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 60;
-
- // Fields declared in specification
- private final AMQShortString _consumerTag; // [consumerTag]
- private final long _deliveryTag; // [deliveryTag]
- private final byte _bitfield0; // [redelivered]
- private final AMQShortString _exchange; // [exchange]
- private final AMQShortString _routingKey; // [routingKey]
-
- // Constructor
- public BasicDeliverBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _consumerTag = readAMQShortString( buffer );
- _deliveryTag = readLong( buffer );
- _bitfield0 = readBitfield( buffer );
- _exchange = readAMQShortString( buffer );
- _routingKey = readAMQShortString( buffer );
- }
-
- public BasicDeliverBodyImpl(
- AMQShortString consumerTag,
- long deliveryTag,
- boolean redelivered,
- AMQShortString exchange,
- AMQShortString routingKey
- )
- {
- _consumerTag = consumerTag;
- _deliveryTag = deliveryTag;
- byte bitfield0 = (byte)0;
- if( redelivered )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
-
- _bitfield0 = bitfield0;
- _exchange = exchange;
- _routingKey = routingKey;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getConsumerTag()
- {
- return _consumerTag;
- }
- public final long getDeliveryTag()
- {
- return _deliveryTag;
- }
- public final boolean getRedelivered()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
- public final AMQShortString getExchange()
- {
- return _exchange;
- }
- public final AMQShortString getRoutingKey()
- {
- return _routingKey;
- }
-
- protected int getBodySize()
- {
- int size = 9;
- size += getSizeOf( _consumerTag );
- size += getSizeOf( _exchange );
- size += getSizeOf( _routingKey );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _consumerTag );
- writeLong( buffer, _deliveryTag );
- writeBitfield( buffer, _bitfield0 );
- writeAMQShortString( buffer, _exchange );
- writeAMQShortString( buffer, _routingKey );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicDeliver(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicDeliverBodyImpl: ");
- buf.append( "consumerTag=" );
- buf.append( getConsumerTag() );
- buf.append( ", " );
- buf.append( "deliveryTag=" );
- buf.append( getDeliveryTag() );
- buf.append( ", " );
- buf.append( "redelivered=" );
- buf.append( getRedelivered() );
- buf.append( ", " );
- buf.append( "exchange=" );
- buf.append( getExchange() );
- buf.append( ", " );
- buf.append( "routingKey=" );
- buf.append( getRoutingKey() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetBodyImpl.java
deleted file mode 100644
index 2f9ca99673..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetBodyImpl.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicGetBodyImpl extends AMQMethodBody_0_91 implements BasicGetBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicGetBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 70;
-
- // Fields declared in specification
- private final int _ticket; // [ticket]
- private final AMQShortString _queue; // [queue]
- private final byte _bitfield0; // [noAck]
-
- // Constructor
- public BasicGetBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _ticket = readUnsignedShort( buffer );
- _queue = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public BasicGetBodyImpl(
- int ticket,
- AMQShortString queue,
- boolean noAck
- )
- {
- _ticket = ticket;
- _queue = queue;
- byte bitfield0 = (byte)0;
- if( noAck )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getTicket()
- {
- return _ticket;
- }
- public final AMQShortString getQueue()
- {
- return _queue;
- }
- public final boolean getNoAck()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 3;
- size += getSizeOf( _queue );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _ticket );
- writeAMQShortString( buffer, _queue );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicGet(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicGetBodyImpl: ");
- buf.append( "ticket=" );
- buf.append( getTicket() );
- buf.append( ", " );
- buf.append( "queue=" );
- buf.append( getQueue() );
- buf.append( ", " );
- buf.append( "noAck=" );
- buf.append( getNoAck() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetEmptyBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetEmptyBodyImpl.java
deleted file mode 100644
index 2f40867d71..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetEmptyBodyImpl.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicGetEmptyBodyImpl extends AMQMethodBody_0_91 implements BasicGetEmptyBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicGetEmptyBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 72;
-
- // Fields declared in specification
- private final AMQShortString _clusterId; // [clusterId]
-
- // Constructor
- public BasicGetEmptyBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _clusterId = readAMQShortString( buffer );
- }
-
- public BasicGetEmptyBodyImpl(
- AMQShortString clusterId
- )
- {
- _clusterId = clusterId;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getClusterId()
- {
- return _clusterId;
- }
-
- protected int getBodySize()
- {
- int size = 0;
- size += getSizeOf( _clusterId );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _clusterId );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicGetEmpty(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicGetEmptyBodyImpl: ");
- buf.append( "clusterId=" );
- buf.append( getClusterId() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetOkBodyImpl.java
deleted file mode 100644
index 9666f447f1..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicGetOkBodyImpl.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicGetOkBodyImpl extends AMQMethodBody_0_91 implements BasicGetOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicGetOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 71;
-
- // Fields declared in specification
- private final long _deliveryTag; // [deliveryTag]
- private final byte _bitfield0; // [redelivered]
- private final AMQShortString _exchange; // [exchange]
- private final AMQShortString _routingKey; // [routingKey]
- private final long _messageCount; // [messageCount]
-
- // Constructor
- public BasicGetOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _deliveryTag = readLong( buffer );
- _bitfield0 = readBitfield( buffer );
- _exchange = readAMQShortString( buffer );
- _routingKey = readAMQShortString( buffer );
- _messageCount = readUnsignedInteger( buffer );
- }
-
- public BasicGetOkBodyImpl(
- long deliveryTag,
- boolean redelivered,
- AMQShortString exchange,
- AMQShortString routingKey,
- long messageCount
- )
- {
- _deliveryTag = deliveryTag;
- byte bitfield0 = (byte)0;
- if( redelivered )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
-
- _bitfield0 = bitfield0;
- _exchange = exchange;
- _routingKey = routingKey;
- _messageCount = messageCount;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final long getDeliveryTag()
- {
- return _deliveryTag;
- }
- public final boolean getRedelivered()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
- public final AMQShortString getExchange()
- {
- return _exchange;
- }
- public final AMQShortString getRoutingKey()
- {
- return _routingKey;
- }
- public final long getMessageCount()
- {
- return _messageCount;
- }
-
- protected int getBodySize()
- {
- int size = 13;
- size += getSizeOf( _exchange );
- size += getSizeOf( _routingKey );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeLong( buffer, _deliveryTag );
- writeBitfield( buffer, _bitfield0 );
- writeAMQShortString( buffer, _exchange );
- writeAMQShortString( buffer, _routingKey );
- writeUnsignedInteger( buffer, _messageCount );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicGetOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicGetOkBodyImpl: ");
- buf.append( "deliveryTag=" );
- buf.append( getDeliveryTag() );
- buf.append( ", " );
- buf.append( "redelivered=" );
- buf.append( getRedelivered() );
- buf.append( ", " );
- buf.append( "exchange=" );
- buf.append( getExchange() );
- buf.append( ", " );
- buf.append( "routingKey=" );
- buf.append( getRoutingKey() );
- buf.append( ", " );
- buf.append( "messageCount=" );
- buf.append( getMessageCount() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicPublishBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicPublishBodyImpl.java
deleted file mode 100644
index b347420128..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicPublishBodyImpl.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicPublishBodyImpl extends AMQMethodBody_0_91 implements BasicPublishBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicPublishBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 40;
-
- // Fields declared in specification
- private final int _ticket; // [ticket]
- private final AMQShortString _exchange; // [exchange]
- private final AMQShortString _routingKey; // [routingKey]
- private final byte _bitfield0; // [mandatory, immediate]
-
- // Constructor
- public BasicPublishBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _ticket = readUnsignedShort( buffer );
- _exchange = readAMQShortString( buffer );
- _routingKey = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public BasicPublishBodyImpl(
- int ticket,
- AMQShortString exchange,
- AMQShortString routingKey,
- boolean mandatory,
- boolean immediate
- )
- {
- _ticket = ticket;
- _exchange = exchange;
- _routingKey = routingKey;
- byte bitfield0 = (byte)0;
- if( mandatory )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
-
- if( immediate )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 1));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getTicket()
- {
- return _ticket;
- }
- public final AMQShortString getExchange()
- {
- return _exchange;
- }
- public final AMQShortString getRoutingKey()
- {
- return _routingKey;
- }
- public final boolean getMandatory()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
- public final boolean getImmediate()
- {
- return (((int)(_bitfield0)) & ( 1 << 1)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 3;
- size += getSizeOf( _exchange );
- size += getSizeOf( _routingKey );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _ticket );
- writeAMQShortString( buffer, _exchange );
- writeAMQShortString( buffer, _routingKey );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicPublish(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicPublishBodyImpl: ");
- buf.append( "ticket=" );
- buf.append( getTicket() );
- buf.append( ", " );
- buf.append( "exchange=" );
- buf.append( getExchange() );
- buf.append( ", " );
- buf.append( "routingKey=" );
- buf.append( getRoutingKey() );
- buf.append( ", " );
- buf.append( "mandatory=" );
- buf.append( getMandatory() );
- buf.append( ", " );
- buf.append( "immediate=" );
- buf.append( getImmediate() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicQosBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicQosBodyImpl.java
deleted file mode 100644
index 00372b9c49..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicQosBodyImpl.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicQosBodyImpl extends AMQMethodBody_0_91 implements BasicQosBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicQosBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 10;
-
- // Fields declared in specification
- private final long _prefetchSize; // [prefetchSize]
- private final int _prefetchCount; // [prefetchCount]
- private final byte _bitfield0; // [global]
-
- // Constructor
- public BasicQosBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _prefetchSize = readUnsignedInteger( buffer );
- _prefetchCount = readUnsignedShort( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public BasicQosBodyImpl(
- long prefetchSize,
- int prefetchCount,
- boolean global
- )
- {
- _prefetchSize = prefetchSize;
- _prefetchCount = prefetchCount;
- byte bitfield0 = (byte)0;
- if( global )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final long getPrefetchSize()
- {
- return _prefetchSize;
- }
- public final int getPrefetchCount()
- {
- return _prefetchCount;
- }
- public final boolean getGlobal()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 7;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedInteger( buffer, _prefetchSize );
- writeUnsignedShort( buffer, _prefetchCount );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicQos(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicQosBodyImpl: ");
- buf.append( "prefetchSize=" );
- buf.append( getPrefetchSize() );
- buf.append( ", " );
- buf.append( "prefetchCount=" );
- buf.append( getPrefetchCount() );
- buf.append( ", " );
- buf.append( "global=" );
- buf.append( getGlobal() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicQosOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicQosOkBodyImpl.java
deleted file mode 100644
index a36b2e6d66..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicQosOkBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicQosOkBodyImpl extends AMQMethodBody_0_91 implements BasicQosOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicQosOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 11;
-
- // Fields declared in specification
-
- // Constructor
- public BasicQosOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public BasicQosOkBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicQosOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicQosOkBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverBodyImpl.java
deleted file mode 100644
index e21c382a24..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverBodyImpl.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicRecoverBodyImpl extends AMQMethodBody_0_91 implements BasicRecoverBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicRecoverBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 100;
-
- // Fields declared in specification
- private final byte _bitfield0; // [requeue]
-
- // Constructor
- public BasicRecoverBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _bitfield0 = readBitfield( buffer );
- }
-
- public BasicRecoverBodyImpl(
- boolean requeue
- )
- {
- byte bitfield0 = (byte)0;
- if( requeue )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final boolean getRequeue()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 1;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicRecover(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicRecoverBodyImpl: ");
- buf.append( "requeue=" );
- buf.append( getRequeue() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncBodyImpl.java
index c0679cf939..595876a8e3 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncBodyImpl.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncBodyImpl.java
@@ -34,7 +34,7 @@ import java.io.IOException;
import org.apache.qpid.framing.*;
import org.apache.qpid.AMQException;
-public class BasicRecoverSyncBodyImpl extends AMQMethodBody_0_91 implements BasicRecoverSyncBody
+public class BasicRecoverSyncBodyImpl extends AMQMethodBodyImpl implements BasicRecoverSyncBody
{
private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
{
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncOkBodyImpl.java
index a75d344831..da906a4a10 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncOkBodyImpl.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRecoverSyncOkBodyImpl.java
@@ -34,7 +34,7 @@ import java.io.IOException;
import org.apache.qpid.framing.*;
import org.apache.qpid.AMQException;
-public class BasicRecoverSyncOkBodyImpl extends AMQMethodBody_0_91 implements BasicRecoverSyncOkBody
+public class BasicRecoverSyncOkBodyImpl extends AMQMethodBodyImpl implements BasicRecoverSyncOkBody
{
private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
{
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRejectBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRejectBodyImpl.java
deleted file mode 100644
index b5b549d4a9..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicRejectBodyImpl.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicRejectBodyImpl extends AMQMethodBody_0_91 implements BasicRejectBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicRejectBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 90;
-
- // Fields declared in specification
- private final long _deliveryTag; // [deliveryTag]
- private final byte _bitfield0; // [requeue]
-
- // Constructor
- public BasicRejectBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _deliveryTag = readLong( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public BasicRejectBodyImpl(
- long deliveryTag,
- boolean requeue
- )
- {
- _deliveryTag = deliveryTag;
- byte bitfield0 = (byte)0;
- if( requeue )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final long getDeliveryTag()
- {
- return _deliveryTag;
- }
- public final boolean getRequeue()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 9;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeLong( buffer, _deliveryTag );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicReject(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicRejectBodyImpl: ");
- buf.append( "deliveryTag=" );
- buf.append( getDeliveryTag() );
- buf.append( ", " );
- buf.append( "requeue=" );
- buf.append( getRequeue() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicReturnBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicReturnBodyImpl.java
deleted file mode 100644
index 26ba2f8b95..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/BasicReturnBodyImpl.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class BasicReturnBodyImpl extends AMQMethodBody_0_91 implements BasicReturnBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new BasicReturnBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 60;
- public static final int METHOD_ID = 50;
-
- // Fields declared in specification
- private final int _replyCode; // [replyCode]
- private final AMQShortString _replyText; // [replyText]
- private final AMQShortString _exchange; // [exchange]
- private final AMQShortString _routingKey; // [routingKey]
-
- // Constructor
- public BasicReturnBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _replyCode = readUnsignedShort( buffer );
- _replyText = readAMQShortString( buffer );
- _exchange = readAMQShortString( buffer );
- _routingKey = readAMQShortString( buffer );
- }
-
- public BasicReturnBodyImpl(
- int replyCode,
- AMQShortString replyText,
- AMQShortString exchange,
- AMQShortString routingKey
- )
- {
- _replyCode = replyCode;
- _replyText = replyText;
- _exchange = exchange;
- _routingKey = routingKey;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getReplyCode()
- {
- return _replyCode;
- }
- public final AMQShortString getReplyText()
- {
- return _replyText;
- }
- public final AMQShortString getExchange()
- {
- return _exchange;
- }
- public final AMQShortString getRoutingKey()
- {
- return _routingKey;
- }
-
- protected int getBodySize()
- {
- int size = 2;
- size += getSizeOf( _replyText );
- size += getSizeOf( _exchange );
- size += getSizeOf( _routingKey );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _replyCode );
- writeAMQShortString( buffer, _replyText );
- writeAMQShortString( buffer, _exchange );
- writeAMQShortString( buffer, _routingKey );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchBasicReturn(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[BasicReturnBodyImpl: ");
- buf.append( "replyCode=" );
- buf.append( getReplyCode() );
- buf.append( ", " );
- buf.append( "replyText=" );
- buf.append( getReplyText() );
- buf.append( ", " );
- buf.append( "exchange=" );
- buf.append( getExchange() );
- buf.append( ", " );
- buf.append( "routingKey=" );
- buf.append( getRoutingKey() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelCloseBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelCloseBodyImpl.java
deleted file mode 100644
index 77f0dc2c9a..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelCloseBodyImpl.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ChannelCloseBodyImpl extends AMQMethodBody_0_91 implements ChannelCloseBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ChannelCloseBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 20;
- public static final int METHOD_ID = 40;
-
- // Fields declared in specification
- private final int _replyCode; // [replyCode]
- private final AMQShortString _replyText; // [replyText]
- private final int _classId; // [classId]
- private final int _methodId; // [methodId]
-
- // Constructor
- public ChannelCloseBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _replyCode = readUnsignedShort( buffer );
- _replyText = readAMQShortString( buffer );
- _classId = readUnsignedShort( buffer );
- _methodId = readUnsignedShort( buffer );
- }
-
- public ChannelCloseBodyImpl(
- int replyCode,
- AMQShortString replyText,
- int classId,
- int methodId
- )
- {
- _replyCode = replyCode;
- _replyText = replyText;
- _classId = classId;
- _methodId = methodId;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getReplyCode()
- {
- return _replyCode;
- }
- public final AMQShortString getReplyText()
- {
- return _replyText;
- }
- public final int getClassId()
- {
- return _classId;
- }
- public final int getMethodId()
- {
- return _methodId;
- }
-
- protected int getBodySize()
- {
- int size = 6;
- size += getSizeOf( _replyText );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _replyCode );
- writeAMQShortString( buffer, _replyText );
- writeUnsignedShort( buffer, _classId );
- writeUnsignedShort( buffer, _methodId );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchChannelClose(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ChannelCloseBodyImpl: ");
- buf.append( "replyCode=" );
- buf.append( getReplyCode() );
- buf.append( ", " );
- buf.append( "replyText=" );
- buf.append( getReplyText() );
- buf.append( ", " );
- buf.append( "classId=" );
- buf.append( getClassId() );
- buf.append( ", " );
- buf.append( "methodId=" );
- buf.append( getMethodId() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelCloseOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelCloseOkBodyImpl.java
deleted file mode 100644
index 91dd7b998a..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelCloseOkBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ChannelCloseOkBodyImpl extends AMQMethodBody_0_91 implements ChannelCloseOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ChannelCloseOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 20;
- public static final int METHOD_ID = 41;
-
- // Fields declared in specification
-
- // Constructor
- public ChannelCloseOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public ChannelCloseOkBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchChannelCloseOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ChannelCloseOkBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelFlowBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelFlowBodyImpl.java
deleted file mode 100644
index ce22049d31..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelFlowBodyImpl.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ChannelFlowBodyImpl extends AMQMethodBody_0_91 implements ChannelFlowBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ChannelFlowBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 20;
- public static final int METHOD_ID = 20;
-
- // Fields declared in specification
- private final byte _bitfield0; // [active]
-
- // Constructor
- public ChannelFlowBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _bitfield0 = readBitfield( buffer );
- }
-
- public ChannelFlowBodyImpl(
- boolean active
- )
- {
- byte bitfield0 = (byte)0;
- if( active )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final boolean getActive()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 1;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchChannelFlow(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ChannelFlowBodyImpl: ");
- buf.append( "active=" );
- buf.append( getActive() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelFlowOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelFlowOkBodyImpl.java
deleted file mode 100644
index 427acd045c..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelFlowOkBodyImpl.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ChannelFlowOkBodyImpl extends AMQMethodBody_0_91 implements ChannelFlowOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ChannelFlowOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 20;
- public static final int METHOD_ID = 21;
-
- // Fields declared in specification
- private final byte _bitfield0; // [active]
-
- // Constructor
- public ChannelFlowOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _bitfield0 = readBitfield( buffer );
- }
-
- public ChannelFlowOkBodyImpl(
- boolean active
- )
- {
- byte bitfield0 = (byte)0;
- if( active )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final boolean getActive()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 1;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchChannelFlowOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ChannelFlowOkBodyImpl: ");
- buf.append( "active=" );
- buf.append( getActive() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelOpenBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelOpenBodyImpl.java
deleted file mode 100644
index e204006fb3..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelOpenBodyImpl.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ChannelOpenBodyImpl extends AMQMethodBody_0_91 implements ChannelOpenBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ChannelOpenBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 20;
- public static final int METHOD_ID = 10;
-
- // Fields declared in specification
- private final AMQShortString _outOfBand; // [outOfBand]
-
- // Constructor
- public ChannelOpenBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _outOfBand = readAMQShortString( buffer );
- }
-
- public ChannelOpenBodyImpl(
- AMQShortString outOfBand
- )
- {
- _outOfBand = outOfBand;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getOutOfBand()
- {
- return _outOfBand;
- }
-
- protected int getBodySize()
- {
- int size = 0;
- size += getSizeOf( _outOfBand );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _outOfBand );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchChannelOpen(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ChannelOpenBodyImpl: ");
- buf.append( "outOfBand=" );
- buf.append( getOutOfBand() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelOpenOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelOpenOkBodyImpl.java
index d891cb3374..b00769dc64 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelOpenOkBodyImpl.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ChannelOpenOkBodyImpl.java
@@ -34,7 +34,7 @@ import java.io.IOException;
import org.apache.qpid.framing.*;
import org.apache.qpid.AMQException;
-public class ChannelOpenOkBodyImpl extends AMQMethodBody_0_91 implements ChannelOpenOkBody
+public class ChannelOpenOkBodyImpl extends AMQMethodBodyImpl implements ChannelOpenOkBody
{
private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
{
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ClientMethodDispatcher_0_91.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ClientMethodDispatcher_0_91.java
index e60a4b6d0c..11fd973ec8 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ClientMethodDispatcher_0_91.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ClientMethodDispatcher_0_91.java
@@ -33,35 +33,7 @@ import org.apache.qpid.framing.*;
public interface ClientMethodDispatcher_0_91 extends ClientMethodDispatcher
{
- public boolean dispatchBasicCancelOk(BasicCancelOkBody body, int channelId) throws AMQException;
- public boolean dispatchBasicConsumeOk(BasicConsumeOkBody body, int channelId) throws AMQException;
- public boolean dispatchBasicDeliver(BasicDeliverBody body, int channelId) throws AMQException;
- public boolean dispatchBasicGetEmpty(BasicGetEmptyBody body, int channelId) throws AMQException;
- public boolean dispatchBasicGetOk(BasicGetOkBody body, int channelId) throws AMQException;
- public boolean dispatchBasicQosOk(BasicQosOkBody body, int channelId) throws AMQException;
public boolean dispatchBasicRecoverSyncOk(BasicRecoverSyncOkBody body, int channelId) throws AMQException;
- public boolean dispatchBasicReturn(BasicReturnBody body, int channelId) throws AMQException;
- public boolean dispatchChannelClose(ChannelCloseBody body, int channelId) throws AMQException;
- public boolean dispatchChannelCloseOk(ChannelCloseOkBody body, int channelId) throws AMQException;
- public boolean dispatchChannelFlow(ChannelFlowBody body, int channelId) throws AMQException;
- public boolean dispatchChannelFlowOk(ChannelFlowOkBody body, int channelId) throws AMQException;
- public boolean dispatchChannelOpenOk(ChannelOpenOkBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionClose(ConnectionCloseBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionCloseOk(ConnectionCloseOkBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionOpenOk(ConnectionOpenOkBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionSecure(ConnectionSecureBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionStart(ConnectionStartBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionTune(ConnectionTuneBody body, int channelId) throws AMQException;
- public boolean dispatchExchangeBoundOk(ExchangeBoundOkBody body, int channelId) throws AMQException;
- public boolean dispatchExchangeDeclareOk(ExchangeDeclareOkBody body, int channelId) throws AMQException;
- public boolean dispatchExchangeDeleteOk(ExchangeDeleteOkBody body, int channelId) throws AMQException;
- public boolean dispatchQueueBindOk(QueueBindOkBody body, int channelId) throws AMQException;
- public boolean dispatchQueueDeclareOk(QueueDeclareOkBody body, int channelId) throws AMQException;
- public boolean dispatchQueueDeleteOk(QueueDeleteOkBody body, int channelId) throws AMQException;
- public boolean dispatchQueuePurgeOk(QueuePurgeOkBody body, int channelId) throws AMQException;
public boolean dispatchQueueUnbindOk(QueueUnbindOkBody body, int channelId) throws AMQException;
- public boolean dispatchTxCommitOk(TxCommitOkBody body, int channelId) throws AMQException;
- public boolean dispatchTxRollbackOk(TxRollbackOkBody body, int channelId) throws AMQException;
- public boolean dispatchTxSelectOk(TxSelectOkBody body, int channelId) throws AMQException;
-} \ No newline at end of file
+}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseBodyImpl.java
index 92c78ac484..c63d33b48a 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseBodyImpl.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseBodyImpl.java
@@ -34,7 +34,7 @@ import java.io.IOException;
import org.apache.qpid.framing.*;
import org.apache.qpid.AMQException;
-public class ConnectionCloseBodyImpl extends AMQMethodBody_0_91 implements ConnectionCloseBody
+public class ConnectionCloseBodyImpl extends AMQMethodBodyImpl implements ConnectionCloseBody
{
private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
{
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseOkBodyImpl.java
index 8bf23cb8fb..4f9c5dabde 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseOkBodyImpl.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionCloseOkBodyImpl.java
@@ -34,7 +34,7 @@ import java.io.IOException;
import org.apache.qpid.framing.*;
import org.apache.qpid.AMQException;
-public class ConnectionCloseOkBodyImpl extends AMQMethodBody_0_91 implements ConnectionCloseOkBody
+public class ConnectionCloseOkBodyImpl extends AMQMethodBodyImpl implements ConnectionCloseOkBody
{
private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
{
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionOpenBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionOpenBodyImpl.java
deleted file mode 100644
index 20284f6462..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionOpenBodyImpl.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ConnectionOpenBodyImpl extends AMQMethodBody_0_91 implements ConnectionOpenBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ConnectionOpenBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 10;
- public static final int METHOD_ID = 40;
-
- // Fields declared in specification
- private final AMQShortString _virtualHost; // [virtualHost]
- private final AMQShortString _capabilities; // [capabilities]
- private final byte _bitfield0; // [insist]
-
- // Constructor
- public ConnectionOpenBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _virtualHost = readAMQShortString( buffer );
- _capabilities = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public ConnectionOpenBodyImpl(
- AMQShortString virtualHost,
- AMQShortString capabilities,
- boolean insist
- )
- {
- _virtualHost = virtualHost;
- _capabilities = capabilities;
- byte bitfield0 = (byte)0;
- if( insist )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getVirtualHost()
- {
- return _virtualHost;
- }
- public final AMQShortString getCapabilities()
- {
- return _capabilities;
- }
- public final boolean getInsist()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 1;
- size += getSizeOf( _virtualHost );
- size += getSizeOf( _capabilities );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _virtualHost );
- writeAMQShortString( buffer, _capabilities );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchConnectionOpen(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ConnectionOpenBodyImpl: ");
- buf.append( "virtualHost=" );
- buf.append( getVirtualHost() );
- buf.append( ", " );
- buf.append( "capabilities=" );
- buf.append( getCapabilities() );
- buf.append( ", " );
- buf.append( "insist=" );
- buf.append( getInsist() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionOpenOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionOpenOkBodyImpl.java
deleted file mode 100644
index 346b26f039..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionOpenOkBodyImpl.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ConnectionOpenOkBodyImpl extends AMQMethodBody_0_91 implements ConnectionOpenOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ConnectionOpenOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 10;
- public static final int METHOD_ID = 41;
-
- // Fields declared in specification
- private final AMQShortString _knownHosts; // [knownHosts]
-
- // Constructor
- public ConnectionOpenOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _knownHosts = readAMQShortString( buffer );
- }
-
- public ConnectionOpenOkBodyImpl(
- AMQShortString knownHosts
- )
- {
- _knownHosts = knownHosts;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getKnownHosts()
- {
- return _knownHosts;
- }
-
- protected int getBodySize()
- {
- int size = 0;
- size += getSizeOf( _knownHosts );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _knownHosts );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchConnectionOpenOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ConnectionOpenOkBodyImpl: ");
- buf.append( "knownHosts=" );
- buf.append( getKnownHosts() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionSecureBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionSecureBodyImpl.java
deleted file mode 100644
index 1573403c41..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionSecureBodyImpl.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ConnectionSecureBodyImpl extends AMQMethodBody_0_91 implements ConnectionSecureBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ConnectionSecureBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 10;
- public static final int METHOD_ID = 20;
-
- // Fields declared in specification
- private final byte[] _challenge; // [challenge]
-
- // Constructor
- public ConnectionSecureBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _challenge = readBytes( buffer );
- }
-
- public ConnectionSecureBodyImpl(
- byte[] challenge
- )
- {
- _challenge = challenge;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final byte[] getChallenge()
- {
- return _challenge;
- }
-
- protected int getBodySize()
- {
- int size = 0;
- size += getSizeOf( _challenge );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeBytes( buffer, _challenge );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchConnectionSecure(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ConnectionSecureBodyImpl: ");
- buf.append( "challenge=" );
- buf.append( getChallenge() == null ? "null" : java.util.Arrays.toString( getChallenge() ) );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionSecureOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionSecureOkBodyImpl.java
deleted file mode 100644
index bf44d51a00..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionSecureOkBodyImpl.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ConnectionSecureOkBodyImpl extends AMQMethodBody_0_91 implements ConnectionSecureOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ConnectionSecureOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 10;
- public static final int METHOD_ID = 21;
-
- // Fields declared in specification
- private final byte[] _response; // [response]
-
- // Constructor
- public ConnectionSecureOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _response = readBytes( buffer );
- }
-
- public ConnectionSecureOkBodyImpl(
- byte[] response
- )
- {
- _response = response;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final byte[] getResponse()
- {
- return _response;
- }
-
- protected int getBodySize()
- {
- int size = 0;
- size += getSizeOf( _response );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeBytes( buffer, _response );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchConnectionSecureOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ConnectionSecureOkBodyImpl: ");
- buf.append( "response=" );
- buf.append( getResponse() == null ? "null" : java.util.Arrays.toString( getResponse() ) );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionStartBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionStartBodyImpl.java
deleted file mode 100644
index b849c4fcfb..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionStartBodyImpl.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ConnectionStartBodyImpl extends AMQMethodBody_0_91 implements ConnectionStartBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ConnectionStartBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 10;
- public static final int METHOD_ID = 10;
-
- // Fields declared in specification
- private final short _versionMajor; // [versionMajor]
- private final short _versionMinor; // [versionMinor]
- private final FieldTable _serverProperties; // [serverProperties]
- private final byte[] _mechanisms; // [mechanisms]
- private final byte[] _locales; // [locales]
-
- // Constructor
- public ConnectionStartBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _versionMajor = readUnsignedByte( buffer );
- _versionMinor = readUnsignedByte( buffer );
- _serverProperties = readFieldTable( buffer );
- _mechanisms = readBytes( buffer );
- _locales = readBytes( buffer );
- }
-
- public ConnectionStartBodyImpl(
- short versionMajor,
- short versionMinor,
- FieldTable serverProperties,
- byte[] mechanisms,
- byte[] locales
- )
- {
- _versionMajor = versionMajor;
- _versionMinor = versionMinor;
- _serverProperties = serverProperties;
- _mechanisms = mechanisms;
- _locales = locales;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final short getVersionMajor()
- {
- return _versionMajor;
- }
- public final short getVersionMinor()
- {
- return _versionMinor;
- }
- public final FieldTable getServerProperties()
- {
- return _serverProperties;
- }
- public final byte[] getMechanisms()
- {
- return _mechanisms;
- }
- public final byte[] getLocales()
- {
- return _locales;
- }
-
- protected int getBodySize()
- {
- int size = 2;
- size += getSizeOf( _serverProperties );
- size += getSizeOf( _mechanisms );
- size += getSizeOf( _locales );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedByte( buffer, _versionMajor );
- writeUnsignedByte( buffer, _versionMinor );
- writeFieldTable( buffer, _serverProperties );
- writeBytes( buffer, _mechanisms );
- writeBytes( buffer, _locales );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchConnectionStart(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ConnectionStartBodyImpl: ");
- buf.append( "versionMajor=" );
- buf.append( getVersionMajor() );
- buf.append( ", " );
- buf.append( "versionMinor=" );
- buf.append( getVersionMinor() );
- buf.append( ", " );
- buf.append( "serverProperties=" );
- buf.append( getServerProperties() );
- buf.append( ", " );
- buf.append( "mechanisms=" );
- buf.append( getMechanisms() == null ? "null" : java.util.Arrays.toString( getMechanisms() ) );
- buf.append( ", " );
- buf.append( "locales=" );
- buf.append( getLocales() == null ? "null" : java.util.Arrays.toString( getLocales() ) );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionStartOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionStartOkBodyImpl.java
deleted file mode 100644
index 59bbf147e3..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionStartOkBodyImpl.java
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ConnectionStartOkBodyImpl extends AMQMethodBody_0_91 implements ConnectionStartOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ConnectionStartOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 10;
- public static final int METHOD_ID = 11;
-
- // Fields declared in specification
- private final FieldTable _clientProperties; // [clientProperties]
- private final AMQShortString _mechanism; // [mechanism]
- private final byte[] _response; // [response]
- private final AMQShortString _locale; // [locale]
-
- // Constructor
- public ConnectionStartOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _clientProperties = readFieldTable( buffer );
- _mechanism = readAMQShortString( buffer );
- _response = readBytes( buffer );
- _locale = readAMQShortString( buffer );
- }
-
- public ConnectionStartOkBodyImpl(
- FieldTable clientProperties,
- AMQShortString mechanism,
- byte[] response,
- AMQShortString locale
- )
- {
- _clientProperties = clientProperties;
- _mechanism = mechanism;
- _response = response;
- _locale = locale;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final FieldTable getClientProperties()
- {
- return _clientProperties;
- }
- public final AMQShortString getMechanism()
- {
- return _mechanism;
- }
- public final byte[] getResponse()
- {
- return _response;
- }
- public final AMQShortString getLocale()
- {
- return _locale;
- }
-
- protected int getBodySize()
- {
- int size = 0;
- size += getSizeOf( _clientProperties );
- size += getSizeOf( _mechanism );
- size += getSizeOf( _response );
- size += getSizeOf( _locale );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeFieldTable( buffer, _clientProperties );
- writeAMQShortString( buffer, _mechanism );
- writeBytes( buffer, _response );
- writeAMQShortString( buffer, _locale );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchConnectionStartOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ConnectionStartOkBodyImpl: ");
- buf.append( "clientProperties=" );
- buf.append( getClientProperties() );
- buf.append( ", " );
- buf.append( "mechanism=" );
- buf.append( getMechanism() );
- buf.append( ", " );
- buf.append( "response=" );
- buf.append( getResponse() == null ? "null" : java.util.Arrays.toString( getResponse() ) );
- buf.append( ", " );
- buf.append( "locale=" );
- buf.append( getLocale() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionTuneBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionTuneBodyImpl.java
deleted file mode 100644
index 2c98b56858..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionTuneBodyImpl.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ConnectionTuneBodyImpl extends AMQMethodBody_0_91 implements ConnectionTuneBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ConnectionTuneBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 10;
- public static final int METHOD_ID = 30;
-
- // Fields declared in specification
- private final int _channelMax; // [channelMax]
- private final long _frameMax; // [frameMax]
- private final int _heartbeat; // [heartbeat]
-
- // Constructor
- public ConnectionTuneBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _channelMax = readUnsignedShort( buffer );
- _frameMax = readUnsignedInteger( buffer );
- _heartbeat = readUnsignedShort( buffer );
- }
-
- public ConnectionTuneBodyImpl(
- int channelMax,
- long frameMax,
- int heartbeat
- )
- {
- _channelMax = channelMax;
- _frameMax = frameMax;
- _heartbeat = heartbeat;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getChannelMax()
- {
- return _channelMax;
- }
- public final long getFrameMax()
- {
- return _frameMax;
- }
- public final int getHeartbeat()
- {
- return _heartbeat;
- }
-
- protected int getBodySize()
- {
- int size = 8;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _channelMax );
- writeUnsignedInteger( buffer, _frameMax );
- writeUnsignedShort( buffer, _heartbeat );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchConnectionTune(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ConnectionTuneBodyImpl: ");
- buf.append( "channelMax=" );
- buf.append( getChannelMax() );
- buf.append( ", " );
- buf.append( "frameMax=" );
- buf.append( getFrameMax() );
- buf.append( ", " );
- buf.append( "heartbeat=" );
- buf.append( getHeartbeat() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionTuneOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionTuneOkBodyImpl.java
deleted file mode 100644
index 8a6a6aac3a..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ConnectionTuneOkBodyImpl.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ConnectionTuneOkBodyImpl extends AMQMethodBody_0_91 implements ConnectionTuneOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ConnectionTuneOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 10;
- public static final int METHOD_ID = 31;
-
- // Fields declared in specification
- private final int _channelMax; // [channelMax]
- private final long _frameMax; // [frameMax]
- private final int _heartbeat; // [heartbeat]
-
- // Constructor
- public ConnectionTuneOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _channelMax = readUnsignedShort( buffer );
- _frameMax = readUnsignedInteger( buffer );
- _heartbeat = readUnsignedShort( buffer );
- }
-
- public ConnectionTuneOkBodyImpl(
- int channelMax,
- long frameMax,
- int heartbeat
- )
- {
- _channelMax = channelMax;
- _frameMax = frameMax;
- _heartbeat = heartbeat;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getChannelMax()
- {
- return _channelMax;
- }
- public final long getFrameMax()
- {
- return _frameMax;
- }
- public final int getHeartbeat()
- {
- return _heartbeat;
- }
-
- protected int getBodySize()
- {
- int size = 8;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _channelMax );
- writeUnsignedInteger( buffer, _frameMax );
- writeUnsignedShort( buffer, _heartbeat );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchConnectionTuneOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ConnectionTuneOkBodyImpl: ");
- buf.append( "channelMax=" );
- buf.append( getChannelMax() );
- buf.append( ", " );
- buf.append( "frameMax=" );
- buf.append( getFrameMax() );
- buf.append( ", " );
- buf.append( "heartbeat=" );
- buf.append( getHeartbeat() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeBoundBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeBoundBodyImpl.java
deleted file mode 100644
index 69e70d7477..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeBoundBodyImpl.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ExchangeBoundBodyImpl extends AMQMethodBody_0_91 implements ExchangeBoundBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ExchangeBoundBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 40;
- public static final int METHOD_ID = 22;
-
- // Fields declared in specification
- private final AMQShortString _exchange; // [exchange]
- private final AMQShortString _routingKey; // [routingKey]
- private final AMQShortString _queue; // [queue]
-
- // Constructor
- public ExchangeBoundBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _exchange = readAMQShortString( buffer );
- _routingKey = readAMQShortString( buffer );
- _queue = readAMQShortString( buffer );
- }
-
- public ExchangeBoundBodyImpl(
- AMQShortString exchange,
- AMQShortString routingKey,
- AMQShortString queue
- )
- {
- _exchange = exchange;
- _routingKey = routingKey;
- _queue = queue;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getExchange()
- {
- return _exchange;
- }
- public final AMQShortString getRoutingKey()
- {
- return _routingKey;
- }
- public final AMQShortString getQueue()
- {
- return _queue;
- }
-
- protected int getBodySize()
- {
- int size = 0;
- size += getSizeOf( _exchange );
- size += getSizeOf( _routingKey );
- size += getSizeOf( _queue );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _exchange );
- writeAMQShortString( buffer, _routingKey );
- writeAMQShortString( buffer, _queue );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchExchangeBound(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ExchangeBoundBodyImpl: ");
- buf.append( "exchange=" );
- buf.append( getExchange() );
- buf.append( ", " );
- buf.append( "routingKey=" );
- buf.append( getRoutingKey() );
- buf.append( ", " );
- buf.append( "queue=" );
- buf.append( getQueue() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeBoundOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeBoundOkBodyImpl.java
deleted file mode 100644
index c21838081f..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeBoundOkBodyImpl.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ExchangeBoundOkBodyImpl extends AMQMethodBody_0_91 implements ExchangeBoundOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ExchangeBoundOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 40;
- public static final int METHOD_ID = 23;
-
- // Fields declared in specification
- private final int _replyCode; // [replyCode]
- private final AMQShortString _replyText; // [replyText]
-
- // Constructor
- public ExchangeBoundOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _replyCode = readUnsignedShort( buffer );
- _replyText = readAMQShortString( buffer );
- }
-
- public ExchangeBoundOkBodyImpl(
- int replyCode,
- AMQShortString replyText
- )
- {
- _replyCode = replyCode;
- _replyText = replyText;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getReplyCode()
- {
- return _replyCode;
- }
- public final AMQShortString getReplyText()
- {
- return _replyText;
- }
-
- protected int getBodySize()
- {
- int size = 2;
- size += getSizeOf( _replyText );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _replyCode );
- writeAMQShortString( buffer, _replyText );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchExchangeBoundOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ExchangeBoundOkBodyImpl: ");
- buf.append( "replyCode=" );
- buf.append( getReplyCode() );
- buf.append( ", " );
- buf.append( "replyText=" );
- buf.append( getReplyText() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeclareBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeclareBodyImpl.java
deleted file mode 100644
index 68b9ce084d..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeclareBodyImpl.java
+++ /dev/null
@@ -1,220 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ExchangeDeclareBodyImpl extends AMQMethodBody_0_91 implements ExchangeDeclareBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ExchangeDeclareBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 40;
- public static final int METHOD_ID = 10;
-
- // Fields declared in specification
- private final int _ticket; // [ticket]
- private final AMQShortString _exchange; // [exchange]
- private final AMQShortString _type; // [type]
- private final byte _bitfield0; // [passive, durable, autoDelete, internal, nowait]
- private final FieldTable _arguments; // [arguments]
-
- // Constructor
- public ExchangeDeclareBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _ticket = readUnsignedShort( buffer );
- _exchange = readAMQShortString( buffer );
- _type = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- _arguments = readFieldTable( buffer );
- }
-
- public ExchangeDeclareBodyImpl(
- int ticket,
- AMQShortString exchange,
- AMQShortString type,
- boolean passive,
- boolean durable,
- boolean autoDelete,
- boolean internal,
- boolean nowait,
- FieldTable arguments
- )
- {
- _ticket = ticket;
- _exchange = exchange;
- _type = type;
- byte bitfield0 = (byte)0;
- if( passive )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
-
- if( durable )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 1));
- }
-
- if( autoDelete )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 2));
- }
-
- if( internal )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 3));
- }
-
- if( nowait )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 4));
- }
-
- _bitfield0 = bitfield0;
- _arguments = arguments;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getTicket()
- {
- return _ticket;
- }
- public final AMQShortString getExchange()
- {
- return _exchange;
- }
- public final AMQShortString getType()
- {
- return _type;
- }
- public final boolean getPassive()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
- public final boolean getDurable()
- {
- return (((int)(_bitfield0)) & ( 1 << 1)) != 0;
- }
- public final boolean getAutoDelete()
- {
- return (((int)(_bitfield0)) & ( 1 << 2)) != 0;
- }
- public final boolean getInternal()
- {
- return (((int)(_bitfield0)) & ( 1 << 3)) != 0;
- }
- public final boolean getNowait()
- {
- return (((int)(_bitfield0)) & ( 1 << 4)) != 0;
- }
- public final FieldTable getArguments()
- {
- return _arguments;
- }
-
- protected int getBodySize()
- {
- int size = 3;
- size += getSizeOf( _exchange );
- size += getSizeOf( _type );
- size += getSizeOf( _arguments );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _ticket );
- writeAMQShortString( buffer, _exchange );
- writeAMQShortString( buffer, _type );
- writeBitfield( buffer, _bitfield0 );
- writeFieldTable( buffer, _arguments );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchExchangeDeclare(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ExchangeDeclareBodyImpl: ");
- buf.append( "ticket=" );
- buf.append( getTicket() );
- buf.append( ", " );
- buf.append( "exchange=" );
- buf.append( getExchange() );
- buf.append( ", " );
- buf.append( "type=" );
- buf.append( getType() );
- buf.append( ", " );
- buf.append( "passive=" );
- buf.append( getPassive() );
- buf.append( ", " );
- buf.append( "durable=" );
- buf.append( getDurable() );
- buf.append( ", " );
- buf.append( "autoDelete=" );
- buf.append( getAutoDelete() );
- buf.append( ", " );
- buf.append( "internal=" );
- buf.append( getInternal() );
- buf.append( ", " );
- buf.append( "nowait=" );
- buf.append( getNowait() );
- buf.append( ", " );
- buf.append( "arguments=" );
- buf.append( getArguments() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeclareOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeclareOkBodyImpl.java
deleted file mode 100644
index 2861d1e954..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeclareOkBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ExchangeDeclareOkBodyImpl extends AMQMethodBody_0_91 implements ExchangeDeclareOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ExchangeDeclareOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 40;
- public static final int METHOD_ID = 11;
-
- // Fields declared in specification
-
- // Constructor
- public ExchangeDeclareOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public ExchangeDeclareOkBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchExchangeDeclareOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ExchangeDeclareOkBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeleteBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeleteBodyImpl.java
deleted file mode 100644
index f259d6433d..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeleteBodyImpl.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ExchangeDeleteBodyImpl extends AMQMethodBody_0_91 implements ExchangeDeleteBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ExchangeDeleteBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 40;
- public static final int METHOD_ID = 20;
-
- // Fields declared in specification
- private final int _ticket; // [ticket]
- private final AMQShortString _exchange; // [exchange]
- private final byte _bitfield0; // [ifUnused, nowait]
-
- // Constructor
- public ExchangeDeleteBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _ticket = readUnsignedShort( buffer );
- _exchange = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public ExchangeDeleteBodyImpl(
- int ticket,
- AMQShortString exchange,
- boolean ifUnused,
- boolean nowait
- )
- {
- _ticket = ticket;
- _exchange = exchange;
- byte bitfield0 = (byte)0;
- if( ifUnused )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
-
- if( nowait )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 1));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getTicket()
- {
- return _ticket;
- }
- public final AMQShortString getExchange()
- {
- return _exchange;
- }
- public final boolean getIfUnused()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
- public final boolean getNowait()
- {
- return (((int)(_bitfield0)) & ( 1 << 1)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 3;
- size += getSizeOf( _exchange );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _ticket );
- writeAMQShortString( buffer, _exchange );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchExchangeDelete(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ExchangeDeleteBodyImpl: ");
- buf.append( "ticket=" );
- buf.append( getTicket() );
- buf.append( ", " );
- buf.append( "exchange=" );
- buf.append( getExchange() );
- buf.append( ", " );
- buf.append( "ifUnused=" );
- buf.append( getIfUnused() );
- buf.append( ", " );
- buf.append( "nowait=" );
- buf.append( getNowait() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeleteOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeleteOkBodyImpl.java
deleted file mode 100644
index fc4ef99a5b..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ExchangeDeleteOkBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class ExchangeDeleteOkBodyImpl extends AMQMethodBody_0_91 implements ExchangeDeleteOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new ExchangeDeleteOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 40;
- public static final int METHOD_ID = 21;
-
- // Fields declared in specification
-
- // Constructor
- public ExchangeDeleteOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public ExchangeDeleteOkBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchExchangeDeleteOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[ExchangeDeleteOkBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodConverter_0_91.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodConverter_0_91.java
index e25dc8a022..3977013581 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodConverter_0_91.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodConverter_0_91.java
@@ -24,6 +24,7 @@ package org.apache.qpid.framing.amqp_0_91;
import org.apache.qpid.framing.AMQMethodBody;
import org.apache.qpid.framing.AMQShortString;
import org.apache.qpid.framing.BasicPublishBody;
+import org.apache.qpid.framing.BasicPublishBodyImpl;
import org.apache.qpid.framing.abstraction.AbstractMethodConverter;
import org.apache.qpid.framing.abstraction.MessagePublishInfo;
import org.apache.qpid.framing.abstraction.MessagePublishInfoImpl;
@@ -63,4 +64,4 @@ public class MethodConverter_0_91 extends AbstractMethodConverter implements Pro
}
-} \ No newline at end of file
+}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodRegistry_0_91.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodRegistry_0_91.java
index 40970f2266..00ec40f8cc 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodRegistry_0_91.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/MethodRegistry_0_91.java
@@ -27,17 +27,15 @@
package org.apache.qpid.framing.amqp_0_91;
-import org.apache.qpid.framing.*;
-import org.apache.qpid.protocol.AMQConstant;
-
+import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.io.IOException;
-
-import org.apache.qpid.framing.abstraction.ProtocolVersionMethodConverter;
import org.apache.qpid.codec.MarkableDataInput;
+import org.apache.qpid.framing.*;
+import org.apache.qpid.framing.abstraction.ProtocolVersionMethodConverter;
+import org.apache.qpid.protocol.AMQConstant;
public class MethodRegistry_0_91 extends MethodRegistry
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueBindBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueBindBodyImpl.java
deleted file mode 100644
index 3c79181d1d..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueBindBodyImpl.java
+++ /dev/null
@@ -1,181 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class QueueBindBodyImpl extends AMQMethodBody_0_91 implements QueueBindBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new QueueBindBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 50;
- public static final int METHOD_ID = 20;
-
- // Fields declared in specification
- private final int _ticket; // [ticket]
- private final AMQShortString _queue; // [queue]
- private final AMQShortString _exchange; // [exchange]
- private final AMQShortString _routingKey; // [routingKey]
- private final byte _bitfield0; // [nowait]
- private final FieldTable _arguments; // [arguments]
-
- // Constructor
- public QueueBindBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _ticket = readUnsignedShort( buffer );
- _queue = readAMQShortString( buffer );
- _exchange = readAMQShortString( buffer );
- _routingKey = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- _arguments = readFieldTable( buffer );
- }
-
- public QueueBindBodyImpl(
- int ticket,
- AMQShortString queue,
- AMQShortString exchange,
- AMQShortString routingKey,
- boolean nowait,
- FieldTable arguments
- )
- {
- _ticket = ticket;
- _queue = queue;
- _exchange = exchange;
- _routingKey = routingKey;
- byte bitfield0 = (byte)0;
- if( nowait )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
-
- _bitfield0 = bitfield0;
- _arguments = arguments;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getTicket()
- {
- return _ticket;
- }
- public final AMQShortString getQueue()
- {
- return _queue;
- }
- public final AMQShortString getExchange()
- {
- return _exchange;
- }
- public final AMQShortString getRoutingKey()
- {
- return _routingKey;
- }
- public final boolean getNowait()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
- public final FieldTable getArguments()
- {
- return _arguments;
- }
-
- protected int getBodySize()
- {
- int size = 3;
- size += getSizeOf( _queue );
- size += getSizeOf( _exchange );
- size += getSizeOf( _routingKey );
- size += getSizeOf( _arguments );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _ticket );
- writeAMQShortString( buffer, _queue );
- writeAMQShortString( buffer, _exchange );
- writeAMQShortString( buffer, _routingKey );
- writeBitfield( buffer, _bitfield0 );
- writeFieldTable( buffer, _arguments );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchQueueBind(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[QueueBindBodyImpl: ");
- buf.append( "ticket=" );
- buf.append( getTicket() );
- buf.append( ", " );
- buf.append( "queue=" );
- buf.append( getQueue() );
- buf.append( ", " );
- buf.append( "exchange=" );
- buf.append( getExchange() );
- buf.append( ", " );
- buf.append( "routingKey=" );
- buf.append( getRoutingKey() );
- buf.append( ", " );
- buf.append( "nowait=" );
- buf.append( getNowait() );
- buf.append( ", " );
- buf.append( "arguments=" );
- buf.append( getArguments() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueBindOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueBindOkBodyImpl.java
deleted file mode 100644
index b73ed8840d..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueBindOkBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class QueueBindOkBodyImpl extends AMQMethodBody_0_91 implements QueueBindOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new QueueBindOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 50;
- public static final int METHOD_ID = 21;
-
- // Fields declared in specification
-
- // Constructor
- public QueueBindOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public QueueBindOkBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchQueueBindOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[QueueBindOkBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeclareBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeclareBodyImpl.java
deleted file mode 100644
index 3f315cd239..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeclareBodyImpl.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class QueueDeclareBodyImpl extends AMQMethodBody_0_91 implements QueueDeclareBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new QueueDeclareBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 50;
- public static final int METHOD_ID = 10;
-
- // Fields declared in specification
- private final int _ticket; // [ticket]
- private final AMQShortString _queue; // [queue]
- private final byte _bitfield0; // [passive, durable, exclusive, autoDelete, nowait]
- private final FieldTable _arguments; // [arguments]
-
- // Constructor
- public QueueDeclareBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _ticket = readUnsignedShort( buffer );
- _queue = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- _arguments = readFieldTable( buffer );
- }
-
- public QueueDeclareBodyImpl(
- int ticket,
- AMQShortString queue,
- boolean passive,
- boolean durable,
- boolean exclusive,
- boolean autoDelete,
- boolean nowait,
- FieldTable arguments
- )
- {
- _ticket = ticket;
- _queue = queue;
- byte bitfield0 = (byte)0;
- if( passive )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
-
- if( durable )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 1));
- }
-
- if( exclusive )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 2));
- }
-
- if( autoDelete )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 3));
- }
-
- if( nowait )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 4));
- }
-
- _bitfield0 = bitfield0;
- _arguments = arguments;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getTicket()
- {
- return _ticket;
- }
- public final AMQShortString getQueue()
- {
- return _queue;
- }
- public final boolean getPassive()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
- public final boolean getDurable()
- {
- return (((int)(_bitfield0)) & ( 1 << 1)) != 0;
- }
- public final boolean getExclusive()
- {
- return (((int)(_bitfield0)) & ( 1 << 2)) != 0;
- }
- public final boolean getAutoDelete()
- {
- return (((int)(_bitfield0)) & ( 1 << 3)) != 0;
- }
- public final boolean getNowait()
- {
- return (((int)(_bitfield0)) & ( 1 << 4)) != 0;
- }
- public final FieldTable getArguments()
- {
- return _arguments;
- }
-
- protected int getBodySize()
- {
- int size = 3;
- size += getSizeOf( _queue );
- size += getSizeOf( _arguments );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _ticket );
- writeAMQShortString( buffer, _queue );
- writeBitfield( buffer, _bitfield0 );
- writeFieldTable( buffer, _arguments );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchQueueDeclare(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[QueueDeclareBodyImpl: ");
- buf.append( "ticket=" );
- buf.append( getTicket() );
- buf.append( ", " );
- buf.append( "queue=" );
- buf.append( getQueue() );
- buf.append( ", " );
- buf.append( "passive=" );
- buf.append( getPassive() );
- buf.append( ", " );
- buf.append( "durable=" );
- buf.append( getDurable() );
- buf.append( ", " );
- buf.append( "exclusive=" );
- buf.append( getExclusive() );
- buf.append( ", " );
- buf.append( "autoDelete=" );
- buf.append( getAutoDelete() );
- buf.append( ", " );
- buf.append( "nowait=" );
- buf.append( getNowait() );
- buf.append( ", " );
- buf.append( "arguments=" );
- buf.append( getArguments() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeclareOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeclareOkBodyImpl.java
deleted file mode 100644
index 6f4452199d..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeclareOkBodyImpl.java
+++ /dev/null
@@ -1,136 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class QueueDeclareOkBodyImpl extends AMQMethodBody_0_91 implements QueueDeclareOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new QueueDeclareOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 50;
- public static final int METHOD_ID = 11;
-
- // Fields declared in specification
- private final AMQShortString _queue; // [queue]
- private final long _messageCount; // [messageCount]
- private final long _consumerCount; // [consumerCount]
-
- // Constructor
- public QueueDeclareOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _queue = readAMQShortString( buffer );
- _messageCount = readUnsignedInteger( buffer );
- _consumerCount = readUnsignedInteger( buffer );
- }
-
- public QueueDeclareOkBodyImpl(
- AMQShortString queue,
- long messageCount,
- long consumerCount
- )
- {
- _queue = queue;
- _messageCount = messageCount;
- _consumerCount = consumerCount;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final AMQShortString getQueue()
- {
- return _queue;
- }
- public final long getMessageCount()
- {
- return _messageCount;
- }
- public final long getConsumerCount()
- {
- return _consumerCount;
- }
-
- protected int getBodySize()
- {
- int size = 8;
- size += getSizeOf( _queue );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeAMQShortString( buffer, _queue );
- writeUnsignedInteger( buffer, _messageCount );
- writeUnsignedInteger( buffer, _consumerCount );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchQueueDeclareOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[QueueDeclareOkBodyImpl: ");
- buf.append( "queue=" );
- buf.append( getQueue() );
- buf.append( ", " );
- buf.append( "messageCount=" );
- buf.append( getMessageCount() );
- buf.append( ", " );
- buf.append( "consumerCount=" );
- buf.append( getConsumerCount() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeleteBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeleteBodyImpl.java
deleted file mode 100644
index 1d021d9c18..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeleteBodyImpl.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class QueueDeleteBodyImpl extends AMQMethodBody_0_91 implements QueueDeleteBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new QueueDeleteBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 50;
- public static final int METHOD_ID = 40;
-
- // Fields declared in specification
- private final int _ticket; // [ticket]
- private final AMQShortString _queue; // [queue]
- private final byte _bitfield0; // [ifUnused, ifEmpty, nowait]
-
- // Constructor
- public QueueDeleteBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _ticket = readUnsignedShort( buffer );
- _queue = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public QueueDeleteBodyImpl(
- int ticket,
- AMQShortString queue,
- boolean ifUnused,
- boolean ifEmpty,
- boolean nowait
- )
- {
- _ticket = ticket;
- _queue = queue;
- byte bitfield0 = (byte)0;
- if( ifUnused )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
-
- if( ifEmpty )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 1));
- }
-
- if( nowait )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 2));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getTicket()
- {
- return _ticket;
- }
- public final AMQShortString getQueue()
- {
- return _queue;
- }
- public final boolean getIfUnused()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
- public final boolean getIfEmpty()
- {
- return (((int)(_bitfield0)) & ( 1 << 1)) != 0;
- }
- public final boolean getNowait()
- {
- return (((int)(_bitfield0)) & ( 1 << 2)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 3;
- size += getSizeOf( _queue );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _ticket );
- writeAMQShortString( buffer, _queue );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchQueueDelete(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[QueueDeleteBodyImpl: ");
- buf.append( "ticket=" );
- buf.append( getTicket() );
- buf.append( ", " );
- buf.append( "queue=" );
- buf.append( getQueue() );
- buf.append( ", " );
- buf.append( "ifUnused=" );
- buf.append( getIfUnused() );
- buf.append( ", " );
- buf.append( "ifEmpty=" );
- buf.append( getIfEmpty() );
- buf.append( ", " );
- buf.append( "nowait=" );
- buf.append( getNowait() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeleteOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeleteOkBodyImpl.java
deleted file mode 100644
index 30e54e15a2..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueDeleteOkBodyImpl.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class QueueDeleteOkBodyImpl extends AMQMethodBody_0_91 implements QueueDeleteOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new QueueDeleteOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 50;
- public static final int METHOD_ID = 41;
-
- // Fields declared in specification
- private final long _messageCount; // [messageCount]
-
- // Constructor
- public QueueDeleteOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _messageCount = readUnsignedInteger( buffer );
- }
-
- public QueueDeleteOkBodyImpl(
- long messageCount
- )
- {
- _messageCount = messageCount;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final long getMessageCount()
- {
- return _messageCount;
- }
-
- protected int getBodySize()
- {
- int size = 4;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedInteger( buffer, _messageCount );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchQueueDeleteOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[QueueDeleteOkBodyImpl: ");
- buf.append( "messageCount=" );
- buf.append( getMessageCount() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueuePurgeBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueuePurgeBodyImpl.java
deleted file mode 100644
index b217a8b3f2..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueuePurgeBodyImpl.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class QueuePurgeBodyImpl extends AMQMethodBody_0_91 implements QueuePurgeBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new QueuePurgeBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 50;
- public static final int METHOD_ID = 30;
-
- // Fields declared in specification
- private final int _ticket; // [ticket]
- private final AMQShortString _queue; // [queue]
- private final byte _bitfield0; // [nowait]
-
- // Constructor
- public QueuePurgeBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _ticket = readUnsignedShort( buffer );
- _queue = readAMQShortString( buffer );
- _bitfield0 = readBitfield( buffer );
- }
-
- public QueuePurgeBodyImpl(
- int ticket,
- AMQShortString queue,
- boolean nowait
- )
- {
- _ticket = ticket;
- _queue = queue;
- byte bitfield0 = (byte)0;
- if( nowait )
- {
- bitfield0 = (byte) (((int) bitfield0) | (1 << 0));
- }
- _bitfield0 = bitfield0;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final int getTicket()
- {
- return _ticket;
- }
- public final AMQShortString getQueue()
- {
- return _queue;
- }
- public final boolean getNowait()
- {
- return (((int)(_bitfield0)) & ( 1 << 0)) != 0;
- }
-
- protected int getBodySize()
- {
- int size = 3;
- size += getSizeOf( _queue );
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedShort( buffer, _ticket );
- writeAMQShortString( buffer, _queue );
- writeBitfield( buffer, _bitfield0 );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchQueuePurge(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[QueuePurgeBodyImpl: ");
- buf.append( "ticket=" );
- buf.append( getTicket() );
- buf.append( ", " );
- buf.append( "queue=" );
- buf.append( getQueue() );
- buf.append( ", " );
- buf.append( "nowait=" );
- buf.append( getNowait() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueuePurgeOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueuePurgeOkBodyImpl.java
deleted file mode 100644
index 268ebcff54..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueuePurgeOkBodyImpl.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class QueuePurgeOkBodyImpl extends AMQMethodBody_0_91 implements QueuePurgeOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new QueuePurgeOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 50;
- public static final int METHOD_ID = 31;
-
- // Fields declared in specification
- private final long _messageCount; // [messageCount]
-
- // Constructor
- public QueuePurgeOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- _messageCount = readUnsignedInteger( buffer );
- }
-
- public QueuePurgeOkBodyImpl(
- long messageCount
- )
- {
- _messageCount = messageCount;
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
- public final long getMessageCount()
- {
- return _messageCount;
- }
-
- protected int getBodySize()
- {
- int size = 4;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- writeUnsignedInteger( buffer, _messageCount );
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchQueuePurgeOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[QueuePurgeOkBodyImpl: ");
- buf.append( "messageCount=" );
- buf.append( getMessageCount() );
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindBodyImpl.java
index d29db36ffa..6a64e59d24 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindBodyImpl.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindBodyImpl.java
@@ -34,7 +34,7 @@ import java.io.IOException;
import org.apache.qpid.framing.*;
import org.apache.qpid.AMQException;
-public class QueueUnbindBodyImpl extends AMQMethodBody_0_91 implements QueueUnbindBody
+public class QueueUnbindBodyImpl extends AMQMethodBodyImpl implements QueueUnbindBody
{
private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
{
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindOkBodyImpl.java
index 01747fa536..6efd2fd596 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindOkBodyImpl.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/QueueUnbindOkBodyImpl.java
@@ -34,7 +34,7 @@ import java.io.IOException;
import org.apache.qpid.framing.*;
import org.apache.qpid.AMQException;
-public class QueueUnbindOkBodyImpl extends AMQMethodBody_0_91 implements QueueUnbindOkBody
+public class QueueUnbindOkBodyImpl extends AMQMethodBodyImpl implements QueueUnbindOkBody
{
private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
{
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ServerMethodDispatcher_0_91.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ServerMethodDispatcher_0_91.java
index b24b8253d2..7f85c2beb7 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ServerMethodDispatcher_0_91.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/ServerMethodDispatcher_0_91.java
@@ -34,36 +34,7 @@ import org.apache.qpid.framing.*;
public interface ServerMethodDispatcher_0_91 extends ServerMethodDispatcher
{
- public boolean dispatchBasicAck(BasicAckBody body, int channelId) throws AMQException;
- public boolean dispatchBasicCancel(BasicCancelBody body, int channelId) throws AMQException;
- public boolean dispatchBasicConsume(BasicConsumeBody body, int channelId) throws AMQException;
- public boolean dispatchBasicGet(BasicGetBody body, int channelId) throws AMQException;
- public boolean dispatchBasicPublish(BasicPublishBody body, int channelId) throws AMQException;
- public boolean dispatchBasicQos(BasicQosBody body, int channelId) throws AMQException;
- public boolean dispatchBasicRecover(BasicRecoverBody body, int channelId) throws AMQException;
public boolean dispatchBasicRecoverSync(BasicRecoverSyncBody body, int channelId) throws AMQException;
- public boolean dispatchBasicReject(BasicRejectBody body, int channelId) throws AMQException;
- public boolean dispatchChannelClose(ChannelCloseBody body, int channelId) throws AMQException;
- public boolean dispatchChannelCloseOk(ChannelCloseOkBody body, int channelId) throws AMQException;
- public boolean dispatchChannelFlow(ChannelFlowBody body, int channelId) throws AMQException;
- public boolean dispatchChannelFlowOk(ChannelFlowOkBody body, int channelId) throws AMQException;
- public boolean dispatchChannelOpen(ChannelOpenBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionClose(ConnectionCloseBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionCloseOk(ConnectionCloseOkBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionOpen(ConnectionOpenBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionSecureOk(ConnectionSecureOkBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionStartOk(ConnectionStartOkBody body, int channelId) throws AMQException;
- public boolean dispatchConnectionTuneOk(ConnectionTuneOkBody body, int channelId) throws AMQException;
- public boolean dispatchExchangeBound(ExchangeBoundBody body, int channelId) throws AMQException;
- public boolean dispatchExchangeDeclare(ExchangeDeclareBody body, int channelId) throws AMQException;
- public boolean dispatchExchangeDelete(ExchangeDeleteBody body, int channelId) throws AMQException;
- public boolean dispatchQueueBind(QueueBindBody body, int channelId) throws AMQException;
- public boolean dispatchQueueDeclare(QueueDeclareBody body, int channelId) throws AMQException;
- public boolean dispatchQueueDelete(QueueDeleteBody body, int channelId) throws AMQException;
- public boolean dispatchQueuePurge(QueuePurgeBody body, int channelId) throws AMQException;
public boolean dispatchQueueUnbind(QueueUnbindBody body, int channelId) throws AMQException;
- public boolean dispatchTxCommit(TxCommitBody body, int channelId) throws AMQException;
- public boolean dispatchTxRollback(TxRollbackBody body, int channelId) throws AMQException;
- public boolean dispatchTxSelect(TxSelectBody body, int channelId) throws AMQException;
-} \ No newline at end of file
+}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxCommitBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxCommitBodyImpl.java
deleted file mode 100644
index 8e2427efc4..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxCommitBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class TxCommitBodyImpl extends AMQMethodBody_0_91 implements TxCommitBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new TxCommitBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 90;
- public static final int METHOD_ID = 20;
-
- // Fields declared in specification
-
- // Constructor
- public TxCommitBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public TxCommitBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchTxCommit(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[TxCommitBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxCommitOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxCommitOkBodyImpl.java
deleted file mode 100644
index df7af95c0f..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxCommitOkBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class TxCommitOkBodyImpl extends AMQMethodBody_0_91 implements TxCommitOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new TxCommitOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 90;
- public static final int METHOD_ID = 21;
-
- // Fields declared in specification
-
- // Constructor
- public TxCommitOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public TxCommitOkBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchTxCommitOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[TxCommitOkBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxRollbackBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxRollbackBodyImpl.java
deleted file mode 100644
index 3b3e1d5366..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxRollbackBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class TxRollbackBodyImpl extends AMQMethodBody_0_91 implements TxRollbackBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new TxRollbackBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 90;
- public static final int METHOD_ID = 30;
-
- // Fields declared in specification
-
- // Constructor
- public TxRollbackBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public TxRollbackBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchTxRollback(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[TxRollbackBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxRollbackOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxRollbackOkBodyImpl.java
deleted file mode 100644
index 0d820a4b82..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxRollbackOkBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class TxRollbackOkBodyImpl extends AMQMethodBody_0_91 implements TxRollbackOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new TxRollbackOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 90;
- public static final int METHOD_ID = 31;
-
- // Fields declared in specification
-
- // Constructor
- public TxRollbackOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public TxRollbackOkBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchTxRollbackOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[TxRollbackOkBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxSelectBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxSelectBodyImpl.java
deleted file mode 100644
index ad0fe78e9a..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxSelectBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class TxSelectBodyImpl extends AMQMethodBody_0_91 implements TxSelectBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new TxSelectBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 90;
- public static final int METHOD_ID = 10;
-
- // Fields declared in specification
-
- // Constructor
- public TxSelectBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public TxSelectBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchTxSelect(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[TxSelectBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxSelectOkBodyImpl.java b/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxSelectOkBodyImpl.java
deleted file mode 100644
index bfc6296b24..0000000000
--- a/java/common/src/main/java/org/apache/qpid/framing/amqp_0_91/TxSelectOkBodyImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-/*
- * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
- * Supported AMQP version:
- * 0-91
- */
-
-package org.apache.qpid.framing.amqp_0_91;
-
-import org.apache.qpid.codec.MarkableDataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-import org.apache.qpid.framing.*;
-import org.apache.qpid.AMQException;
-
-public class TxSelectOkBodyImpl extends AMQMethodBody_0_91 implements TxSelectOkBody
-{
- private static final AMQMethodBodyInstanceFactory FACTORY_INSTANCE = new AMQMethodBodyInstanceFactory()
- {
- public AMQMethodBody newInstance(MarkableDataInput in, long size) throws AMQFrameDecodingException, IOException
- {
- return new TxSelectOkBodyImpl(in);
- }
- };
-
- public static AMQMethodBodyInstanceFactory getFactory()
- {
- return FACTORY_INSTANCE;
- }
-
- public static final int CLASS_ID = 90;
- public static final int METHOD_ID = 11;
-
- // Fields declared in specification
-
- // Constructor
- public TxSelectOkBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
- {
- }
-
- public TxSelectOkBodyImpl(
- )
- {
- }
-
- public int getClazz()
- {
- return CLASS_ID;
- }
-
- public int getMethod()
- {
- return METHOD_ID;
- }
-
-
- protected int getBodySize()
- {
- int size = 0;
- return size;
- }
-
- public void writeMethodPayload(DataOutput buffer) throws IOException
- {
- }
-
- public boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
- {
- return ((MethodDispatcher_0_91)dispatcher).dispatchTxSelectOk(this, channelId);
- }
-
- public String toString()
- {
- StringBuilder buf = new StringBuilder("[TxSelectOkBodyImpl: ");
- buf.append("]");
- return buf.toString();
- }
-
-}