public void WriteTo(IAmqpWriter writer)
 {
     writer.WriteByte((byte)Type);
     writer.WriteShortInteger(Channel);
     writer.WriteLongInteger(Size);
     writer.WriteBytes(Payload);
     writer.WriteByte(Constants.FrameEnd);
 }
Пример #2
0
 public void WriteTo(IAmqpWriter writer)
 {
     writer.WriteShortUnsignedInteger((ushort)ProtocolClassId);
     writer.WriteShortUnsignedInteger((ushort)ProtocolMethodId);
 }
Пример #3
0
 public void WriteTo(IAmqpWriter writer)
 {
     writer.WriteBit(Nowait);
 }