2002-07-20 Tim Coleman <tim@timcoleman.com>
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Description / ProtocolReflector.cs
1 // \r
2 // System.Web.Services.Description.ProtocolReflector.cs\r
3 //\r
4 // Author:\r
5 //   Tim Coleman (tim@timcoleman.com)\r
6 //\r
7 // Copyright (C) Tim Coleman, 2002\r
8 //\r
9 \r
10 using System.Web.Services;\r
11 using System.Web.Services.Protocols;\r
12 using System.Xml.Serialization;\r
13 \r
14 namespace System.Web.Services.Description {\r
15         public abstract class ProtocolReflector {\r
16 \r
17                 #region Fields\r
18 \r
19                 Binding binding;\r
20                 string defaultNamespace;\r
21                 MessageCollection headerMessages;\r
22                 Message inputMessage;\r
23                 LogicalMethodInfo method;\r
24                 WebMethodAttribute methodAttribute;\r
25                 LogicalMethodInfo[] methods;\r
26                 Operation operation;\r
27                 OperationBinding operationBinding;\r
28                 Message outputMessage;          \r
29                 Port port;\r
30                 PortType portType;\r
31                 string protocolName;\r
32                 XmlReflectionImporter reflectionImporter;\r
33                 XmlSchemaExporter schemaExporter;\r
34                 XmlSchemas schemas;\r
35                 Service service;\r
36                 ServiceDescription serviceDescription;\r
37                 ServiceDescriptionCollection serviceDescriptions;\r
38                 Type serviceType;\r
39                 string serviceUrl;\r
40 \r
41                 #endregion // Fields\r
42 \r
43                 #region Constructors\r
44         \r
45                 [MonoTODO]      \r
46                 protected ProtocolReflector ()\r
47                 {\r
48                         throw new NotImplementedException ();\r
49                 }\r
50                 \r
51                 #endregion // Constructors\r
52 \r
53                 #region Properties\r
54 \r
55                 public Binding Binding {\r
56                         [MonoTODO]\r
57                         get { throw new NotImplementedException (); }\r
58                 }\r
59 \r
60                 public string DefaultNamespace {\r
61                         [MonoTODO]      \r
62                         get { throw new NotImplementedException (); }\r
63                 }\r
64 \r
65                 public MessageCollection HeaderMessages {\r
66                         [MonoTODO]      \r
67                         get { throw new NotImplementedException (); }\r
68                 }\r
69 \r
70                 public Message InputMessage {\r
71                         [MonoTODO]      \r
72                         get { throw new NotImplementedException (); }\r
73                 }\r
74 \r
75                 public LogicalMethodInfo Method {\r
76                         [MonoTODO]      \r
77                         get { throw new NotImplementedException (); }\r
78                 }\r
79 \r
80                 public WebMethodAttribute MethodAttribute {\r
81                         [MonoTODO]      \r
82                         get { throw new NotImplementedException (); }\r
83                 }\r
84 \r
85                 public LogicalMethodInfo[] Methods {\r
86                         [MonoTODO]      \r
87                         get { throw new NotImplementedException (); }\r
88                 }\r
89         \r
90                 public Operation Operation {\r
91                         [MonoTODO]      \r
92                         get { throw new NotImplementedException (); }\r
93                 }\r
94 \r
95                 public OperationBinding OperationBinding {\r
96                         [MonoTODO]      \r
97                         get { throw new NotImplementedException (); }\r
98                 }\r
99 \r
100                 public Message OutputMessage {\r
101                         [MonoTODO]      \r
102                         get { throw new NotImplementedException (); }\r
103                 }\r
104 \r
105                 public Port Port {\r
106                         [MonoTODO]      \r
107                         get { throw new NotImplementedException (); }\r
108                 }\r
109 \r
110                 public PortType PortType {\r
111                         [MonoTODO]      \r
112                         get { throw new NotImplementedException (); }\r
113                 }\r
114 \r
115                 public abstract string ProtocolName {\r
116                         get; \r
117                 }\r
118 \r
119                 public XmlReflectionImporter ReflectionImporter {\r
120                         [MonoTODO]      \r
121                         get { throw new NotImplementedException (); }\r
122                 }\r
123 \r
124                 public XmlSchemaExporter SchemaExporter {\r
125                         [MonoTODO]      \r
126                         get { throw new NotImplementedException (); }\r
127                 }\r
128 \r
129                 public XmlSchemas Schemas {\r
130                         [MonoTODO]      \r
131                         get { throw new NotImplementedException (); }\r
132                 }\r
133 \r
134                 public Service Service {\r
135                         [MonoTODO]      \r
136                         get { throw new NotImplementedException (); }\r
137                 }\r
138 \r
139                 public ServiceDescription ServiceDescription {\r
140                         [MonoTODO]      \r
141                         get { throw new NotImplementedException (); }\r
142                 }\r
143 \r
144                 public ServiceDescriptionCollection ServiceDescriptions {\r
145                         [MonoTODO]      \r
146                         get { throw new NotImplementedException (); }\r
147                 }\r
148 \r
149                 public Type ServiceType {\r
150                         [MonoTODO]      \r
151                         get { throw new NotImplementedException (); }\r
152                 }\r
153 \r
154                 public string ServiceUrl {\r
155                         [MonoTODO]      \r
156                         get { throw new NotImplementedException (); }\r
157                 }\r
158 \r
159                 #endregion // Properties\r
160 \r
161                 #region Methods\r
162 \r
163                 [MonoTODO]\r
164                 protected virtual void BeginClass ()\r
165                 {\r
166                         throw new NotImplementedException ();\r
167                 }\r
168 \r
169                 [MonoTODO]\r
170                 protected virtual void EndClass ()\r
171                 {\r
172                         throw new NotImplementedException ();\r
173                 }\r
174 \r
175                 [MonoTODO]\r
176                 public ServiceDescription GetServiceDescription (string ns)\r
177                 {\r
178                         throw new NotImplementedException ();\r
179                 }\r
180 \r
181 \r
182                 protected abstract bool ReflectMethod ();\r
183 \r
184                 [MonoTODO]\r
185                 protected virtual string ReflectMethodBinding ()\r
186                 {\r
187                         throw new NotImplementedException ();\r
188                 }\r
189 \r
190                 #endregion\r
191         }\r
192 }\r