Просмотр исходного кода

* TcpClientChannel.cs: Initialize the sink provider in the default
constructor.

svn path=/trunk/mcs/; revision=25596

Lluis Sanchez 22 лет назад
Родитель
Сommit
3631cd3d34

+ 5 - 0
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/ChangeLog

@@ -1,3 +1,8 @@
+2004-04-16  Lluis Sanchez Gual  <[email protected]>
+
+	* TcpClientChannel.cs: Initialize the sink provider in the default
+	  constructor.
+
 2004-03-04  Lluis Sanchez Gual  <[email protected]>
 
 	* TcpServerChannel.cs: In the ProcessMessages() loop, moved the closing of

+ 2 - 0
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpClientChannel.cs

@@ -24,6 +24,8 @@ namespace System.Runtime.Remoting.Channels.Tcp
 		
 		public TcpClientChannel ()
 		{
+			_sinkProvider = new BinaryClientFormatterSinkProvider ();
+			_sinkProvider.Next = new TcpClientTransportSinkProvider ();
 		}
 
 		public TcpClientChannel (IDictionary properties, IClientChannelSinkProvider sinkProvider)