public void PopulateFromBuffer(ByteBuffer buffer, uint size) { ClassId = buffer.GetUInt16(); Weight = buffer.GetUInt16(); BodySize = buffer.GetUInt64(); ushort propertyFlags = buffer.GetUInt16(); ContentHeaderPropertiesFactory factory = ContentHeaderPropertiesFactory.GetInstance(); Properties = factory.CreateContentHeaderProperties(ClassId, propertyFlags, buffer); }
public AMQMessage(IContentHeaderProperties properties) : this(properties, -1) { }
public AMQMessage(IContentHeaderProperties properties, long deliveryTag) { _contentHeaderProperties = properties; _deliveryTag = deliveryTag; }
public ContentHeaderBody(ushort classId, ushort weight, IContentHeaderProperties props, uint bodySize) : this(props, classId) { Weight = weight; BodySize = bodySize; }
public ContentHeaderBody(IContentHeaderProperties props, ushort classId) { Properties = props; ClassId = classId; }