Click or drag to resize

ByLineTextMessageReader Class

[This is preliminary documentation and is subject to change.]

Represents a message reader that parses the message line-by-line from TextReader.
Inheritance Hierarchy

Namespace:  JsonRpc.Streams
Assembly:  JsonRpc.Streams (in JsonRpc.Streams.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public class ByLineTextMessageReader : QueuedMessageReader

The ByLineTextMessageReader type exposes the following members.

Constructors
  NameDescription
Public methodByLineTextMessageReader(Stream)
Initialize a line-by-line message reader from Stream.
Public methodByLineTextMessageReader(TextReader)
Initialize a line-by-line message reader from TextReader.
Public methodByLineTextMessageReader(Stream, String)
Initialize a message reader from Stream.
Public methodByLineTextMessageReader(TextReader, String)
Initialize a message reader from TextReader.
Top
Properties
  NameDescription
Public propertyDelimiter
The indicator for the end of a message.
Protected propertyDisposalToken
A CancellationToken that is cancelled when the current object has been disposed.
(Inherited from MessageReader.)
Public propertyLeaveReaderOpen
Whether to leave Reader or Stream (if this instance is initialized with a Stream) open when disposing this instance.
Public propertyReader
The underlying text reader.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from MessageReader.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the ByLineTextMessageReader and optionally releases the managed resources
(Overrides QueuedMessageReaderDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadAsync
Asynchronously reads the next message that matches the
(Inherited from QueuedMessageReader.)
Protected methodReadDirectAsync
When overridden in the derived class, directly asynchronously reads the next message.
(Overrides QueuedMessageReaderReadDirectAsync(CancellationToken).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also