* HtmlFormParameterReader.cs, HtmlFormParameterWriter.cs,
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Protocols / WebServiceHandler.cs
1 // \r
2 // System.Web.Services.Protocols.WebServiceHandler.cs\r
3 //\r
4 // Author:\r
5 //   Tim Coleman (tim@timcoleman.com)\r
6 //   Lluis Sanchez Gual (lluis@ximian.com)\r
7 //\r
8 // Copyright (C) Tim Coleman, 2002\r
9 //\r
10 \r
11 using System;\r
12 using System.Reflection;\r
13 using System.Web.Services;\r
14 \r
15 namespace System.Web.Services.Protocols \r
16 {\r
17         internal class WebServiceHandler: IHttpHandler \r
18         {\r
19                 Type _type;\r
20                 \r
21                 public WebServiceHandler (Type type)\r
22                 {\r
23                         _type = type;\r
24                 }\r
25 \r
26                 public Type ServiceType\r
27                 {\r
28                         get { return _type; }\r
29                 }\r
30                 \r
31                 public virtual bool IsReusable \r
32                 {\r
33                         get { return false; }\r
34                 }\r
35 \r
36                 public virtual void ProcessRequest (HttpContext context)\r
37                 {\r
38                 }\r
39                 \r
40                 protected object CreateServerInstance ()\r
41                 {\r
42                         return Activator.CreateInstance (ServiceType);\r
43                 }\r
44 \r
45                 [MonoTODO]\r
46                 protected IAsyncResult BeginCoreProcessRequest (AsyncCallback callback, object o)\r
47                 {\r
48                         throw new NotImplementedException ();\r
49                 }\r
50 \r
51                 [MonoTODO]\r
52                 protected void CoreProcessRequest ()\r
53                 {\r
54                         throw new NotImplementedException ();\r
55                 }\r
56 \r
57                 [MonoTODO]\r
58                 protected void EndCoreProcessRequest (IAsyncResult result)\r
59                 {\r
60                         throw new NotImplementedException ();\r
61                 }\r
62 \r
63                 [MonoTODO]\r
64                 private void WriteReturns (object[] returnValues)\r
65                 {\r
66                         //protocol.WriteReturns (returnValues, outputStream);\r
67                         throw new NotImplementedException ();\r
68                 }\r
69         }\r
70 }