dotNetRDF API Documentation

BlockingTextReader Class

The BlockingTextReader is an implementation of a BufferedTextReader designed to wrap other readers which may or may not have high latency and thus ensures that premature end of input bug is not experienced.

For a list of all members of this type, see BlockingTextReader Members .

System.Object
   MarshalByRefObject
      TextReader
         ParsingTextReader
            BufferedTextReader
               BlockingTextReader

public sealed class BlockingTextReader : BufferedTextReader

Remarks

This is designed to avoid premature detection of end of input when the input has high latency and the consumer tries to read from the input faster than it can return data. This derives from BufferedTextReader and ensures the buffer is filled by calling the ReadBlock() method of the underlying TextReader thus avoiding the scenario where input appears to end prematurely.

Requirements

Namespace: VDS.RDF.Parsing

Assembly: dotNetRDF (in dotNetRDF.dll)

See Also

BlockingTextReader Members | VDS.RDF.Parsing Namespace