Table of Contents

Class ActiveMQBytesMessage

Namespace
Apache.NMS.ActiveMQ.Commands
Assembly
Apache.NMS.ActiveMQ.dll
public class ActiveMQBytesMessage : ActiveMQMessage, Command, DataStructure, MessageReference, ICloneable, MarshallAware, IBytesMessage, IMessage
Inheritance
ActiveMQBytesMessage
Implements
IBytesMessage
IMessage
Inherited Members

Constructors

ActiveMQBytesMessage()

public ActiveMQBytesMessage()

Fields

ID_ACTIVEMQBYTESMESSAGE

public const byte ID_ACTIVEMQBYTESMESSAGE = 24

Field Value

byte

Properties

BodyLength

public long BodyLength { get; }

Property Value

long

Content

public byte[] Content { get; set; }

Property Value

byte[]

Methods

ClearBody()

public override void ClearBody()

Clone()

public override object Clone()

Returns

object

GetDataStructureType()

public override byte GetDataStructureType()

Returns

byte

OnSend()

public override void OnSend()

ReadBoolean()

public bool ReadBoolean()

Returns

bool

ReadByte()

public byte ReadByte()

Returns

byte

ReadBytes(byte[])

public int ReadBytes(byte[] value)

Parameters

value byte[]

Returns

int

ReadBytes(byte[], int)

public int ReadBytes(byte[] value, int length)

Parameters

value byte[]
length int

Returns

int

ReadChar()

public char ReadChar()

Returns

char

ReadDouble()

public double ReadDouble()

Returns

double

ReadInt16()

public short ReadInt16()

Returns

short

ReadInt32()

public int ReadInt32()

Returns

int

ReadInt64()

public long ReadInt64()

Returns

long

ReadSingle()

public float ReadSingle()

Returns

float

ReadString()

public string ReadString()

Returns

string

Reset()

public void Reset()

WriteBoolean(bool)

public void WriteBoolean(bool value)

Parameters

value bool

WriteByte(byte)

public void WriteByte(byte value)

Parameters

value byte

WriteBytes(byte[])

public void WriteBytes(byte[] value)

Parameters

value byte[]

WriteBytes(byte[], int, int)

public void WriteBytes(byte[] value, int offset, int length)

Parameters

value byte[]
offset int
length int

WriteChar(char)

public void WriteChar(char value)

Parameters

value char

WriteDouble(double)

public void WriteDouble(double value)

Parameters

value double

WriteInt16(short)

public void WriteInt16(short value)

Parameters

value short

WriteInt32(int)

public void WriteInt32(int value)

Parameters

value int

WriteInt64(long)

public void WriteInt64(long value)

Parameters

value long

WriteObject(object)

public void WriteObject(object value)

Parameters

value object

WriteSingle(float)

public void WriteSingle(float value)

Parameters

value float

WriteString(string)

public void WriteString(string value)

Parameters

value string