pccrd server
Inheritance: IDisposable
 /// <summary>
 /// Initialize the adapter.
 /// </summary>
 /// <param name="testSite"> test site.</param>
 public override void Initialize(ITestSite testSite)
 {
     base.Initialize(ReqConfigurableSite.GetReqConfigurableSite(testSite));
     this.server = new PccrdServer(new Logger(testSite));
     this.server.ReceiveProbeMessage += new ReceiveProbeMessageHandler(this.Server_ReceiveProbeMessage);
     Site.DefaultProtocolDocShortName = "MS-PCCRD";
 }
 /// <summary>
 /// Start the MS-PCCRD server listening to incoming MS-PCCRD request message.
 /// </summary>
 public void StartPccrdServerListening()
 {
     try
     {
         this.pccrdServer = new PccrdServer();
         this.pccrdServer.ReceiveProbeMessage += new ReceiveProbeMessageHandler(this.Server_ReceiveProbeMessage);
         this.pccrdServer.StartListening();
     }
     catch (ThreadStateException e)
     {
         Site.Log.Add(
             LogEntryKind.Debug,
             "Can't start pccrd server listening. Detailed information: {0}",
             e.Message);
         throw;
     }
 }