diff options
Diffstat (limited to 'mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSinkProvider.cs')
-rw-r--r-- | mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSinkProvider.cs | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSinkProvider.cs b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSinkProvider.cs new file mode 100644 index 00000000000..bacdfd5576a --- /dev/null +++ b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSinkProvider.cs @@ -0,0 +1,41 @@ +// +// System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSinkProvider.cs +// +// Author: Dietmar Maurer (dietmar@ximian.com) +// Lluis Sanchez (lsg@ctv.es) +// +// 2002 (C) Copyright, Ximian, Inc. +//
+
+using System;
+using System.Runtime.Remoting.Channels;
+
+namespace System.Runtime.Remoting.Channels.Tcp
+{
+ public class TcpClientTransportSinkProvider : IClientChannelSinkProvider + { + public TcpClientTransportSinkProvider () + { + // what should we do here ? + } + + public IClientChannelSinkProvider Next + { + get
+ { + return null; + } + + set
+ { + // ignore, we are always the last in the chain + } + } + + public IClientChannelSink CreateSink (IChannelSender channel, string url, + object remoteChannelData) + { + return new TcpClientTransportSink (url); + } + }
+}
|