Add placeholders for missing methods:
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel / WSDualHttpBinding.cs
1 //
2 // WSDualHttpBinding.cs
3 //
4 // Author:
5 //      Atsushi Enomoto <atsushi@ximian.com>
6 //
7 // Copyright (C) 2005 Novell, Inc.  http://www.novell.com
8 //
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
16 // 
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
19 // 
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 //
28 using System;
29 using System.Collections.Generic;
30 using System.Net.Security;
31 using System.ServiceModel.Channels;
32 using System.ServiceModel.Configuration;
33 using System.ServiceModel.Description;
34 using System.Text;
35 using System.Xml;
36
37 namespace System.ServiceModel
38 {
39         [MonoTODO]
40         public class WSDualHttpBinding : Binding, IBindingRuntimePreferences
41         {
42                 bool bypass_proxy_on_local;
43                 HostNameComparisonMode host_name_comparison_mode;
44                 long max_buffer_pool_size;
45                 long max_recv_msg_size;
46                 WSDualHttpSecurity security;
47                 WSMessageEncoding message_encoding;
48                 Uri proxy_address;
49                 XmlDictionaryReaderQuotas reader_quotas;
50                 ReliableSession reliable_session;
51                 EnvelopeVersion env_version;
52                 Encoding text_encoding;
53                 bool transaction_flow;
54                 bool use_default_web_proxy;
55
56                 public WSDualHttpBinding ()
57                         : this (WSDualHttpSecurityMode.Message)
58                 {
59                 }
60
61                 public WSDualHttpBinding(string configName)
62                         : this (WSDualHttpSecurityMode.Message)
63                 {
64                 }
65
66                 public WSDualHttpBinding (WSDualHttpSecurityMode securityMode)
67                 {
68                         security = new WSDualHttpSecurity (securityMode);
69                 }
70
71                 public Uri ClientBaseAddress {
72                         get { throw new NotImplementedException (); }
73                         set { throw new NotImplementedException (); }
74                 }
75
76                 public bool BypassProxyOnLocal {
77                         get { return bypass_proxy_on_local; }
78                         set { bypass_proxy_on_local = value; }
79                 }
80
81                 public HostNameComparisonMode HostNameComparisonMode {
82                         get { return host_name_comparison_mode; }
83                         set { host_name_comparison_mode = value; }
84                 }
85
86                 public long MaxBufferPoolSize {
87                         get { return max_buffer_pool_size; }
88                         set { max_buffer_pool_size = value; }
89                 }
90
91                 public long MaxReceivedMessageSize {
92                         get { return max_recv_msg_size; }
93                         set { max_recv_msg_size = value; }
94                 }
95
96                 public WSMessageEncoding MessageEncoding {
97                         get { return message_encoding; }
98                         set { message_encoding = value; }
99                 }
100
101                 public Uri ProxyAddress {
102                         get { return proxy_address; }
103                         set { proxy_address = value; }
104                 }
105
106                 public XmlDictionaryReaderQuotas ReaderQuotas {
107                         get { return reader_quotas; }
108                         set { reader_quotas = value; }
109                 }
110
111                 public ReliableSession ReliableSession {
112                         get { return reliable_session; }
113                 }
114
115                 public override string Scheme {
116                         get { return Uri.UriSchemeHttp; }
117                 }
118
119                 public WSDualHttpSecurity Security {
120                         get { return security; }
121                 }
122
123                 public EnvelopeVersion EnvelopeVersion {
124                         get { return env_version; }
125                 }
126
127                 public Encoding TextEncoding {
128                         get { return text_encoding; }
129                         set { text_encoding = value; }
130                 }
131
132                 public bool TransactionFlow {
133                         get { return transaction_flow; }
134                         set { transaction_flow = value; }
135                 }
136
137                 public bool UseDefaultWebProxy {
138                         get { return use_default_web_proxy; }
139                         set { use_default_web_proxy = value; }
140                 }
141
142                 public override BindingElementCollection
143                         CreateBindingElements ()
144                 {
145                         throw new NotImplementedException ();
146                 }
147
148                 // explicit interface implementations
149
150                 bool IBindingRuntimePreferences.ReceiveSynchronously {
151                         get { throw new NotImplementedException (); }
152                 }
153         }
154 }