| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- //
- // System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider.cs
- //
- // Author: Rodrigo Moya ([email protected])
- //
- // 2002 (C) Copyright, Ximian, Inc.
- //
- using System.Collections;
- namespace System.Runtime.Remoting.Channels
- {
- public class BinaryServerFormatterSinkProvider :
- IServerFormatterSinkProvider, IServerChannelSinkProvider
- {
- IServerChannelSinkProvider next = null;
- public BinaryServerFormatterSinkProvider ()
- {
- }
- [MonoTODO]
- public BinaryServerFormatterSinkProvider (IDictionary properties,
- ICollection providerData)
- {
- throw new NotImplementedException ();
- }
- public IServerChannelSinkProvider Next
- {
- get {
- return next;
- }
- set {
- next = value;
- }
- }
- public IServerChannelSink CreateSink (IChannelReceiver channel)
- {
- IServerChannelSink next_sink = null;
- BinaryServerFormatterSink result;
-
- if (next != null)
- next_sink = next.CreateSink (channel);
-
- result = new BinaryServerFormatterSink (BinaryServerFormatterSink.Protocol.Other,
- next_sink, channel);
- // set properties on result
-
- return result;
- }
- public void GetChannelData (IChannelDataStore channelData)
- {
- // no idea why we need this
- }
- }
- }
|