activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r905391 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStream.h
Date Mon, 01 Feb 2010 19:47:25 GMT
Author: tabish
Date: Mon Feb  1 19:47:24 2010
New Revision: 905391

URL: http://svn.apache.org/viewvc?rev=905391&view=rev
Log:
Modify to inherit from Flushable interface/

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStream.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStream.h?rev=905391&r1=905390&r2=905391&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStream.h Mon Feb  1 19:47:24
2010
@@ -19,6 +19,7 @@
 #define _DECAF_IO_OUTPUTSTREAM_H
 
 #include <decaf/io/Closeable.h>
+#include <decaf/io/Flushable.h>
 #include <decaf/io/IOException.h>
 #include <decaf/util/concurrent/Synchronizable.h>
 #include <decaf/util/Config.h>
@@ -31,6 +32,7 @@
      * Base interface for an output stream.
      */
     class DECAF_API OutputStream : public Closeable,
+                                   public Flushable,
                                    public util::concurrent::Synchronizable
     {
     public:
@@ -65,12 +67,6 @@
                             std::size_t len )
             throw ( IOException, lang::exceptions::NullPointerException ) = 0;
 
-        /**
-         * Flushes any pending writes in this output stream.
-         * @throws IOException
-         */
-        virtual void flush() throw ( IOException ) = 0;
-
     };
 
 }}



Mime
View raw message