qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject qpid-proton git commit: PROTON-931: proton-j expose detached state of Link
Date Fri, 03 Jul 2015 15:48:43 GMT
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 <dominic.evans@uk.ibm.com>
Authored: Fri Jul 3 16:24:36 2015 +0100
Committer: Dominic Evans <dominic.evans@uk.ibm.com>
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


Mime
View raw message