Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 26541 invoked from network); 25 Jan 2009 15:30:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2009 15:30:22 -0000 Received: (qmail 42013 invoked by uid 500); 25 Jan 2009 15:30:22 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 41992 invoked by uid 500); 25 Jan 2009 15:30:22 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 41983 invoked by uid 99); 25 Jan 2009 15:30:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 07:30:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 15:30:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2583E2388975; Sun, 25 Jan 2009 15:29:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r737522 - in /activemq/activemq-cpp/trunk/src/test/activemq/transport: IOTransportTest.cpp correlator/ResponseCorrelatorTest.h Date: Sun, 25 Jan 2009 15:29:58 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090125152959.2583E2388975@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Sun Jan 25 15:29:58 2009 New Revision: 737522 URL: http://svn.apache.org/viewvc?rev=737522&view=rev Log: https://issues.apache.org/activemq/browse/AMQCPP-100 More work on the Failover bits. Modified: activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp activemq/activemq-cpp/trunk/src/test/activemq/transport/correlator/ResponseCorrelatorTest.h Modified: activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp?rev=737522&r1=737521&r2=737522&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp (original) +++ activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp Sun Jan 25 15:29:58 2009 @@ -198,6 +198,16 @@ mutex.notify(); } } + + /** + * The transport has suffered an interruption from which it hopes to recover + */ + virtual void transportInterrupted() {} + + /** + * The transport has resumed after an interruption + */ + virtual void transportResumed() {} }; //////////////////////////////////////////////////////////////////////////////// Modified: activemq/activemq-cpp/trunk/src/test/activemq/transport/correlator/ResponseCorrelatorTest.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/transport/correlator/ResponseCorrelatorTest.h?rev=737522&r1=737521&r2=737522&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/test/activemq/transport/correlator/ResponseCorrelatorTest.h (original) +++ activemq/activemq-cpp/trunk/src/test/activemq/transport/correlator/ResponseCorrelatorTest.h Sun Jan 25 15:29:58 2009 @@ -326,6 +326,17 @@ exCount++; } } + + /** + * The transport has suffered an interruption from which it hopes to recover + */ + virtual void transportInterrupted() {} + + /** + * The transport has resumed after an interruption + */ + virtual void transportResumed() {} + }; class RequestThread : public decaf::lang::Thread{