Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC7C018692 for ; Fri, 3 Jul 2015 15:48:43 +0000 (UTC) Received: (qmail 88497 invoked by uid 500); 3 Jul 2015 15:48:43 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 88473 invoked by uid 500); 3 Jul 2015 15:48:43 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 88464 invoked by uid 99); 3 Jul 2015 15:48:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2015 15:48:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 90301E04D9; Fri, 3 Jul 2015 15:48:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dnwe@apache.org To: commits@qpid.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: qpid-proton git commit: PROTON-931: proton-j expose detached state of Link Date: Fri, 3 Jul 2015 15:48:43 +0000 (UTC) Repository: qpid-proton Updated Branches: refs/heads/master 57b0f34ab -> dcc09f153 PROTON-931: proton-j expose detached state of Link The Link detached state is required to assess when a LINK_REMOTE_DETACHED event is received as to whether or not it was as a result of a local detach or the remote end detaching or closing the link. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/dcc09f15 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/dcc09f15 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/dcc09f15 Branch: refs/heads/master Commit: dcc09f153e0f02b8f9895d76e652b0adf6bb5f76 Parents: 57b0f34 Author: Dominic Evans Authored: Fri Jul 3 16:24:36 2015 +0100 Committer: Dominic Evans Committed: Fri Jul 3 16:32:01 2015 +0100 ---------------------------------------------------------------------- proton-j/src/main/java/org/apache/qpid/proton/engine/Link.java | 1 + .../src/main/java/org/apache/qpid/proton/engine/impl/LinkImpl.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/dcc09f15/proton-j/src/main/java/org/apache/qpid/proton/engine/Link.java ---------------------------------------------------------------------- diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/Link.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/Link.java index c965a29..752a4c8 100644 --- a/proton-j/src/main/java/org/apache/qpid/proton/engine/Link.java +++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/Link.java @@ -186,5 +186,6 @@ public interface Link extends Endpoint public boolean getDrain(); public void detach(); + public boolean detached(); } http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/dcc09f15/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/LinkImpl.java ---------------------------------------------------------------------- diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/LinkImpl.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/LinkImpl.java index 9966526..70841f1 100644 --- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/LinkImpl.java +++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/LinkImpl.java @@ -413,7 +413,7 @@ public abstract class LinkImpl extends EndpointImpl implements Link modified(); } - boolean detached() + public boolean detached() { return _detached; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org