Ejemplo n.º 1
0
 protected override void OnEncode(ByteBuffer buffer)
 {
     Address.Encode(buffer, this.Address);
     AmqpCodec.EncodeUInt(this.Durable, buffer);
     AmqpCodec.EncodeSymbol(this.ExpiryPolicy, buffer);
     AmqpCodec.EncodeUInt(this.Timeout, buffer);
     AmqpCodec.EncodeBoolean(this.Dynamic, buffer);
     AmqpCodec.EncodeMap(this.DynamicNodeProperties, buffer);
     AmqpCodec.EncodeMultiple(this.Capabilities, buffer);
 }
Ejemplo n.º 2
0
 protected override void OnEncode(ByteBuffer buffer)
 {
     Address.Encode(buffer, this.Address);
     AmqpCodec.EncodeUInt(this.Durable, buffer);
     AmqpCodec.EncodeSymbol(this.ExpiryPolicy, buffer);
     AmqpCodec.EncodeUInt(this.Timeout, buffer);
     AmqpCodec.EncodeBoolean(this.Dynamic, buffer);
     AmqpCodec.EncodeMap(this.DynamicNodeProperties, buffer);
     AmqpCodec.EncodeSymbol(this.DistributionMode, buffer);
     AmqpCodec.EncodeMap(this.FilterSet, buffer);
     AmqpCodec.EncodeSerializable(this.DefaultOutcome, buffer);
     AmqpCodec.EncodeMultiple(this.Outcomes, buffer);
     AmqpCodec.EncodeMultiple(this.Capabilities, buffer);
 }
Ejemplo n.º 3
0
 protected override void OnEncode(ByteBuffer buffer)
 {
     MessageId.Encode(buffer, this.MessageId);
     AmqpCodec.EncodeBinary(this.UserId, buffer);
     Address.Encode(buffer, this.To);
     AmqpCodec.EncodeString(this.Subject, buffer);
     Address.Encode(buffer, this.ReplyTo);
     MessageId.Encode(buffer, this.CorrelationId);
     AmqpCodec.EncodeSymbol(this.ContentType, buffer);
     AmqpCodec.EncodeSymbol(this.ContentEncoding, buffer);
     AmqpCodec.EncodeTimeStamp(this.AbsoluteExpiryTime, buffer);
     AmqpCodec.EncodeTimeStamp(this.CreationTime, buffer);
     AmqpCodec.EncodeString(this.GroupId, buffer);
     AmqpCodec.EncodeUInt(this.GroupSequence, buffer);
     AmqpCodec.EncodeString(this.ReplyToGroupId, buffer);
 }