2 // System.Web.Services.Protocols.WebClientProtocol.cs
\r
5 // Tim Coleman (tim@timcoleman.com)
\r
7 // Copyright (C) Tim Coleman, 2002
\r
10 using System.ComponentModel;
\r
13 using System.Web.Services;
\r
15 namespace System.Web.Services.Protocols {
\r
16 public abstract class WebClientProtocol : Component {
\r
20 string connectionGroupName;
\r
21 ICredentials credentials;
\r
22 bool preAuthenticate;
\r
23 Encoding requestEncoding;
\r
29 #region Constructors
\r
31 protected WebClientProtocol ()
\r
33 connectionGroupName = String.Empty;
\r
35 preAuthenticate = false;
\r
36 requestEncoding = null;
\r
41 #endregion // Constructors
\r
45 public string ConnectionGroupName {
\r
46 get { return connectionGroupName; }
\r
47 set { connectionGroupName = value; }
\r
50 public ICredentials Credentials {
\r
51 get { return credentials; }
\r
52 set { credentials = value; }
\r
55 public bool PreAuthenticate {
\r
56 get { return preAuthenticate; }
\r
57 set { preAuthenticate = value; }
\r
60 public Encoding RequestEncoding {
\r
61 get { return requestEncoding; }
\r
62 set { requestEncoding = value; }
\r
65 public int Timeout {
\r
66 get { return timeout; }
\r
67 set { timeout = value; }
\r
72 set { url = value; }
\r
75 #endregion // Properties
\r
80 public virtual void Abort ()
\r
82 throw new NotImplementedException ();
\r
86 protected static void AddToCache (Type type, object value)
\r
88 throw new NotImplementedException ();
\r
92 protected static object GetFromCache (Type type)
\r
94 throw new NotImplementedException ();
\r
98 protected virtual WebRequest GetWebRequest (Uri uri)
\r
100 throw new NotImplementedException ();
\r
104 protected virtual WebResponse GetWebResponse (WebRequest request)
\r
106 throw new NotImplementedException ();
\r
110 protected virtual WebResponse GetWebResponse (WebRequest request, IAsyncResult result)
\r
112 throw new NotImplementedException ();
\r
115 #endregion // Methods
\r