Exemplo n.º 1
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteFieldTableBytes(buffer, Table);
         buffer.Put(IntegerOp);
         buffer.Put(StringOp);
         		 
 }
Exemplo n.º 2
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ChannelMax);
         buffer.Put(FrameMax);
         buffer.Put(Heartbeat);
         		 
 }
Exemplo n.º 3
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(PrefetchSize);
         buffer.Put(PrefetchCount);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Global});
         		 
 }
Exemplo n.º 4
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, Queue);
         buffer.Put(MessageCount);
         buffer.Put(ConsumerCount);
         		 
 }
Exemplo n.º 5
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         buffer.Put(ClassId);
         buffer.Put(MethodId);
         		 
 }
Exemplo n.º 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);
         		 
 }
Exemplo n.º 7
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(VersionMajor);
         buffer.Put(VersionMinor);
         EncodingUtils.WriteFieldTableBytes(buffer, ServerProperties);
         EncodingUtils.WriteLongstr(buffer, Mechanisms);
         EncodingUtils.WriteLongstr(buffer, Locales);
         		 
 }
Exemplo n.º 8
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Integer1);
         buffer.Put(Integer2);
         buffer.Put(Integer3);
         buffer.Put(Integer4);
         buffer.Put(Operation);
         		 
 }
Exemplo n.º 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);
 }
Exemplo n.º 10
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteBooleans(buffer, new bool[]{IfUnused, Nowait});
         		 
 }
Exemplo n.º 11
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, String1);
         EncodingUtils.WriteLongstr(buffer, String2);
         buffer.Put(Operation);
         		 
 }
Exemplo n.º 12
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         EncodingUtils.WriteFieldTableBytes(buffer, Details);
         		 
 }
Exemplo n.º 13
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         EncodingUtils.WriteBooleans(buffer, new bool[]{NoAck});
         		 
 }
Exemplo n.º 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});
         		 
 }
Exemplo n.º 15
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, ConsumerTag);
         buffer.Put(DeliveryTag);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         		 
 }
Exemplo n.º 16
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
         		 
 }
Exemplo n.º 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});
         		 
 }
Exemplo n.º 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);
         		 
 }
Exemplo n.º 19
0
 public void WritePayload(ByteBuffer buffer)
 {
     if (Payload != null)
     {
         buffer.Put(Payload);
         Payload.Rewind();
     }
 }
Exemplo n.º 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);
         		 
 }
Exemplo n.º 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);
         		 
 }
Exemplo n.º 22
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, Identifier);
         buffer.Put(ContentSize);
         		 
 }
Exemplo n.º 23
0
 protected override void DoWrite(int position, byte value)
 {
     _buffer.Put(_startPos + position, value);
 }
Exemplo n.º 24
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(IntegerResult);
         EncodingUtils.WriteLongstr(buffer, StringResult);
         		 
 }
Exemplo n.º 25
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(MessageCount);
         		 
 }
Exemplo n.º 26
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(StagedSize);
         		 
 }
Exemplo n.º 27
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(DeliveryTag);
         EncodingUtils.WriteBooleans(buffer, new bool[]{Requeue});
         		 
 }
Exemplo n.º 28
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ContentChecksum);
         		 
 }
Exemplo n.º 29
0
 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         		 
 }