summaryrefslogtreecommitdiff
path: root/dotnet/Qpid.Buffer/BaseByteBuffer.cs
diff options
context:
space:
mode:
authorRobert Greig <rgreig@apache.org>2007-01-29 11:05:20 +0000
committerRobert Greig <rgreig@apache.org>2007-01-29 11:05:20 +0000
commit509d48d3a12c3477c893456549e0d052d9e5e9f9 (patch)
treedb601f414a0f65e79bd74a3957fc8a78f918df12 /dotnet/Qpid.Buffer/BaseByteBuffer.cs
parenta6808589c1ce06773f599bc28fe90938e2dcd60f (diff)
downloadqpid-python-509d48d3a12c3477c893456549e0d052d9e5e9f9.tar.gz
(Patch supplied by Tomas Restrepo) QPID-312.diff applied. This converts Javadoc copied accross from the orignal Java code to .Net format. Renames some files/classes/methods to use .Net conventions.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@501006 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet/Qpid.Buffer/BaseByteBuffer.cs')
-rw-r--r--dotnet/Qpid.Buffer/BaseByteBuffer.cs35
1 files changed, 17 insertions, 18 deletions
diff --git a/dotnet/Qpid.Buffer/BaseByteBuffer.cs b/dotnet/Qpid.Buffer/BaseByteBuffer.cs
index 099c84d6fa..3a6beabae8 100644
--- a/dotnet/Qpid.Buffer/BaseByteBuffer.cs
+++ b/dotnet/Qpid.Buffer/BaseByteBuffer.cs
@@ -33,23 +33,21 @@
namespace Qpid.Buffer
{
- /**
- * A base implementation of {@link ByteBuffer}. This implementation
- * assumes that {@link ByteBuffer#buf()} always returns a correct NIO
- * {@link FixedByteBuffer} instance. Most implementations could
- * extend this class and implement their own buffer management mechanism.
- *
- * @noinspection StaticNonFinalField
- * @see ByteBufferAllocator
- */
+ /// <summary>
+ /// A base implementation of <see cref="ByteBuffer"/>. This implementation
+ /// assumes that <see cref="ByteBuffer.Buf"/> always returns a correct NIO
+ /// <see cref="FixedByteBuffer"/> instance. Most implementations could
+ /// extend this class and implement their own buffer management mechanism.
+ /// </summary>
+ /// <seealso cref="ByteBufferAllocator"/>
public abstract class BaseByteBuffer : ByteBuffer
{
private bool _autoExpand;
- /**
- * We don't have any access to Buffer.markValue(), so we need to track it down,
- * which will cause small extra overhead.
- */
+ /// <summary>
+ /// We don't have any access to Buffer.markValue(),
+ /// so we need to track it down, which will cause small extra overhead.
+ /// </summary>
private int _mark = -1;
protected BaseByteBuffer()
@@ -94,10 +92,11 @@ namespace Qpid.Buffer
return this;
}
- /**
- * Implement this method to increase the capacity of this buffer.
- * <tt>newCapacity</tt> is always greater than the current capacity.
- */
+
+ /// <summary>
+ /// Implement this method to increase the capacity of this buffer.
+ /// </summary>
+ /// <param name="newCapacity">is always greater than the current capacity.</param>
protected abstract void capacity0( int newCapacity );
public override bool isAutoExpand()
@@ -458,4 +457,4 @@ namespace Qpid.Buffer
// return buf().asDoubleBuffer();
// }
}
-} \ No newline at end of file
+}