diff options
| author | Keith Wall <kwall@apache.org> | 2014-09-12 13:25:49 +0000 |
|---|---|---|
| committer | Keith Wall <kwall@apache.org> | 2014-09-12 13:25:49 +0000 |
| commit | a45156eed3719b9932f1ecc47777599a8215695b (patch) | |
| tree | b5e80075dc44c1fe17b6d57e51d145e7a81d7bee /qpid/java | |
| parent | 08def8999dd2b7c11a5aa59534021372d928f109 (diff) | |
| download | qpid-python-a45156eed3719b9932f1ecc47777599a8215695b.tar.gz | |
QPID-6081, QPID-6082: [Python Client Tests] Add python tests for verifying the receipt of large messages occupying more than one frame (08-091)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624545 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/output/ProtocolOutputConverterImpl.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/qpid/java/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/output/ProtocolOutputConverterImpl.java b/qpid/java/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/output/ProtocolOutputConverterImpl.java index 9e41f7884c..46a575e934 100644 --- a/qpid/java/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/output/ProtocolOutputConverterImpl.java +++ b/qpid/java/broker-plugins/amqp-0-8-protocol/src/main/java/org/apache/qpid/server/protocol/v0_8/output/ProtocolOutputConverterImpl.java @@ -225,9 +225,9 @@ class ProtocolOutputConverterImpl implements ProtocolOutputConverter private class MessageContentSourceBody implements AMQBody { public static final byte TYPE = 3; - private int _length; - private MessageContentSource _message; - private int _offset; + private final int _length; + private final MessageContentSource _message; + private final int _offset; public MessageContentSourceBody(MessageContentSource message, int offset, int length) { @@ -269,6 +269,13 @@ class ProtocolOutputConverterImpl implements ProtocolOutputConverter { throw new UnsupportedOperationException(); } + + @Override + public String toString() + { + return "[" + getClass().getSimpleName() + " offset: " + _offset + ", length: " + _length + "]"; + } + } public long writeGetOk(final ServerMessage msg, |
