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


C# IceInternal.writeInt方法代码示例

本文整理汇总了C#中IceInternal.writeInt方法的典型用法代码示例。如果您正苦于以下问题:C# IceInternal.writeInt方法的具体用法?C# IceInternal.writeInt怎么用?C# IceInternal.writeInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IceInternal的用法示例。


在下文中一共展示了IceInternal.writeInt方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: writeImpl__

 protected override void writeImpl__(IceInternal.BasicStream os__)
 {
     os__.startWriteSlice("::minie::irpc::GenericError", -1, true);
     os__.writeInt(errorCode);
     os__.writeString(errorMessage);
     os__.endWriteSlice();
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:7,代码来源:minie_entity.cs

示例2: write

 public static void write(IceInternal.BasicStream os__,
     _System.Collections.Generic.Dictionary<int, Murmur.User> v__)
 {
     if(v__ == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(v__.Count);
         foreach(_System.Collections.Generic.KeyValuePair<int, Murmur.User> e__ in v__)
         {
             os__.writeInt(e__.Key);
             if(e__.Value == null)
             {
                 Murmur.User tmp__ = new Murmur.User();
                 tmp__.write__(os__);
             }
             else
             {
                 e__.Value.write__(os__);
             }
         }
     }
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:25,代码来源:Murmur.cs

示例3: write__

 public void write__(IceInternal.BasicStream os__)
 {
     os__.writeInt(nDevID);
     os__.writeInt(nLocType);
     os__.writeString(sStatus);
 }
开发者ID:tornadocean,项目名称:SyAutoH,代码行数:6,代码来源:iMesLink.cs

示例4: write__

 public void write__(IceInternal.BasicStream os__)
 {
     os__.writeInt(min);
     os__.writeInt(max);
 }
开发者ID:darekfilip,项目名称:IDHT,代码行数:5,代码来源:idht.cs

示例5: write__

 public void write__(IceInternal.BasicStream os__)
 {
     os__.writeInt(session);
     os__.writeInt(userid);
     os__.writeBool(mute);
     os__.writeBool(deaf);
     os__.writeBool(suppress);
     os__.writeBool(selfMute);
     os__.writeBool(selfDeaf);
     os__.writeInt(channel);
     os__.writeString(name);
     os__.writeInt(onlinesecs);
     os__.writeInt(bytespersec);
     os__.writeInt(version);
     os__.writeString(release);
     os__.writeString(os);
     os__.writeString(osversion);
     os__.writeString(identity);
     os__.writeString(context);
     os__.writeString(comment);
     os__.writeByteSeq(address);
     os__.writeBool(tcponly);
     os__.writeInt(idlesecs);
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:24,代码来源:Murmur.cs

示例6: write__

 public void write__(IceInternal.BasicStream os__)
 {
     os__.writeInt(x);
     os__.writeInt(y);
     os__.writeInt(blockage);
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:6,代码来源:R2Comm.cs

示例7: write__

 public void write__(IceInternal.BasicStream os__)
 {
     os__.writeStringSeq(URLs);
     os__.writeString(formActionURL);
     os__.writeString(HTTPRealm);
     os__.writeString(title);
     if(formFieldList == null)
     {
         os__.writeSize(0);
     }
     else
     {
         os__.writeSize(formFieldList.Length);
         for(int ix__ = 0; ix__ < formFieldList.Length; ++ix__)
         {
             (formFieldList == null ? new KeeICE.KPlib.KPFormField() : formFieldList[ix__]).write__(os__);
         }
     }
     os__.writeBool(exactMatch);
     os__.writeString(uniqueID);
     os__.writeBool(alwaysAutoFill);
     os__.writeBool(neverAutoFill);
     os__.writeBool(alwaysAutoSubmit);
     os__.writeBool(neverAutoSubmit);
     os__.writeInt(priority);
     os__.writeString(parentGroupName);
     os__.writeString(parentGroupUUID);
     os__.writeString(parentGroupPath);
     os__.writeString(iconImageData);
 }
开发者ID:hathagat,项目名称:KeeFox,代码行数:30,代码来源:KeeICE.cs

示例8: streamWrite

 //
 // Marshal the endpoint.
 //
 public override void streamWrite(IceInternal.BasicStream s)
 {
     s.writeShort(EndpointType.value);
     s.startWriteEncaps();
     s.writeString(_host);
     s.writeInt(_port);
     s.writeInt(_timeout);
     s.writeBool(_compress);
     s.endWriteEncaps();
 }
开发者ID:Radulfr,项目名称:zeroc-ice,代码行数:13,代码来源:EndpointI.cs

示例9: streamWriteImpl

 public override void streamWriteImpl(IceInternal.BasicStream s)
 {
     base.streamWriteImpl(s);
     s.writeInt(_timeout);
     s.writeBool(_compress);
 }
开发者ID:pedia,项目名称:zeroc-ice,代码行数:6,代码来源:EndpointI.cs

示例10: doCompress

        private IceInternal.BasicStream doCompress(IceInternal.BasicStream uncompressed, bool compress)
        {
            if(_compressionSupported)
            {
                if(compress && uncompressed.size() >= 100)
                {
                    //
                    // Do compression.
                    //
                    IceInternal.BasicStream cstream = null;
                    if(uncompressed.compress(ref cstream, IceInternal.Protocol.headerSize, _compressionLevel))
                    {
                        //
                        // Set compression status.
                        //
                        cstream.pos(9);
                        cstream.writeByte((byte)2);

                        //
                        // Write the size of the compressed stream into the header.
                        //
                        cstream.pos(10);
                        cstream.writeInt(cstream.size());

                        //
                        // Write the compression status and size of the compressed stream into the header of the
                        // uncompressed stream -- we need this to trace requests correctly.
                        //
                        uncompressed.pos(9);
                        uncompressed.writeByte((byte)2);
                        uncompressed.writeInt(cstream.size());

                        return cstream;
                    }
                }
            }

            uncompressed.pos(9);
            uncompressed.writeByte((byte)((_compressionSupported && compress) ? 1 : 0));

            //
            // Not compressed, fill in the message size.
            //
            uncompressed.pos(10);
            uncompressed.writeInt(uncompressed.size());

            return uncompressed;
        }
开发者ID:alexmnazarenko,项目名称:ice,代码行数:48,代码来源:ConnectionI.cs

示例11: write__

 public void write__(IceInternal.BasicStream os__)
 {
     os__.writeInt(nID);
     os__.writeString(sName);
     os__.writeInt(nRight);
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:6,代码来源:iGuiHub.cs


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