Example #1
0
 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);
         		 
 }
Example #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);
         		 
 }
Example #6
0
 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);
         		 
 }
Example #8
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Integer1);
         buffer.Put(Integer2);
         buffer.Put(Integer3);
         buffer.Put(Integer4);
         buffer.Put(Operation);
         		 
 }
Example #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});
         		 
 }
Example #11
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, String1);
         EncodingUtils.WriteLongstr(buffer, String2);
         buffer.Put(Operation);
         		 
 }
Example #12
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         EncodingUtils.WriteFieldTableBytes(buffer, Details);
         		 
 }
Example #13
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         EncodingUtils.WriteBooleans(buffer, new bool[]{NoAck});
         		 
 }
Example #14
0
 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});
         		 
 }
Example #15
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, ConsumerTag);
         buffer.Put(DeliveryTag);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         		 
 }
Example #16
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
         		 
 }
Example #17
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Mandatory, Immediate});
         		 
 }
Example #18
0
 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);
         		 
 }
Example #19
0
 public void WritePayload(ByteBuffer buffer)
 {
     if (Payload != null)
     {
         buffer.Put(Payload);
         Payload.Rewind();
     }
 }
Example #20
0
 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);
         		 
 }
Example #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);
         		 
 }
Example #22
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, Identifier);
         buffer.Put(ContentSize);
         		 
 }
Example #23
0
 protected override void DoWrite(int position, byte value)
 {
     _buffer.Put(_startPos + position, value);
 }
Example #24
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(IntegerResult);
         EncodingUtils.WriteLongstr(buffer, StringResult);
         		 
 }
Example #25
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(MessageCount);
         		 
 }
Example #26
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(StagedSize);
         		 
 }
Example #27
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(DeliveryTag);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Requeue});
         		 
 }
Example #28
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ContentChecksum);
         		 
 }
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         		 
 }