public void WriteTo(IAmqpWriter writer)
 {
     writer.WriteByte((byte)Type);
     writer.WriteShortInteger(Channel);
     writer.WriteLongInteger(Size);
     writer.WriteBytes(Payload);
     writer.WriteByte(Constants.FrameEnd);
 }
Esempio n. 2
0
 public void WriteTo(IAmqpWriter writer)
 {
     writer.WriteShortUnsignedInteger((ushort)ProtocolClassId);
     writer.WriteShortUnsignedInteger((ushort)ProtocolMethodId);
 }
Esempio n. 3
0
 public void WriteTo(IAmqpWriter writer)
 {
     writer.WriteBit(Nowait);
 }