当前位置: 首页>>代码示例>>C#>>正文


C# ByteBuffer.Put方法代码示例

本文整理汇总了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});
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:7,代码来源:FileQosBody.cs

示例2: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ChannelMax);
         buffer.Put(FrameMax);
         buffer.Put(Heartbeat);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:7,代码来源:ConnectionTuneBody.cs

示例3: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteFieldTableBytes(buffer, Table);
         buffer.Put(IntegerOp);
         buffer.Put(StringOp);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:7,代码来源:TestTableBody.cs

示例4: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, Queue);
         buffer.Put(MessageCount);
         buffer.Put(ConsumerCount);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:7,代码来源:QueueDeclareOkBody.cs

示例5: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         buffer.Put(ClassId);
         buffer.Put(MethodId);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:8,代码来源:ConnectionCloseBody.cs

示例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);
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:9,代码来源:AMQFrame.cs

示例7: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Integer1);
         buffer.Put(Integer2);
         buffer.Put(Integer3);
         buffer.Put(Integer4);
         buffer.Put(Operation);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:9,代码来源:TestIntegerBody.cs

示例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);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:9,代码来源:ConnectionStartBody.cs

示例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);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:9,代码来源:BasicGetOkBody.cs

示例10: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteBooleans(buffer, new bool[]{IfUnused, Nowait});
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:7,代码来源:ExchangeDeleteBody.cs

示例11: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         EncodingUtils.WriteFieldTableBytes(buffer, Details);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:7,代码来源:ChannelAlertBody.cs

示例12: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     EncodingUtils.WriteShortStringBytes(buffer, String1);
         EncodingUtils.WriteLongstr(buffer, String2);
         buffer.Put(Operation);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:7,代码来源:TestStringBody.cs

示例13: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(Ticket);
         EncodingUtils.WriteShortStringBytes(buffer, Queue);
         EncodingUtils.WriteBooleans(buffer, new bool[]{NoAck});
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:7,代码来源:BasicGetBody.cs

示例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});
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:8,代码来源:FileConsumeBody.cs

示例15: WriteMethodPayload

 protected override void WriteMethodPayload(ByteBuffer buffer)
 {
     buffer.Put(ReplyCode);
         EncodingUtils.WriteShortStringBytes(buffer, ReplyText);
         EncodingUtils.WriteShortStringBytes(buffer, Exchange);
         EncodingUtils.WriteShortStringBytes(buffer, RoutingKey);
         		 
 }
开发者ID:drzo,项目名称:opensim4opencog,代码行数:8,代码来源:StreamReturnBody.cs


注:本文中的Apache.Qpid.Buffer.ByteBuffer.Put方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。