diff options
author | Steven Shaw <steshaw@apache.org> | 2006-12-12 17:36:17 +0000 |
---|---|---|
committer | Steven Shaw <steshaw@apache.org> | 2006-12-12 17:36:17 +0000 |
commit | ad8fa512e788075a4573678738b6f11f1c8cbd59 (patch) | |
tree | 69eef3dfec5848f489a9f129237e38ae35b3079c /qpid/dotnet/Qpid.Common/Framing/BasicContentHeaderProperties.cs | |
parent | 4e1735463fdb63f87d03541c33a816a5c7af563f (diff) | |
download | qpid-python-ad8fa512e788075a4573678738b6f11f1c8cbd59.tar.gz |
QPID-139. Initial (re)port of MINA's bytebuffer abstraction. Now includes the autoexpand feature. References to java.nio.Buffer were replaced with FixedByteBuffer and necessary methods added and implemented. FixedByteBuffer delegates to our existing HeapByteBuffer.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@486248 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/dotnet/Qpid.Common/Framing/BasicContentHeaderProperties.cs')
-rw-r--r-- | qpid/dotnet/Qpid.Common/Framing/BasicContentHeaderProperties.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qpid/dotnet/Qpid.Common/Framing/BasicContentHeaderProperties.cs b/qpid/dotnet/Qpid.Common/Framing/BasicContentHeaderProperties.cs index 10d22b0e30..709db419c4 100644 --- a/qpid/dotnet/Qpid.Common/Framing/BasicContentHeaderProperties.cs +++ b/qpid/dotnet/Qpid.Common/Framing/BasicContentHeaderProperties.cs @@ -102,13 +102,13 @@ namespace Qpid.Framing EncodingUtils.WriteShortStringBytes(buffer, ContentType); EncodingUtils.WriteShortStringBytes(buffer, Encoding); EncodingUtils.WriteFieldTableBytes(buffer, Headers); - buffer.Put(DeliveryMode); - buffer.Put(Priority); + buffer.put(DeliveryMode); + buffer.put(Priority); EncodingUtils.WriteShortStringBytes(buffer, CorrelationId); EncodingUtils.WriteShortStringBytes(buffer, ReplyTo); EncodingUtils.WriteShortStringBytes(buffer, String.Format("{0:D}", Expiration)); EncodingUtils.WriteShortStringBytes(buffer, MessageId); - buffer.Put(Timestamp); + buffer.put(Timestamp); EncodingUtils.WriteShortStringBytes(buffer, Type); EncodingUtils.WriteShortStringBytes(buffer, UserId); EncodingUtils.WriteShortStringBytes(buffer, AppId); @@ -125,9 +125,9 @@ namespace Qpid.Framing if ((propertyFlags & (1 << 13)) > 0) Headers = EncodingUtils.ReadFieldTable(buffer); if ((propertyFlags & (1 << 12)) > 0) - DeliveryMode = buffer.Get(); + DeliveryMode = buffer.get(); if ((propertyFlags & (1 << 11)) > 0) - Priority = buffer.Get(); + Priority = buffer.get(); if ((propertyFlags & (1 << 10)) > 0) CorrelationId = EncodingUtils.ReadShortString(buffer); if ((propertyFlags & (1 << 9)) > 0) |