activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r689231 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs
Date Tue, 26 Aug 2008 21:16:19 GMT
Author: jgomes
Date: Tue Aug 26 14:16:19 2008
New Revision: 689231

URL: http://svn.apache.org/viewvc?rev=689231&view=rev
Log:
Fix compiler errors for .NET 1.1.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs?rev=689231&r1=689230&r2=689231&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs Tue Aug
26 14:16:19 2008
@@ -39,13 +39,13 @@
 
 		public Session(Connection connection, SessionInfo info, AcknowledgementMode acknowledgementMode)
 		{
-			this.Connection = connection;
+			this.connection = connection;
 			this.info = info;
-			this.AcknowledgementMode = acknowledgementMode;
+			this.acknowledgementMode = acknowledgementMode;
 			this.AsyncSend = connection.AsyncSend;
-			this.RequestTimeout = connection.RequestTimeout;
+			this.requestTimeout = connection.RequestTimeout;
 			this.PrefetchSize = 1000;
-			this.TransactionContext = new TransactionContext(this);
+			this.transactionContext = new TransactionContext(this);
 			this.dispatchingThread = new DispatchingThread(new DispatchingThread.DispatchFunction(DispatchAsyncMessages));
 			this.dispatchingThread_ExceptionHandler = new DispatchingThread.ExceptionHandler(dispatchingThread_ExceptionListener);
 		}
@@ -99,7 +99,6 @@
 		public Connection Connection
 		{
 			get { return this.connection; }
-			private set { this.connection = value; }
 		}
 
 		public SessionId SessionId
@@ -111,7 +110,6 @@
 		public TransactionContext TransactionContext
 		{
 			get { return this.transactionContext; }
-			private set { this.transactionContext = value; }
 		}
 
 		#region ISession Members
@@ -124,7 +122,7 @@
 
 		protected void Dispose(bool disposing)
 		{
-			if(disposed)
+			if(this.disposed)
 			{
 				return;
 			}
@@ -143,14 +141,14 @@
 				// Ignore network errors.
 			}
 
-			disposed = true;
+			this.disposed = true;
 		}
 
 		public void Close()
 		{
 			lock(this)
 			{
-				if(closed)
+				if(this.closed)
 				{
 					return;
 				}
@@ -176,8 +174,8 @@
 					Tracer.ErrorFormat("Error during session close: {0}", ex);
 				}
 
-				Connection = null;
-				closed = true;
+				this.connection = null;
+				this.closed = true;
 			}
 		}
 
@@ -405,7 +403,6 @@
 		public AcknowledgementMode AcknowledgementMode
 		{
 			get { return this.acknowledgementMode; }
-			private set { this.acknowledgementMode = value; }
 		}
 
 		#endregion



Mime
View raw message