protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer) { ClientProperties = EncodingUtils.ReadFieldTable(buffer); Mechanism = EncodingUtils.ReadShortString(buffer); Response = EncodingUtils.ReadLongstr(buffer); Locale = EncodingUtils.ReadShortString(buffer); }
public void PopulatePropertiesFromBuffer(ByteBuffer buffer, ushort propertyFlags) { _log.Debug("Property flags: " + propertyFlags); if ((propertyFlags & (1 << 15)) > 0) { ContentType = EncodingUtils.ReadShortString(buffer); } if ((propertyFlags & (1 << 14)) > 0) { Encoding = EncodingUtils.ReadShortString(buffer); } if ((propertyFlags & (1 << 13)) > 0) { Headers = EncodingUtils.ReadFieldTable(buffer); } if ((propertyFlags & (1 << 12)) > 0) { DeliveryMode = buffer.GetByte(); } if ((propertyFlags & (1 << 11)) > 0) { Priority = buffer.GetByte(); } if ((propertyFlags & (1 << 10)) > 0) { CorrelationId = EncodingUtils.ReadShortString(buffer); } if ((propertyFlags & (1 << 9)) > 0) { ReplyTo = EncodingUtils.ReadShortString(buffer); } if ((propertyFlags & (1 << 8)) > 0) { Expiration = EncodingUtils.ReadLongAsShortString(buffer); } if ((propertyFlags & (1 << 7)) > 0) { MessageId = EncodingUtils.ReadShortString(buffer); } if ((propertyFlags & (1 << 6)) > 0) { Timestamp = buffer.GetUInt64(); } if ((propertyFlags & (1 << 5)) > 0) { Type = EncodingUtils.ReadShortString(buffer); } if ((propertyFlags & (1 << 4)) > 0) { UserId = EncodingUtils.ReadShortString(buffer); } if ((propertyFlags & (1 << 3)) > 0) { AppId = EncodingUtils.ReadShortString(buffer); } if ((propertyFlags & (1 << 2)) > 0) { ClusterId = EncodingUtils.ReadShortString(buffer); } }
protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer) { VersionMajor = buffer.GetByte(); VersionMinor = buffer.GetByte(); ServerProperties = EncodingUtils.ReadFieldTable(buffer); Mechanisms = EncodingUtils.ReadLongstr(buffer); Locales = EncodingUtils.ReadLongstr(buffer); }
protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer) { Ticket = buffer.GetUInt16(); Queue = EncodingUtils.ReadShortString(buffer); Exchange = EncodingUtils.ReadShortString(buffer); RoutingKey = EncodingUtils.ReadShortString(buffer); bool[] bools = EncodingUtils.ReadBooleans(buffer); Nowait = bools[0]; Arguments = EncodingUtils.ReadFieldTable(buffer); }
protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer) { Ticket = buffer.GetUInt16(); Queue = EncodingUtils.ReadShortString(buffer); bool[] bools = EncodingUtils.ReadBooleans(buffer); Passive = bools[0]; Durable = bools[1]; Exclusive = bools[2]; AutoDelete = bools[3]; Nowait = bools[4]; Arguments = EncodingUtils.ReadFieldTable(buffer); }
protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer) { Ticket = buffer.GetUInt16(); Queue = EncodingUtils.ReadShortString(buffer); ConsumerTag = EncodingUtils.ReadShortString(buffer); bool[] bools = EncodingUtils.ReadBooleans(buffer); NoLocal = bools[0]; NoAck = bools[1]; Exclusive = bools[2]; Nowait = bools[3]; Arguments = EncodingUtils.ReadFieldTable(buffer); }
protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer) { MetaData = EncodingUtils.ReadFieldTable(buffer); }
protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer) { ReplyCode = buffer.GetUInt16(); ReplyText = EncodingUtils.ReadShortString(buffer); Details = EncodingUtils.ReadFieldTable(buffer); }
protected override void PopulateMethodBodyFromBuffer(ByteBuffer buffer) { Table = EncodingUtils.ReadFieldTable(buffer); IntegerOp = buffer.GetByte(); StringOp = buffer.GetByte(); }