The PCHC server class which is used to exchange the pchc message between the client.
Inheritance: IDisposable
        /// <summary>
        /// Initialize protocol adapter.
        /// </summary>
        /// <param name="testSite">The test site.</param>
        public override void Initialize(ITestSite testSite)
        {
            base.Initialize(ReqConfigurableSite.GetReqConfigurableSite(testSite));
            Site.DefaultProtocolDocShortName = "MS-PCHC";

            PchcBothRoleCaptureCode.Initialize(testSite);
            this.pchcServer = new PCHCServer(
                TransferProtocol.HTTPS,
                int.Parse(this.GetProperty("PCHC.Protocol.NewPort")),
                IPAddressType.IPv4,
                new Logger(testSite));
            this.pchcServer.Start();
        }
 /// <summary>
 /// Dispose(bool disposing) executes in two distinct scenarios.
 /// If disposing equals true, the method has been called directly
 /// or indirectly by a user's code. Managed and unmanaged resources
 /// can be disposed.
 /// If disposing equals false, the method has been called by the 
 /// runtime from inside the finalizer and you should not reference 
 /// other objects. Only unmanaged resources can be disposed.
 /// </summary>
 /// <param name="disposing">
 /// If disposing equals false, the method has been called by the 
 /// runtime from inside the finalizer and you should not reference 
 /// other objects. Only unmanaged resources can be disposed.</param>
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (this.pchcServer != null)
     {
         this.pchcServer.Dispose();
         this.pchcServer = null;
     }
 }