C# Class Brod.Messages.MessageReader

Inheritance: IDisposable
ファイルを表示 Open project: paralect/brod Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
MessageReader ( BinaryStream buffer ) : System
ReadAllMessages ( ) : IEnumerable

Read all messages from this message stream

ReadMessage ( ) : Message

Message that was correctly read, or null if end of stream found

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MessageReader() public method

public MessageReader ( BinaryStream buffer ) : System
buffer Brod.Common.BinaryStream
return System

ReadAllMessages() public method

Read all messages from this message stream
public ReadAllMessages ( ) : IEnumerable
return IEnumerable

ReadMessage() public method

Message that was correctly read, or null if end of stream found
public ReadMessage ( ) : Message
return Message