2002-08-14 Rodrigo Moya <rodrigo@ximian.com>
authorRodrigo Moya <rodrigo@mono-cvs.ximian.com>
Mon, 19 Aug 2002 15:54:59 +0000 (15:54 -0000)
committerRodrigo Moya <rodrigo@mono-cvs.ximian.com>
Mon, 19 Aug 2002 15:54:59 +0000 (15:54 -0000)
* TcpChannel.cs: new classes.

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

mcs/class/corlib/System.Runtime.Remoting.Channels.Tcp/ChangeLog [new file with mode: 0644]
mcs/class/corlib/System.Runtime.Remoting.Channels.Tcp/TcpChannel.cs [new file with mode: 0644]

diff --git a/mcs/class/corlib/System.Runtime.Remoting.Channels.Tcp/ChangeLog b/mcs/class/corlib/System.Runtime.Remoting.Channels.Tcp/ChangeLog
new file mode 100644 (file)
index 0000000..90c32eb
--- /dev/null
@@ -0,0 +1,3 @@
+2002-08-14  Rodrigo Moya <rodrigo@ximian.com>
+
+       * TcpChannel.cs: new classes.
\ No newline at end of file
diff --git a/mcs/class/corlib/System.Runtime.Remoting.Channels.Tcp/TcpChannel.cs b/mcs/class/corlib/System.Runtime.Remoting.Channels.Tcp/TcpChannel.cs
new file mode 100644 (file)
index 0000000..e360daf
--- /dev/null
@@ -0,0 +1,93 @@
+//
+// System.Runtime.Remoting.Channels.Tcp.TcpChannel.cs
+//
+// Author: Rodrigo Moya (rodrigo@ximian.com)
+//
+// 2002 (C) Copyright, Ximian, Inc.
+//
+
+using System.Collections;
+using System.Runtime.Remoting.Messaging;
+
+namespace System.Runtime.Remoting.Channels.Tcp
+{
+       public class TcpChannel : IChannelReceiver, IChannel,
+               IChannelSender
+       {
+               private int tcp_port;
+               
+               public TcpChannel ()
+               {
+                       tcp_port = 0;
+               }
+
+               public TcpChannel (int port)
+               {
+                       tcp_port = port;
+               }
+
+               [MonoTODO]
+               public TcpChannel (IDictionary properties,
+                                  IClientChannelSinkProvider clientSinkProvider,
+                                  IServerChannelSinkProvider serverSinkProvider)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public object ChannelData
+               {
+                       [MonoTODO]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public string ChannelName
+               {
+                       [MonoTODO]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public int ChannelPriority
+               {
+                       [MonoTODO]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoTODO]
+               public IMessageSink CreateMessageSink (string url,
+                                                      object remoteChannelData,
+                                                      out string objectURI)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public string[] GetUrlsForUri (string objectURI)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public string Parse (string url, out string objectURI)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void StartListening (object data)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void StopListening (object data)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}