示例#1
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public PipelineStream(CancellationToken token)
 {
     _dataQueue   = new LockedQueue <byte[]>(-1, token);
     _readTimeout = Timeout.Infinite;
 }
示例#2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public PipelineStream()
 {
     _dataQueue   = new LockedQueue <byte[]>();
     _readTimeout = Timeout.Infinite;
 }