/// <summary>
        /// Method to do test suite initialization.
        /// </summary>
        public override void Initialize(ITestSite testSite)
        {
            base.Initialize(testSite);

            rdpegfxPdusToSent = new List<RdpegfxPdu>();

            // Set no rdp8.0 compression temperarily.
            byte compFlag = (byte) PACKET_COMPR_FLAG.PACKET_COMPR_TYPE_RDP8;
            segPdu = new EGFXRdpSegmentedPdu(compFlag);

            surfManager = new SurfaceManager();

            // For RFX codec compatible.
            rdprfxServer = new RdprfxServer();
            pendingRfxBuffer = new List<byte>();
            syncLocker = new object();

            #region WaitTime
            string strWaitTime = Site.Properties["WaitTime"];
            if (strWaitTime != null)
            {
                int waitSeconds = Int32.Parse(strWaitTime);
                waitTime = new TimeSpan(0, 0, waitSeconds);
            }
            else
            {
                waitTime = new TimeSpan(0, 0, 20);
            }
            #endregion
        }
 public override void Initialize(ITestSite testSite)
 {
     this.site = testSite;
     rdprfxServerDecoder = new RdprfxServerDecoder();
     rdprfxServer = new RdprfxServer();
     pduCache = new List<StackPacket>();
     pendingBuffer = new List<byte>();
     syncLocker = new object();
     currentTestType = RdprfxNegativeType.None;
 }