public class StreamMessageReader

Summary

Analyzes AMQP Basic-class messages binary-compatible with QPid's "StreamMessage" wire encoding.

Field Summary

Flags Type Name Summary
public initonly static string MimeType

MIME type associated with QPid StreamMessages.

Constructor Summary

Flags Name Summary
public StreamMessageReader(IBasicProperties properties, byte[] payload)

Construct an instance for reading. See .

Method Summary

Flags Name Summary
public virtual final bool ReadBool()

Reads a from the message body.

public virtual final byte ReadByte()

Reads a from the message body.

public virtual final byte[] ReadBytes()

Reads a array from the message body. The body contains information about the size of the array to read.

public virtual final char ReadChar()

Reads a from the message body.

public virtual final double ReadDouble()

Reads a from the message body.

public virtual final short ReadInt16()

Reads a from the message body.

public virtual final int ReadInt32()

Reads an from the message body.

public virtual final long ReadInt64()

Reads a from the message body.

public virtual final object ReadObject()

Reads an from the message body.

public virtual final object[] ReadObjects()

Reads array from the message body until the end-of-stream is reached.

public virtual final single ReadSingle()

Reads a from the message body.

public virtual final string ReadString()

Reads a from the message body.

Field Detail

public initonly static string MimeType

Summary

MIME type associated with QPid StreamMessages.

Constructor Detail

StreamMessageReader

public StreamMessageReader(IBasicProperties properties, byte[] payload)

Parameters
Name Type
properties IBasicProperties
payload byte[]

Summary

Construct an instance for reading. See .

Method Detail

ReadBool

public virtual final bool ReadBool()

Flags public virtual final
Return type bool

Summary

Reads a from the message body.

ReadByte

public virtual final byte ReadByte()

Flags public virtual final
Return type byte

Summary

Reads a from the message body.

ReadBytes

public virtual final byte[] ReadBytes()

Flags public virtual final
Return type byte[]

Summary

Reads a array from the message body. The body contains information about the size of the array to read.

ReadChar

public virtual final char ReadChar()

Flags public virtual final
Return type char

Summary

Reads a from the message body.

ReadDouble

public virtual final double ReadDouble()

Flags public virtual final
Return type double

Summary

Reads a from the message body.

ReadInt16

public virtual final short ReadInt16()

Flags public virtual final
Return type short

Summary

Reads a from the message body.

ReadInt32

public virtual final int ReadInt32()

Flags public virtual final
Return type int

Summary

Reads an from the message body.

ReadInt64

public virtual final long ReadInt64()

Flags public virtual final
Return type long

Summary

Reads a from the message body.

ReadObject

public virtual final object ReadObject()

Flags public virtual final
Return type object

Summary

Reads an from the message body.

ReadObjects

public virtual final object[] ReadObjects()

Flags public virtual final
Return type object[]

Summary

Reads array from the message body until the end-of-stream is reached.

ReadSingle

public virtual final single ReadSingle()

Flags public virtual final
Return type single

Summary

Reads a from the message body.

ReadString

public virtual final string ReadString()

Flags public virtual final
Return type string

Summary

Reads a from the message body.