SoapServerFormatterSinkProvider.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //
  2. // System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider.cs
  3. //
  4. // Author: Rodrigo Moya ([email protected])
  5. //
  6. // 2002 (C) Copyright, Ximian, Inc.
  7. //
  8. using System.Collections;
  9. namespace System.Runtime.Remoting.Channels
  10. {
  11. public class SoapServerFormatterSinkProvider :
  12. IServerFormatterSinkProvider, IServerChannelSinkProvider
  13. {
  14. private IServerChannelSinkProvider _next;
  15. // ////[MonoTODO]
  16. public SoapServerFormatterSinkProvider ()
  17. {
  18. // throw new NotImplementedException ();
  19. }
  20. // ////[MonoTODO]
  21. public SoapServerFormatterSinkProvider (IDictionary properties,
  22. ICollection providerData)
  23. {
  24. // throw new NotImplementedException ();
  25. }
  26. public IServerChannelSinkProvider Next
  27. {
  28. // ////[MonoTODO]
  29. get {
  30. return _next;
  31. }
  32. // ////[MonoTODO]
  33. set {
  34. _next = value;
  35. }
  36. }
  37. // ////[MonoTODO]
  38. public IServerChannelSink CreateSink (IChannelReceiver channel)
  39. {
  40. IServerChannelSink chain = _next.CreateSink(channel);
  41. IServerChannelSink sinkFormatter = new SoapServerFormatterSink(SoapServerFormatterSink.Protocol.Http, chain, channel);
  42. return sinkFormatter;
  43. }
  44. // ////[MonoTODO]
  45. public void GetChannelData (IChannelDataStore channelData)
  46. {
  47. if(_next != null)
  48. _next.GetChannelData(channelData);
  49. }
  50. }
  51. }