qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgodf...@apache.org
Subject svn commit: r1772014 - in /qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection: AmqpConnectionMetaData.java ConnectionPrincipal.java
Date Wed, 30 Nov 2016 11:21:42 GMT
Author: rgodfrey
Date: Wed Nov 30 11:21:42 2016
New Revision: 1772014

URL: http://svn.apache.org/viewvc?rev=1772014&view=rev
Log:
QPID-7557 : Expose more information about the current connection

Modified:
    qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/AmqpConnectionMetaData.java
    qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/ConnectionPrincipal.java

Modified: qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/AmqpConnectionMetaData.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/AmqpConnectionMetaData.java?rev=1772014&r1=1772013&r2=1772014&view=diff
==============================================================================
--- qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/AmqpConnectionMetaData.java
(original)
+++ qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/AmqpConnectionMetaData.java
Wed Nov 30 11:21:42 2016
@@ -31,4 +31,8 @@ public interface AmqpConnectionMetaData
 {
     UUID getConnectionId();
     Port getPort();
+    String getClientId();
+    String getClientVersion();
+    String getClientProduct();
+
 }

Modified: qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/ConnectionPrincipal.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/ConnectionPrincipal.java?rev=1772014&r1=1772013&r2=1772014&view=diff
==============================================================================
--- qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/ConnectionPrincipal.java
(original)
+++ qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/connection/ConnectionPrincipal.java
Wed Nov 30 11:21:42 2016
@@ -137,5 +137,23 @@ public class ConnectionPrincipal impleme
         {
             return _connection.getTransport();
         }
+
+        @Override
+        public String getClientId()
+        {
+            return _connection.getClientId();
+        }
+
+        @Override
+        public String getClientVersion()
+        {
+            return _connection.getClientVersion();
+        }
+
+        @Override
+        public String getClientProduct()
+        {
+            return _connection.getClientProduct();
+        }
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message