ServerProtocol.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. //
  2. // System.Web.Services.Protocols.ServerProtocol.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System.IO;
  10. using System.Web;
  11. using System.Web.Services;
  12. namespace System.Web.Services.Protocols {
  13. [MonoTODO ("Figure out what this class does.")]
  14. internal abstract class ServerProtocol {
  15. #region Constructors
  16. protected ServerProtocol ()
  17. {
  18. throw new NotImplementedException ();
  19. }
  20. #endregion
  21. #region Properties
  22. [MonoTODO]
  23. public HttpContext Context {
  24. get { throw new NotImplementedException (); }
  25. }
  26. public abstract bool IsOneWay {
  27. get;
  28. }
  29. public abstract LogicalMethodInfo MethodInfo {
  30. get;
  31. }
  32. [MonoTODO]
  33. public virtual Exception OnewayInitException {
  34. get { throw new NotImplementedException (); }
  35. }
  36. [MonoTODO]
  37. public HttpRequest Request {
  38. get { throw new NotImplementedException (); }
  39. }
  40. [MonoTODO]
  41. public HttpResponse Response {
  42. get { throw new NotImplementedException (); }
  43. }
  44. #endregion
  45. #region Methods
  46. [MonoTODO]
  47. protected void AddToCache (Type t1, Type t2, object o)
  48. {
  49. throw new NotImplementedException ();
  50. }
  51. [MonoTODO]
  52. public virtual void CreateServerInstance ()
  53. {
  54. throw new NotImplementedException ();
  55. }
  56. [MonoTODO]
  57. public virtual void DisposeServerInstance ()
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. [MonoTODO]
  62. public string GenerateFaultString (Exception exception)
  63. {
  64. throw new NotImplementedException ();
  65. }
  66. [MonoTODO]
  67. protected object GetFromCache (Type t1, Type t2)
  68. {
  69. throw new NotImplementedException ();
  70. }
  71. public abstract bool Initialize ();
  72. public abstract object[] ReadParameters ();
  73. [MonoTODO]
  74. public virtual bool WriteException (Exception e, Stream outputStream)
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. [MonoTODO]
  79. public void WriteOneWayResponse ()
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. public abstract void WriteReturns (object[] returnValues, Stream outputStream);
  84. #endregion
  85. }
  86. }