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


C# IceInternal.writeEmptyParams__方法代码示例

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


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

示例1: playSound___

 public static Ice.DispatchStatus playSound___(BaseToBot obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     R2D2.Sound snd;
     snd = (R2D2.Sound)is__.readEnum(6);
     inS__.endReadParams();
     obj__.playSound(snd, current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:11,代码来源:R2Comm.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: updateInventory___

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

示例4: 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

示例5: transfer___

 public static Ice.DispatchStatus transfer___(Account obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string accountNumber;
     int amount;
     accountNumber = is__.readString();
     amount = is__.readInt();
     inS__.endReadParams();
     try
     {
         obj__.transfer(accountNumber, amount, current__);
         inS__.writeEmptyParams__();
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(Bank.IncorrectAccountNumber ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
     catch(Bank.IncorrectAmount ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }
开发者ID:Netoperek,项目名称:ClienBankIce,代码行数:26,代码来源:Bank.cs

示例6: 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

示例7: sayHello___

 public static Ice.DispatchStatus sayHello___(Hello obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     int delay;
     delay = is__.readInt();
     inS__.endReadParams();
     obj__.sayHello(delay, current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:Indifer,项目名称:Test,代码行数:11,代码来源:Hello.cs

示例8: shutdown___

 public static Ice.DispatchStatus shutdown___(BaseToBot obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     inS__.readEmptyParams();
     obj__.shutdown(current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:intel-cornellcup,项目名称:r2bot,代码行数:8,代码来源:R2Comm.cs

示例9: 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

示例10: 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

示例11: stopsignals___

 public static Ice.DispatchStatus stopsignals___(MidaxIce obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     inS__.readEmptyParams();
     obj__.stopsignals(current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:JBetser,项目名称:MiDax,代码行数:8,代码来源:midax.cs

示例12: logout___

 public static Ice.DispatchStatus logout___(BaseService obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode);
     inS__.readEmptyParams();
     obj__.logout(current__);
     inS__.writeEmptyParams__();
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:srdgame,项目名称:wpf_test,代码行数:8,代码来源:minie_service_base.cs

示例13: removeAccount___

 public static Ice.DispatchStatus removeAccount___(BankManager obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string accountID;
     accountID = is__.readString();
     inS__.endReadParams();
     try
     {
         obj__.removeAccount(accountID, current__);
         inS__.writeEmptyParams__();
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(Bank.IncorrectData ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
     catch(Bank.NoSuchAccount ex__)
     {
         inS__.writeUserException__(ex__, Ice.FormatType.DefaultFormat);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }
开发者ID:Netoperek,项目名称:ClienBankIce,代码行数:24,代码来源:Bank.cs

示例14: rotateHead___

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

示例15: 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


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