TcpChannel.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. //
  2. // System.Runtime.Remoting.Channels.Tcp.TcpChannel.cs
  3. //
  4. // Author: Rodrigo Moya ([email protected])
  5. //
  6. // 2002 (C) Copyright, Ximian, Inc.
  7. //
  8. using System.Collections;
  9. using System.Runtime.Remoting.Messaging;
  10. namespace System.Runtime.Remoting.Channels.Tcp
  11. {
  12. public class TcpChannel : IChannelReceiver, IChannel,
  13. IChannelSender
  14. {
  15. private int tcp_port;
  16. public TcpChannel ()
  17. {
  18. tcp_port = 0;
  19. }
  20. public TcpChannel (int port)
  21. {
  22. tcp_port = port;
  23. }
  24. [MonoTODO]
  25. public TcpChannel (IDictionary properties,
  26. IClientChannelSinkProvider clientSinkProvider,
  27. IServerChannelSinkProvider serverSinkProvider)
  28. {
  29. throw new NotImplementedException ();
  30. }
  31. public object ChannelData
  32. {
  33. [MonoTODO]
  34. get {
  35. throw new NotImplementedException ();
  36. }
  37. }
  38. public string ChannelName
  39. {
  40. [MonoTODO]
  41. get {
  42. throw new NotImplementedException ();
  43. }
  44. }
  45. public int ChannelPriority
  46. {
  47. [MonoTODO]
  48. get {
  49. throw new NotImplementedException ();
  50. }
  51. }
  52. [MonoTODO]
  53. public IMessageSink CreateMessageSink (string url,
  54. object remoteChannelData,
  55. out string objectURI)
  56. {
  57. throw new NotImplementedException ();
  58. }
  59. [MonoTODO]
  60. public string[] GetUrlsForUri (string objectURI)
  61. {
  62. throw new NotImplementedException ();
  63. }
  64. [MonoTODO]
  65. public string Parse (string url, out string objectURI)
  66. {
  67. throw new NotImplementedException ();
  68. }
  69. [MonoTODO]
  70. public void StartListening (object data)
  71. {
  72. throw new NotImplementedException ();
  73. }
  74. [MonoTODO]
  75. public void StopListening (object data)
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. }
  80. }