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 superclass.

Method Summary

Flags Name Summary
public virtual final bool ReadBool()

Reads a bool from the message body.

public virtual final byte ReadByte()

Reads a byte from the message body.

public virtual final byte[] ReadBytes()

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

public virtual final char ReadChar()

Reads a char from the message body.

public virtual final double ReadDouble()

Reads a double from the message body.

public virtual final short ReadInt16()

Reads a short from the message body.

public virtual final int ReadInt32()

Reads an int from the message body.

public virtual final long ReadInt64()

Reads a long from the message body.

public virtual final object ReadObject()

Reads an object from the message body.

public virtual final object[] ReadObjects()

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

public virtual final single ReadSingle()

Reads a float from the message body.

public virtual final string ReadString()

Reads a string 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 superclass.

Method Detail

ReadBool

public virtual final bool ReadBool()

Flags public virtual final
Return type bool

Summary

Reads a bool from the message body.

ReadByte

public virtual final byte ReadByte()

Flags public virtual final
Return type byte

Summary

Reads a byte from the message body.

ReadBytes

public virtual final byte[] ReadBytes()

Flags public virtual final
Return type byte[]

Summary

Reads a byte 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 char from the message body.

ReadDouble

public virtual final double ReadDouble()

Flags public virtual final
Return type double

Summary

Reads a double from the message body.

ReadInt16

public virtual final short ReadInt16()

Flags public virtual final
Return type short

Summary

Reads a short from the message body.

ReadInt32

public virtual final int ReadInt32()

Flags public virtual final
Return type int

Summary

Reads an int from the message body.

ReadInt64

public virtual final long ReadInt64()

Flags public virtual final
Return type long

Summary

Reads a long from the message body.

ReadObject

public virtual final object ReadObject()

Flags public virtual final
Return type object

Summary

Reads an object from the message body.

ReadObjects

public virtual final object[] ReadObjects()

Flags public virtual final
Return type object[]

Summary

Reads objects 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 float from the message body.

ReadString

public virtual final string ReadString()

Flags public virtual final
Return type string

Summary

Reads a string from the message body.