| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- //
- // System.Net.ServicePoint
- //
- // Author:
- // Lawrence Pit ([email protected])
- //
- using System;
- using System.Security.Cryptography.X509Certificates;
- namespace System.Net
- {
- public class ServicePoint
- {
- private Uri uri;
- private int connectionLimit;
- private int maxIdleTime;
-
- // Constructors
- internal ServicePoint (Uri uri, int connectionLimit, int maxIdleTime)
- {
- this.uri = uri;
- this.connectionLimit = connectionLimit;
- this.maxIdleTime = maxIdleTime;
- }
-
-
- // Properties
-
- public Uri Address {
- get { return this.uri; }
- }
-
- [MonoTODO]
- public X509Certificate Certificate {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public X509Certificate ClientCertificate {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public int ConnectionLimit {
- get { return connectionLimit; }
- set {
- if (value <= 0)
- throw new ArgumentOutOfRangeException ();
- connectionLimit = value;
- }
- }
-
- [MonoTODO]
- public string ConnectionName {
- get { throw new NotImplementedException (); }
- }
- [MonoTODO]
- public int CurrentConnections {
- get { throw new NotImplementedException (); }
- }
- [MonoTODO]
- public DateTime IdleSince {
- get { throw new NotImplementedException (); }
- }
- [MonoTODO]
- public int MaxIdleTime {
- get { return maxIdleTime; }
- set { this.maxIdleTime = value; }
- }
-
- [MonoTODO]
- public virtual Version ProtocolVersion {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool SupportsPipelining {
- get { throw new NotImplementedException (); }
- }
-
- // Methods
-
- [MonoTODO]
- public override int GetHashCode()
- {
- throw new NotImplementedException ();
- }
- }
- }
|