예제 #1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="secChannel"></param>
        /// <param name="autoHandle"></param>
        public RdpemtTransport(ISecureChannel secChannel, bool autoHandle = true)
        {
            this.autoHandle = autoHandle;
            if (secChannel != null)
            {
                this.secureChannel           = secChannel;
                this.secureChannel.Received += ReceiveBytes;
            }

            receiveBuffer = new List <BasePDU>();
            decoder       = new RdpemtDecoder();
        }
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="secChannel"></param>
        /// <param name="autoHandle"></param>
        public RdpemtTransport(ISecureChannel secChannel, bool autoHandle = true)
        {
            this.autoHandle = autoHandle;
            if (secChannel != null)
            {
                this.secureChannel = secChannel;
                this.secureChannel.Received += ReceiveBytes;
            }

            receiveBuffer = new List<BasePDU>();
            decoder = new RdpemtDecoder();
        }
 public RdpemtTransport(bool autoHandle = true)
 {
     this.autoHandle = autoHandle;
     receiveBuffer = new List<BasePDU>();
     decoder = new RdpemtDecoder();
 }
예제 #4
0
 public RdpemtTransport(bool autoHandle = true)
 {
     this.autoHandle = autoHandle;
     receiveBuffer   = new List <BasePDU>();
     decoder         = new RdpemtDecoder();
 }