Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 70490 invoked from network); 15 Feb 2007 20:40:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2007 20:40:20 -0000 Received: (qmail 17284 invoked by uid 500); 15 Feb 2007 20:40:19 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 17260 invoked by uid 500); 15 Feb 2007 20:40:19 -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 17229 invoked by uid 99); 15 Feb 2007 20:40:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 12:40:19 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 12:40:11 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id F29E51A981C; Thu, 15 Feb 2007 12:39:50 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r508134 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp Date: Thu, 15 Feb 2007 20:39:50 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070215203950.F29E51A981C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Thu Feb 15 12:39:50 2007 New Revision: 508134 URL: http://svn.apache.org/viewvc?view=rev&rev=508134 Log: http://issues.apache.org/activemq/browse/AMQCPP-30 Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp?view=diff&rev=508134&r1=508133&r2=508134 ============================================================================== --- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp (original) +++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp Thu Feb 15 12:39:50 2007 @@ -706,6 +706,9 @@ { try { + enforceConnected(); + + // TODO } AMQ_CATCH_RETHROW( ConnectorException ) AMQ_CATCHALL_THROW( ConnectorException ) @@ -810,7 +813,8 @@ } //////////////////////////////////////////////////////////////////////////////// -void OpenWireConnector::oneway(Command* command) throw (ConnectorException) +void OpenWireConnector::oneway( Command* command ) + throw ( ConnectorException ) { try { @@ -824,7 +828,8 @@ } //////////////////////////////////////////////////////////////////////////////// -Response* OpenWireConnector::syncRequest(Command* command) throw (ConnectorException) +Response* OpenWireConnector::syncRequest( Command* command ) + throw ( ConnectorException ) { try {