Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03C7543BC for ; Tue, 21 Jun 2011 14:16:28 +0000 (UTC) Received: (qmail 88658 invoked by uid 500); 21 Jun 2011 14:16:27 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 88632 invoked by uid 500); 21 Jun 2011 14:16:27 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 88624 invoked by uid 99); 21 Jun 2011 14:16:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 14:16:27 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gsim@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 14:16:20 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5LEFw3p024816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 21 Jun 2011 10:15:58 -0400 Received: from [10.3.238.246] (vpn-238-246.phx2.redhat.com [10.3.238.246]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p5LEFvUP013790 for ; Tue, 21 Jun 2011 10:15:57 -0400 Message-ID: <4E00A753.4050808@redhat.com> Date: Tue, 21 Jun 2011 15:14:43 +0100 From: Gordon Sim Organization: Red Hat UK Ltd, Registered in England and Wales under Company Registration No. 3798903, Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parsons (USA), Charlie Peters (USA) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Lightning/1.0b1 Thunderbird/3.0.10 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: Comparing handles in C++ client References: <20110621101950.20491n372vor9pgg@webmail.active24.cz> <4E006313.8040405@redhat.com> <1308665229182-6500120.post@n2.nabble.com> In-Reply-To: <1308665229182-6500120.post@n2.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Virus-Checked: Checked by ClamAV on apache.org On 06/21/2011 03:07 PM, jkrutil wrote: > > Gordon Sim wrote: >> >> At present two handles are equal if either they are both null or if they >> are both non-null. The only time they are not equal is if one is null >> and the other is not. >> > > So is there a way how to test if two handles point to the same object? Not in general at present. You could test two receivers by comparing their names (likewise for sessions and senders). --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org