2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
authorRodrigo Moya <rodrigo@mono-cvs.ximian.com>
Tue, 13 Aug 2002 16:13:14 +0000 (16:13 -0000)
committerRodrigo Moya <rodrigo@mono-cvs.ximian.com>
Tue, 13 Aug 2002 16:13:14 +0000 (16:13 -0000)
* SoapClientFormatterSink.cs:
* SoapServerFormatterSinkProvider.cs:
* SinkProviderData.cs: new classes.

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

mcs/class/corlib/System.Runtime.Remoting.Channels/ChangeLog
mcs/class/corlib/System.Runtime.Remoting.Channels/SinkProviderData.cs [new file with mode: 0644]
mcs/class/corlib/System.Runtime.Remoting.Channels/SoapClientFormatterSink.cs [new file with mode: 0644]
mcs/class/corlib/System.Runtime.Remoting.Channels/SoapServerFormatterSink.cs
mcs/class/corlib/System.Runtime.Remoting.Channels/SoapServerFormatterSinkProvider.cs [new file with mode: 0644]
mcs/class/corlib/System.Runtime.Remoting.Channels/TransportHeaders.cs [new file with mode: 0644]

index a59beb59b55489fabd03b1c2d467bcbc53c43bf3..1ee2cc22ebea90b54cdbf70b1e0a14bd4f839b5c 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-13  Rodrigo Moya <rodrigo@ximian.com>
+
+       * SoapClientFormatterSink.cs:
+       * SoapServerFormatterSinkProvider.cs:
+       * SinkProviderData.cs: new classes.
+
 2002-08-10  Rodrigo Moya <rodrigo@ximian.com>
 
        * CommonTransportKeys.cs:
diff --git a/mcs/class/corlib/System.Runtime.Remoting.Channels/SinkProviderData.cs b/mcs/class/corlib/System.Runtime.Remoting.Channels/SinkProviderData.cs
new file mode 100644 (file)
index 0000000..02882ef
--- /dev/null
@@ -0,0 +1,45 @@
+//
+// System.Runtime.Remoting.Channels.SinkProviderData.cs
+//
+// Author: Rodrigo Moya (rodrigo@ximian.com)
+//
+// 2002 (C) Copyright, Ximian, Inc.
+//
+
+using System.Collections;
+
+namespace System.Runtime.Remoting.Channels
+{
+       public class SinkProviderData
+       {
+               private string sinkName;
+               
+               public SinkProviderData (string name)
+               {
+                       sinkName = name;
+               }
+
+               public IList Children
+               {
+                       [MonoTODO]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public string Name
+               {
+                       get {
+                               return sinkName;
+                       }
+               }
+
+               public IDictionary Properties
+               {
+                       [MonoTODO]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+       }
+}
diff --git a/mcs/class/corlib/System.Runtime.Remoting.Channels/SoapClientFormatterSink.cs b/mcs/class/corlib/System.Runtime.Remoting.Channels/SoapClientFormatterSink.cs
new file mode 100644 (file)
index 0000000..b0a2cb8
--- /dev/null
@@ -0,0 +1,96 @@
+//
+// System.Runtime.Remoting.Channels.SoapClientFormatterSink.cs
+//
+// Author: Rodrigo Moya (rodrigo@ximian.com)
+//
+// 2002 (C) Copyright, Ximian, Inc.
+//
+
+using System.Collections;
+using System.IO;
+using System.Runtime.Remoting.Messaging;
+
+namespace System.Runtime.Remoting.Channels
+{
+       public class SoapClientFormatterSink : IClientFormatterSink,
+               IMessageSink, IClientChannelSink, IChannelSinkBase
+       {
+               private IClientChannelSink nextClientSink;
+               
+               public SoapClientFormatterSink (IClientChannelSink sink)
+               {
+                       nextClientSink = sink;
+               }
+
+               public IClientChannelSink NextChannelSink
+               {
+                       get {
+                               return nextClientSink;
+                       }
+               }
+
+               public IMessageSink NextSink
+               {
+                       [MonoTODO]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               public IDictionary Properties
+               {
+                       [MonoTODO]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoTODO]
+               public IMessageCtrl AsyncProcessMessage (IMessage msg,
+                                                        IMessageSink replySink)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void AsyncProcessRequest (IClientChannelSinkStack sinkStack,
+                                                IMessage msg,
+                                                ITransportHeaders headers,
+                                                Stream stream)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void AsyncProcessResponse (IClientResponseChannelSinkStack sinkStack,
+                                                 object state,
+                                                 ITransportHeaders headers,
+                                                 Stream stream)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public Stream GetRequestStream (IMessage msg,
+                                               ITransportHeaders headers)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void ProcessMessage (IMessage msg,
+                                           ITransportHeaders requestHeaders,
+                                           Stream requestStream,
+                                           out ITransportHeaders responseHeaders,
+                                           out Stream responseStream)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public IMessage SyncProcessMessage (IMessage msg)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
index 94102c30301b46c6c7c1d006d0840f0ce46b06e2..cad836280a2212d476d70779cd6fd9f8104924e4 100644 (file)
@@ -1,5 +1,5 @@
 //
-// System.Runtime.Remoting.Channels.BinaryServerFormatterSink.cs
+// System.Runtime.Remoting.Channels.SoapServerFormatterSink.cs
 //
 // Author: Duncan Mak (duncan@ximian.com)
 //
diff --git a/mcs/class/corlib/System.Runtime.Remoting.Channels/SoapServerFormatterSinkProvider.cs b/mcs/class/corlib/System.Runtime.Remoting.Channels/SoapServerFormatterSinkProvider.cs
new file mode 100644 (file)
index 0000000..0dfa9a3
--- /dev/null
@@ -0,0 +1,54 @@
+//
+// System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider.cs
+//
+// Author: Rodrigo Moya (rodrigo@ximian.com)
+//
+// 2002 (C) Copyright, Ximian, Inc.
+//
+
+using System.Collections;
+
+namespace System.Runtime.Remoting.Channels
+{
+       public class SoapServerFormatterSinkProvider :
+               IServerFormatterSinkProvider, IServerChannelSinkProvider
+       {
+               [MonoTODO]
+               public SoapServerFormatterSinkProvider ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public SoapServerFormatterSinkProvider (IDictionary properties,
+                                                       ICollection providerData)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public IServerChannelSinkProvider Next
+               {
+                       [MonoTODO]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+
+                       [MonoTODO]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoTODO]
+               public IServerChannelSink CreateSink (IChannelReceiver channel)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void GetChannelData (IChannelDataStore channelData)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
diff --git a/mcs/class/corlib/System.Runtime.Remoting.Channels/TransportHeaders.cs b/mcs/class/corlib/System.Runtime.Remoting.Channels/TransportHeaders.cs
new file mode 100644 (file)
index 0000000..acfecbf
--- /dev/null
@@ -0,0 +1,40 @@
+//
+// System.Runtime.Remoting.Channels.TransportHeaders.cs
+//
+// Author: Rodrigo Moya (rodrigo@ximian.com)
+//
+// 2002 (C) Copyright, Ximian, Inc.
+//
+
+using System.Collections;
+
+namespace System.Runtime.Remoting.Channels
+{
+       public class TransportHeaders : ITransportHeaders
+       {
+               [MonoTODO]
+               public TransportHeaders ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public object this[object key]
+               {
+                       [MonoTODO]
+                       get {
+                               throw new NotImplementedException ();
+                       }
+                       
+                       [MonoTODO]
+                       set {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+               [MonoTODO]
+               public IEnumerator GetEnumerator ()
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}