|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
A reader class that reads XML serialized objects from a stream.
| Field Summary | |
|---|---|
| NetSamples.Common.IO.MessageReader.ReadDelegate | readDelegate |
| System.IO.BinaryReader | reader |
| System.Xml.Serialization.XmlSerializer[] | serializers |
| Constructor Summary | |
|---|---|
|
MessageReader(System.Type[] messagetypes) Constructor |
|
|
MessageReader(System.IO.Stream input, System.Type[] messagetypes) Constructor |
|
| Property Summary | |
|---|---|
| System.IO.Stream |
BaseStream
Gets / Sets the stream that the reader is using. |
| Method Summary | |
|---|---|
| System.IAsyncResult |
BeginRead(System.AsyncCallback callback, object state) Starts an asynchronous read |
| object |
EndRead(System.IAsyncResult result) Ends an asynchronous read |
| object |
Read() Starts a read operation |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
| Field Detail |
|---|
private NetSamples.Common.IO.MessageReader.ReadDelegate readDelegate
private System.IO.BinaryReader reader
private System.Xml.Serialization.XmlSerializer[] serializers
| Constructor Detail |
|---|
public MessageReader(System.Type[] messagetypes)
Constructor
public MessageReader(System.IO.Stream input,
System.Type[] messagetypes)
Constructor
| Property Detail |
|---|
public System.IO.Stream BaseStream
Gets / Sets the stream that the reader is using.
| Method Detail |
|---|
public System.IAsyncResult BeginRead(System.AsyncCallback callback,
object state)
Starts an asynchronous read
public object EndRead(System.IAsyncResult result)
Ends an asynchronous read
public object Read()
Starts a read operation
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||