activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r822764 - in /activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp: IConnection.cs IConnectionMetaData.cs
Date Wed, 07 Oct 2009 14:54:19 GMT
Author: tabish
Date: Wed Oct  7 14:54:19 2009
New Revision: 822764

URL: http://svn.apache.org/viewvc?rev=822764&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQNET-96

Adds a IConnectionMetaData interface and an accessor for it in IConnection.

Added:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnectionMetaData.cs   (with
props)
Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnection.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnection.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnection.cs?rev=822764&r1=822763&r2=822764&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnection.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnection.cs Wed Oct  7 14:54:19
2009
@@ -103,6 +103,11 @@
 		/// </summary>
 		string ClientId { get; set; }
 
+        /// <summary>
+        /// Gets the Meta Data for the NMS Connection instance.
+        /// </summary>
+        IConnectionMetaData MetaData{ get; }
+        
 		#endregion
 	}
 }

Added: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnectionMetaData.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnectionMetaData.cs?rev=822764&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnectionMetaData.cs (added)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnectionMetaData.cs Wed Oct
 7 14:54:19 2009
@@ -0,0 +1,67 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+using System;
+
+namespace Apache.NMS
+{
+    /// <summary>
+    /// Provides information describing the NMS IConnection instance.
+    /// </summary>
+    public interface IConnectionMetaData
+    {
+        /// <value>
+        /// Get the Major version number of the NMS API this Provider supports.
+        /// </value>
+        int NMSMajorVersion{ get; }
+        
+        /// <value>
+        /// Get the Minor version number of the NMS API this Provider supports.
+        /// </value>
+        int NMSMinorVersion{ get; }
+        
+        /// <value>
+        /// Get the name of this NMS Provider. 
+        /// </value>
+        string NMSProviderName{ get; }
+        
+        /// <value>
+        /// Gets a formatted string detailing the NMS API version this Provider supports.
 
+        /// </value>
+        string NMSVersion{ get; }
+        
+        /// <value>
+        /// Gets a String array of all the NMSX property names this NMS Provider supports.
+        /// </value>
+        string[] NMSXPropertyNames{ get; }
+        
+        /// <value>
+        /// Gets the Providers Major version number. 
+        /// </value>
+        int ProviderMajorVersion{ get; }
+
+        /// <value>
+        /// Gets the Providers Minor version number. 
+        /// </value>
+        int ProviderMinorVersion{ get; }
+
+        /// <value>
+        /// Gets a formatted string detailing the version of this NMS Provider.  
+        /// </value>
+        string ProviderVersion{ get; }
+    }
+}

Propchange: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IConnectionMetaData.cs
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message