protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteFieldTableBytes(buffer, Table);
         buffer.Put(IntegerOp);
         buffer.Put(StringOp);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ChannelMax);
         buffer.Put(FrameMax);
         buffer.Put(Heartbeat);
         		 
 }
Exemple #3
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(PrefetchSize);
         buffer.Put(PrefetchCount);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Global});
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, Queue);
         buffer.Put(MessageCount);
         buffer.Put(ConsumerCount);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         buffer.Put(ClassId);
         buffer.Put(MethodId);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(DeliveryTag);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Redelivered});
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
         buffer.Put(MessageCount);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(VersionMajor);
         buffer.Put(VersionMinor);
         EncodingUtils.WriteFieldTableBytes(buffer, ServerProperties);
         EncodingUtils.WriteLongstr(buffer, Mechanisms);
         EncodingUtils.WriteLongstr(buffer, Locales);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Integer1);
         buffer.Put(Integer2);
         buffer.Put(Integer3);
         buffer.Put(Integer4);
         buffer.Put(Operation);
         		 
 }
Exemple #9
0
 public void WritePayload(ByteBuffer buffer)
 {
     buffer.Put(_bodyFrame.BodyType);            
     // TODO: how does channel get populated
     buffer.Put(_channel);
     buffer.Put(_bodyFrame.Size);
     _bodyFrame.WritePayload(buffer);
     buffer.Put((byte) 0xCE);
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteBooleans(buffer, new bool[]{IfUnused, Nowait});
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, String1);
         EncodingUtils.WriteLongstr(buffer, String2);
         buffer.Put(Operation);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         EncodingUtils.WriteFieldTableBytes(buffer, Details);
         		 
 }
Exemple #13
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         EncodingUtils.WriteBooleans(buffer, new bool[]{NoAck});
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         EncodingUtils.WriteShortStringBytes(buffer, ConsumerTag);
         EncodingUtils.WriteBooleans(buffer, new bool[]{NoLocal, NoAck, Exclusive, Nowait});
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, ConsumerTag);
         buffer.Put(DeliveryTag);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Mandatory, Immediate});
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Passive, Durable, Exclusive, AutoDelete, Nowait});
         EncodingUtils.WriteFieldTableBytes(buffer, Arguments);
         		 
 }
Exemple #19
0
 public void WritePayload(ByteBuffer buffer)
 {
     if (Payload != null)
     {
         buffer.Put(Payload);
         Payload.Rewind();
     }
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, ConsumerTag);
         buffer.Put(DeliveryTag);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Redelivered});
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
         EncodingUtils.WriteShortStringBytes(buffer, Identifier);
         		 
 }
Exemple #21
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Nowait});
         EncodingUtils.WriteFieldTableBytes(buffer, Arguments);
         		 
 }
Exemple #22
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, Identifier);
         buffer.Put(ContentSize);
         		 
 }
Exemple #23
0
 protected override void DoWrite(int position, byte value)
 {
     _buffer.Put(_startPos + position, value);
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(IntegerResult);
         EncodingUtils.WriteLongstr(buffer, StringResult);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(MessageCount);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(StagedSize);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(DeliveryTag);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Requeue});
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ContentChecksum);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         		 
 }