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


C# IceInternal.istr方法代码示例

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


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

示例1: setBans___

 public static Ice.DispatchStatus setBans___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     Murmur.Ban[] bans;
     {
         int szx__ = is__.readSize();
         is__.startSeq(szx__, 20);
         bans = new Murmur.Ban[szx__];
         for(int ix__ = 0; ix__ < szx__; ++ix__)
         {
             bans[ix__] = new Murmur.Ban();
             bans[ix__].read__(is__);
             is__.checkSeq();
             is__.endElement();
         }
         is__.endSeq(szx__);
     }
     is__.endReadEncaps();
     AMD_Server_setBans cb__ = new _AMD_Server_setBans(inS__);
     try
     {
         obj__.setBans_async(cb__, bans, current__);
     }
     catch(_System.Exception ex__)
     {
         cb__.ice_exception(ex__);
     }
     return Ice.DispatchStatus.DispatchAsync;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:31,代码来源:Murmur.cs

示例2: EraseDataUpdater___

 public static Ice.DispatchStatus EraseDataUpdater___(GuiDataHub obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     MCS.GuiDataUpdaterPrx updater;
     updater = MCS.GuiDataUpdaterPrxHelper.read__(is__);
     is__.endReadEncaps();
     obj__.EraseDataUpdater(updater, current__);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:11,代码来源:iGuiHub.cs

示例3: GetUserCount___

 public static Ice.DispatchStatus GetUserCount___(UserManagement obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     int session;
     session = is__.readInt();
     is__.endReadEncaps();
     IceInternal.BasicStream os__ = inS__.ostr();
     int ret__ = obj__.GetUserCount(session, current__);
     os__.writeInt(ret__);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:13,代码来源:iGuiHub.cs

示例4: UpdateData___

 public static Ice.DispatchStatus UpdateData___(GuiDataUpdater obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     long time;
     time = is__.readLong();
     MCS.GuiDataItem data;
     data = null;
     if(data == null)
     {
         data = new MCS.GuiDataItem();
     }
     data.read__(is__);
     is__.endReadEncaps();
     AMD_GuiDataUpdater_UpdateData cb__ = new _AMD_GuiDataUpdater_UpdateData(inS__);
     try
     {
         obj__.UpdateData_async(cb__, time, data, current__);
     }
     catch(_System.Exception ex__)
     {
         cb__.ice_exception(ex__);
     }
     return Ice.DispatchStatus.DispatchAsync;
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:26,代码来源:iGuiHub.cs

示例5: SetPushTimer___

 public static Ice.DispatchStatus SetPushTimer___(GuiDataHub obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     int period;
     period = is__.readInt();
     int session;
     session = is__.readInt();
     is__.endReadEncaps();
     IceInternal.BasicStream os__ = inS__.ostr();
     int ret__ = obj__.SetPushTimer(period, session, current__);
     os__.writeInt(ret__);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:15,代码来源:iGuiHub.cs

示例6: setTo___

 public static Ice.DispatchStatus setTo___(RepoApi obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     string id;
     id = is__.readString();
     string to;
     to = is__.readString();
     is__.endReadEncaps();
     obj__.setTo(id, to, current__);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:nfrey,项目名称:qreal,代码行数:13,代码来源:repoclientice.cs

示例7: PickFoup___

 public static Ice.DispatchStatus PickFoup___(MESLink obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     int foupBarCode;
     foupBarCode = is__.readInt();
     int DevID;
     DevID = is__.readInt();
     int nLocType;
     nLocType = is__.readInt();
     is__.endReadEncaps();
     IceInternal.BasicStream os__ = inS__.ostr();
     int ret__ = obj__.PickFoup(foupBarCode, DevID, nLocType, current__);
     os__.writeInt(ret__);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:tornadocean,项目名称:SyAutoH,代码行数:17,代码来源:iMesLink.cs

示例8: updateRegistration___

 public static Ice.DispatchStatus updateRegistration___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     int userid;
     userid = is__.readInt();
     _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info;
     info = Murmur.UserInfoMapHelper.read(is__);
     is__.endReadEncaps();
     AMD_Server_updateRegistration cb__ = new _AMD_Server_updateRegistration(inS__);
     try
     {
         obj__.updateRegistration_async(cb__, userid, info, current__);
     }
     catch(_System.Exception ex__)
     {
         cb__.ice_exception(ex__);
     }
     return Ice.DispatchStatus.DispatchAsync;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:21,代码来源:Murmur.cs

示例9: verifyPassword___

 public static Ice.DispatchStatus verifyPassword___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     string name;
     name = is__.readString();
     string pw;
     pw = is__.readString();
     is__.endReadEncaps();
     AMD_Server_verifyPassword cb__ = new _AMD_Server_verifyPassword(inS__);
     try
     {
         obj__.verifyPassword_async(cb__, name, pw, current__);
     }
     catch(_System.Exception ex__)
     {
         cb__.ice_exception(ex__);
     }
     return Ice.DispatchStatus.DispatchAsync;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:21,代码来源:Murmur.cs

示例10: stop___

 public static Ice.DispatchStatus stop___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     inS__.istr().skipEmptyEncaps();
     AMD_Server_stop cb__ = new _AMD_Server_stop(inS__);
     try
     {
         obj__.stop_async(cb__, current__);
     }
     catch(_System.Exception ex__)
     {
         cb__.ice_exception(ex__);
     }
     return Ice.DispatchStatus.DispatchAsync;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:15,代码来源:Murmur.cs

示例11: unregisterUser___

 public static Ice.DispatchStatus unregisterUser___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     int userid;
     userid = is__.readInt();
     is__.endReadEncaps();
     AMD_Server_unregisterUser cb__ = new _AMD_Server_unregisterUser(inS__);
     try
     {
         obj__.unregisterUser_async(cb__, userid, current__);
     }
     catch(_System.Exception ex__)
     {
         cb__.ice_exception(ex__);
     }
     return Ice.DispatchStatus.DispatchAsync;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:19,代码来源:Murmur.cs

示例12: setTexture___

 public static Ice.DispatchStatus setTexture___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     int userid;
     userid = is__.readInt();
     byte[] tex;
     tex = is__.readByteSeq();
     is__.endReadEncaps();
     AMD_Server_setTexture cb__ = new _AMD_Server_setTexture(inS__);
     try
     {
         obj__.setTexture_async(cb__, userid, tex, current__);
     }
     catch(_System.Exception ex__)
     {
         cb__.ice_exception(ex__);
     }
     return Ice.DispatchStatus.DispatchAsync;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:21,代码来源:Murmur.cs

示例13: setState___

 public static Ice.DispatchStatus setState___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     Murmur.User state;
     state = null;
     if(state == null)
     {
         state = new Murmur.User();
     }
     state.read__(is__);
     is__.endReadEncaps();
     AMD_Server_setState cb__ = new _AMD_Server_setState(inS__);
     try
     {
         obj__.setState_async(cb__, state, current__);
     }
     catch(_System.Exception ex__)
     {
         cb__.ice_exception(ex__);
     }
     return Ice.DispatchStatus.DispatchAsync;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:24,代码来源:Murmur.cs

示例14: setConf___

 public static Ice.DispatchStatus setConf___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Idempotent, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     string key;
     key = is__.readString();
     string value;
     value = is__.readString();
     is__.endReadEncaps();
     AMD_Server_setConf cb__ = new _AMD_Server_setConf(inS__);
     try
     {
         obj__.setConf_async(cb__, key, value, current__);
     }
     catch(_System.Exception ex__)
     {
         cb__.ice_exception(ex__);
     }
     return Ice.DispatchStatus.DispatchAsync;
 }
开发者ID:nhede,项目名称:whisper_server,代码行数:21,代码来源:Murmur.cs

示例15: save___

 public static Ice.DispatchStatus save___(RepoApi obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     inS__.istr().skipEmptyEncaps();
     obj__.save(current__);
     return Ice.DispatchStatus.DispatchOK;
 }
开发者ID:nfrey,项目名称:qreal,代码行数:7,代码来源:repoclientice.cs


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