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


C# IceInternal.startReadParams方法代码示例

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


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

示例1: register_app_user_step2___

 public static Ice.DispatchStatus register_app_user_step2___(BackendService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string cellphone;
     string password;
     int verifyCode;
     cellphone = is__.readString();
     password = is__.readString();
     verifyCode = is__.readInt();
     inS__.endReadParams();
     try
     {
         minie.irpc.cm_user_rpc ret__ = obj__.register_app_user_step2(cellphone, password, verifyCode, current__);
         IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
         os__.writeObject(ret__);
         os__.writePendingObjects();
         inS__.endWriteParams__(true);
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(minie.irpc.VerificationError ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:26,代码来源:minie_service_backend.cs

示例2: move___

 public static Ice.DispatchStatus move___(BaseToBot obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     int lSpeed;
     int rSpeed;
     lSpeed = is__.readInt();
     rSpeed = is__.readInt();
     inS__.endReadParams();
     obj__.move(lSpeed, rSpeed, current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:13,代码来源:R2Comm.cs

示例3: setFlapState___

 public static Ice.DispatchStatus setFlapState___(BaseToBot obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     R2D2.FlapState state;
     state = (R2D2.FlapState)is__.readEnum(1);
     inS__.endReadParams();
     obj__.setFlapState(state, current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:11,代码来源:R2Comm.cs

示例4: updatePowerStats___

 public static Ice.DispatchStatus updatePowerStats___(BotToBase obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     float batteryPercent;
     float voltage;
     float regulatedCurrent;
     float unregulatedCurrent;
     batteryPercent = is__.readFloat();
     voltage = is__.readFloat();
     regulatedCurrent = is__.readFloat();
     unregulatedCurrent = is__.readFloat();
     inS__.endReadParams();
     obj__.updatePowerStats(batteryPercent, voltage, regulatedCurrent, unregulatedCurrent, current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:17,代码来源:R2Comm.cs

示例5: stopAndGo___

 public static Ice.DispatchStatus stopAndGo___(BotToBase obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     bool stopped;
     stopped = is__.readBool();
     inS__.endReadParams();
     obj__.stopAndGo(stopped, current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:11,代码来源:R2Comm.cs

示例6: revoke_privilige___

 public static Ice.DispatchStatus revoke_privilige___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     IceInternal.ParamPatcher<minie.irpc.cm_friend_privilege_rpc> privilege__PP = new IceInternal.ParamPatcher<minie.irpc.cm_friend_privilege_rpc>(minie.irpc.cm_friend_privilege_rpc.ice_staticId());
     is__.readObject(privilege__PP);
     is__.readPendingObjects();
     inS__.endReadParams();
     int ret__ = obj__.revoke_privilige(privilege__PP.value, current__);
     IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
     os__.writeInt(ret__);
     inS__.endWriteParams__(true);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:14,代码来源:minie_service_app.cs

示例7: updateBotPosition___

 public static Ice.DispatchStatus updateBotPosition___(BotToBase obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     R2D2.BotPosition enc;
     enc = new R2D2.BotPosition();
     R2D2.BotPosition imu;
     imu = new R2D2.BotPosition();
     enc.read__(is__);
     imu.read__(is__);
     inS__.endReadParams();
     obj__.updateBotPosition(enc, imu, current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:15,代码来源:R2Comm.cs

示例8: toUpper___

 public static Ice.DispatchStatus toUpper___(Converter obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string s;
     s = is__.readString();
     inS__.endReadParams();
     string ret__ = obj__.toUpper(s, current__);
     IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
     os__.writeString(ret__);
     inS__.endWriteParams__(true);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:13,代码来源:example.cs

示例9: signCSR___

 public static Ice.DispatchStatus signCSR___(CertSigner obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string name;
     string surname;
     byte[] csrFile;
     name = is__.readString();
     surname = is__.readString();
     csrFile = Ice.ByteSeqHelper.read(is__);
     inS__.endReadParams();
     try
     {
         byte[] ret__ = obj__.signCSR(name, surname, csrFile, current__);
         IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
         Ice.ByteSeqHelper.write(os__, ret__);
         inS__.endWriteParams__(true);
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(SR.DataTooLong ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
     catch(SR.IncorrectCSRFile ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }
开发者ID:Netoperek,项目名称:ClienBankIce,代码行数:30,代码来源:CertSigner.cs

示例10: log___

 public static Ice.DispatchStatus log___(MidaxIce obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string message;
     long logType;
     message = is__.readString();
     logType = is__.readLong();
     inS__.endReadParams();
     obj__.log(message, logType, current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:JBetser,项目名称:MiDax,代码行数:13,代码来源:midax.cs

示例11: tick___

 public static Ice.DispatchStatus tick___(MidaxIce obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string mktDataId;
     long year;
     long month;
     long day;
     long hours;
     long minutes;
     long seconds;
     long milliseconds;
     double price;
     long volume;
     mktDataId = is__.readString();
     year = is__.readLong();
     month = is__.readLong();
     day = is__.readLong();
     hours = is__.readLong();
     minutes = is__.readLong();
     seconds = is__.readLong();
     milliseconds = is__.readLong();
     price = is__.readDouble();
     volume = is__.readLong();
     inS__.endReadParams();
     obj__.tick(mktDataId, year, month, day, hours, minutes, seconds, milliseconds, price, volume, current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:JBetser,项目名称:MiDax,代码行数:29,代码来源:midax.cs

示例12: remove_cm_entrance___

 public static Ice.DispatchStatus remove_cm_entrance___(BackendService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string entranceID;
     entranceID = is__.readString();
     inS__.endReadParams();
     int ret__ = obj__.remove_cm_entrance(entranceID, current__);
     IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
     os__.writeInt(ret__);
     inS__.endWriteParams__(true);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:13,代码来源:minie_service_backend.cs

示例13: get_cm_node___

 public static Ice.DispatchStatus get_cm_node___(BackendService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string nodeID;
     nodeID = is__.readString();
     inS__.endReadParams();
     minie.irpc.cm_node_rpc ret__ = obj__.get_cm_node(nodeID, current__);
     IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
     os__.writeObject(ret__);
     os__.writePendingObjects();
     inS__.endWriteParams__(true);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:14,代码来源:minie_service_backend.cs

示例14: update_sys_user___

 public static Ice.DispatchStatus update_sys_user___(BackendService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     IceInternal.ParamPatcher<minie.irpc.sys_user_rpc> user__PP = new IceInternal.ParamPatcher<minie.irpc.sys_user_rpc>(minie.irpc.sys_user_rpc.ice_staticId());
     is__.readObject(user__PP);
     is__.readPendingObjects();
     inS__.endReadParams();
     int ret__ = obj__.update_sys_user(user__PP.value, current__);
     IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
     os__.writeInt(ret__);
     inS__.endWriteParams__(true);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:14,代码来源:minie_service_backend.cs

示例15: del_blacklist_member___

 public static Ice.DispatchStatus del_blacklist_member___(AppService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string cellphone;
     cellphone = is__.readString();
     inS__.endReadParams();
     try
     {
         int ret__ = obj__.del_blacklist_member(cellphone, current__);
         IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat);
         os__.writeInt(ret__);
         inS__.endWriteParams__(true);
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(minie.irpc.GenericError ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:21,代码来源:minie_service_app.cs


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