From 1a378c36c11a7203ce550d660d07e8693e778e32 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Thu, 1 Aug 2002 22:18:13 +0000 Subject: [PATCH] 2002-08-01 Rodrigo Moya * BinaryClientFormatterSink.cs: * BaseChannelWithProperties.cs: new stubs. svn path=/trunk/mcs/; revision=6335 --- .../BaseChannelWithProperties.cs | 30 ++++++ .../BinaryClientFormatterSink.cs | 92 +++++++++++++++++++ .../ChangeLog | 5 + 3 files changed, 127 insertions(+) create mode 100644 mcs/class/corlib/System.Runtime.Remoting.Channels/BaseChannelWithProperties.cs create mode 100644 mcs/class/corlib/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs diff --git a/mcs/class/corlib/System.Runtime.Remoting.Channels/BaseChannelWithProperties.cs b/mcs/class/corlib/System.Runtime.Remoting.Channels/BaseChannelWithProperties.cs new file mode 100644 index 00000000000..24738ff1438 --- /dev/null +++ b/mcs/class/corlib/System.Runtime.Remoting.Channels/BaseChannelWithProperties.cs @@ -0,0 +1,30 @@ +// +// System.Runtime.Remoting.Channels.BaseChannelWithProperties.cs +// +// Author: Rodrigo Moya (rodrigo@ximian.com) +// +// 2002 (C) Copyright, Ximian, Inc. +// + +using System.Collections; + +namespace System.Runtime.Remoting.Channels +{ + public abstract class BaseChannelWithProperties : + BaseChannelObjectWithProperties + { + protected IChannelSinkBase SinksWithProperties; + + [MonoTODO] + protected BaseChannelWithProperties () + { + throw new NotImplementedException (); + } + + public override IDictionary Properties + { + [MonoTODO] + get { throw new NotImplementedException (); } + } + } +} diff --git a/mcs/class/corlib/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs b/mcs/class/corlib/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs new file mode 100644 index 00000000000..dfd975c2fb1 --- /dev/null +++ b/mcs/class/corlib/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs @@ -0,0 +1,92 @@ +// +// System.Runtime.Remoting.Channels.BinaryClientFormatterSink.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 BinaryClientFormatterSink : IClientFormatterSink, + IMessageSink, IClientChannelSink, IChannelSinkBase + { + private IClientChannelSink nextInChain; + + public BinaryClientFormatterSink (IClientChannelSink nextSink) + { + nextInChain = nextSink; + } + + public IClientChannelSink NextChannelSink + { + get { + return nextInChain; + } + } + + 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 (IClientChannelSinkStack 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 (); + } + } +} diff --git a/mcs/class/corlib/System.Runtime.Remoting.Channels/ChangeLog b/mcs/class/corlib/System.Runtime.Remoting.Channels/ChangeLog index cb4402ee569..a6e55a2bbd6 100644 --- a/mcs/class/corlib/System.Runtime.Remoting.Channels/ChangeLog +++ b/mcs/class/corlib/System.Runtime.Remoting.Channels/ChangeLog @@ -1,3 +1,8 @@ +2002-08-01 Rodrigo Moya + + * BinaryClientFormatterSink.cs: + * BaseChannelWithProperties.cs: new stubs. + 2002-08-02 Duncan Mak * IChannel.cs: -- 2.25.1