本文整理汇总了C#中Apache.Qpid.Buffer.ByteBuffer.Put方法的典型用法代码示例。如果您正苦于以下问题:C# ByteBuffer.Put方法的具体用法?C# ByteBuffer.Put怎么用?C# ByteBuffer.Put使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Apache.Qpid.Buffer.ByteBuffer
的用法示例。
在下文中一共展示了ByteBuffer.Put方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
buffer.Put(PrefetchSize);
buffer.Put(PrefetchCount);
EncodingUtils.WriteBooleans(buffer, new bool[]{Global});
}
示例2: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
buffer.Put(ChannelMax);
buffer.Put(FrameMax);
buffer.Put(Heartbeat);
}
示例3: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
EncodingUtils.WriteFieldTableBytes(buffer, Table);
buffer.Put(IntegerOp);
buffer.Put(StringOp);
}
示例4: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
EncodingUtils.WriteShortStringBytes(buffer, Queue);
buffer.Put(MessageCount);
buffer.Put(ConsumerCount);
}
示例5: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
buffer.Put(ReplyCode);
EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
buffer.Put(ClassId);
buffer.Put(MethodId);
}
示例6: WritePayload
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);
}
示例7: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
buffer.Put(Integer1);
buffer.Put(Integer2);
buffer.Put(Integer3);
buffer.Put(Integer4);
buffer.Put(Operation);
}
示例8: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
buffer.Put(VersionMajor);
buffer.Put(VersionMinor);
EncodingUtils.WriteFieldTableBytes(buffer, ServerProperties);
EncodingUtils.WriteLongstr(buffer, Mechanisms);
EncodingUtils.WriteLongstr(buffer, Locales);
}
示例9: WriteMethodPayload
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);
}
示例10: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
buffer.Put(Ticket);
EncodingUtils.WriteShortStringBytes(buffer, Exchange);
EncodingUtils.WriteBooleans(buffer, new bool[]{IfUnused, Nowait});
}
示例11: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
buffer.Put(ReplyCode);
EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
EncodingUtils.WriteFieldTableBytes(buffer, Details);
}
示例12: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
EncodingUtils.WriteShortStringBytes(buffer, String1);
EncodingUtils.WriteLongstr(buffer, String2);
buffer.Put(Operation);
}
示例13: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
buffer.Put(Ticket);
EncodingUtils.WriteShortStringBytes(buffer, Queue);
EncodingUtils.WriteBooleans(buffer, new bool[]{NoAck});
}
示例14: WriteMethodPayload
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});
}
示例15: WriteMethodPayload
protected override void WriteMethodPayload(ByteBuffer buffer)
{
buffer.Put(ReplyCode);
EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
EncodingUtils.WriteShortStringBytes(buffer, Exchange);
EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
}