Esempio n. 1
0
        /// <summary>
        /// Processes extended data and routes to the STDERR stream.
        /// </summary>
        /// <param name="typecode"></param>
        /// <param name="buf"></param>
        /// <param name="offset"></param>
        /// <param name="len"></param>
        protected internal override void  ProcessExtendedData(int typecode, byte[] buf, int offset, int len)
        {
            base.ProcessExtendedData(typecode, buf, offset, len);

            if (typecode == SSH_EXTENDED_DATA_STDERR)
            {
                stderr.FillInputBuffer(buf, offset, len);
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Data has arrived on the channel
 /// </summary>
 /// <param name="buf"></param>
 /// <param name="offset"></param>
 /// <param name="len"></param>
 protected internal virtual void  ProcessStandardData(byte[] buf, int offset, int len)
 {
     stream.FillInputBuffer(buf, offset, len);
 }