You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/11/14 21:36:02 UTC
svn commit: r595036 -
/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h
Author: tabish
Date: Wed Nov 14 12:36:00 2007
New Revision: 595036
URL: http://svn.apache.org/viewvc?rev=595036&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103
Starting the NIO implementation
Modified:
activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h
Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h?rev=595036&r1=595035&r2=595036&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h Wed Nov 14 12:36:00 2007
@@ -128,7 +128,7 @@
*/
unsigned char* array()
throw( ReadOnlyBufferException,
- lang::exceptions::UnsupportedOperationException );
+ lang::exceptions::UnsupportedOperationException ) {return NULL;}
/**
* Returns the offset within this buffer's backing array of the first element
@@ -148,7 +148,7 @@
*/
virtual int arrayOffset() const
throw( ReadOnlyBufferException,
- lang::exceptions::UnsupportedOperationException );
+ lang::exceptions::UnsupportedOperationException ) {return 0;}
/**
* Tells whether or not this buffer is backed by an accessible byte array.
@@ -157,7 +157,7 @@
* @returns true if, and only if, this buffer is backed by an array and is not
* read-only
*/
- virtual bool hasArray() const;
+ virtual bool hasArray() const {return false;}
/**
* Relative bulk get method.