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/12/04 14:15:42 UTC
svn commit: r600926 - in
/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util:
ByteArray.cpp ByteArray.h
Author: tabish
Date: Tue Dec 4 05:15:42 2007
New Revision: 600926
URL: http://svn.apache.org/viewvc?rev=600926&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-153
Working on implementing the NIO package
Modified:
activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp
activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h
Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp?rev=600926&r1=600925&r2=600926&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp Tue Dec 4 05:15:42 2007
@@ -78,7 +78,7 @@
}
////////////////////////////////////////////////////////////////////////////////
-void ByteArray::read( unsigned char* buffer, std::size_t offset, std::size_t length )
+void ByteArray::read( unsigned char* buffer, std::size_t offset, std::size_t length ) const
throw( NullPointerException, BufferUnderflowException ) {
try{
Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h?rev=600926&r1=600925&r2=600926&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h Tue Dec 4 05:15:42 2007
@@ -96,7 +96,7 @@
* @throws BufferUnderflowException if there is not enought data to read
* because the offset or the length is greater than the size of this array.
*/
- virtual void read( unsigned char* buffer, std::size_t offset, std::size_t length )
+ virtual void read( unsigned char* buffer, std::size_t offset, std::size_t length ) const
throw( decaf::lang::exceptions::NullPointerException,
decaf::nio::BufferUnderflowException );