• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# MCS.MCS类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: UpdateData_async

 public override void UpdateData_async(MCS.AMD_GuiDataUpdater_UpdateData updater, 
     long lTime,
     GuiDataItem data, Ice.Current current)
 {
     updater.ice_response();
      if (null != this.DataChange)
      {
          this.DataChange(lTime, data);
      }
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:10,代码来源:DataHubCallbackI.cs


示例2: SetPushCmd

 public int SetPushCmd(MCS.GuiDataUpdaterPrx updater, MCS.GuiHub.PushData[] list, int session, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("SetPushCmd", Ice.OperationMode.Idempotent, context__);
     try
     {
         try
         {
             IceInternal.BasicStream os__ = og__.ostr();
             MCS.GuiDataUpdaterPrxHelper.write__(os__, updater);
             if(list == null)
             {
                 os__.writeSize(0);
             }
             else
             {
                 os__.writeSize(list.Length);
                 for(int ix__ = 0; ix__ < list.Length; ++ix__)
                 {
                     os__.writeByte((byte)list[ix__], 10);
                 }
             }
             os__.writeInt(session);
         }
         catch(Ice.LocalException ex__)
         {
             og__.abort(ex__);
         }
         bool ok__ = og__.invoke();
         try
         {
             if(!ok__)
             {
                 try
                 {
                     og__.throwUserException();
                 }
                 catch(Ice.UserException ex__)
                 {
                     throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
                 }
             }
             IceInternal.BasicStream is__ = og__.istr();
             is__.startReadEncaps();
             int ret__;
             ret__ = is__.readInt();
             is__.endReadEncaps();
             return ret__;
         }
         catch(Ice.LocalException ex__)
         {
             throw new IceInternal.LocalExceptionWrapper(ex__, false);
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:58,代码来源:iGuiHub.cs


示例3: EraseDataUpdater

 public void EraseDataUpdater(MCS.GuiDataUpdaterPrx updater, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     EraseDataUpdater(updater, context__, true);
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:4,代码来源:iGuiHub.cs


示例4: UpdateData_async

 public bool UpdateData_async(MCS.AMI_GuiDataUpdater_UpdateData cb__, long time, MCS.GuiDataItem data, _System.Collections.Generic.Dictionary<string, string> ctx__)
 {
     Ice.AsyncResult<MCS.Callback_GuiDataUpdater_UpdateData> result__ = begin_UpdateData(time, data, ctx__);
     result__.whenCompleted(cb__.response__, cb__.exception__);
     if(cb__ is Ice.AMISentCallback)
     {
         result__.whenSent((Ice.AsyncCallback)cb__.sent__);
     }
     return result__.sentSynchronously();
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:10,代码来源:iGuiHub.cs


示例5: UpdateData_completed__

 private void UpdateData_completed__(MCS.Callback_GuiDataUpdater_UpdateData cb__)
 {
     if(cb__ != null)
     {
         cb__();
     }
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:7,代码来源:iGuiHub.cs


示例6: begin_UpdateData

 public Ice.AsyncResult begin_UpdateData(long time, MCS.GuiDataItem data, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
 {
     return begin_UpdateData(time, data, ctx__, true, cb__, cookie__);
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:4,代码来源:iGuiHub.cs


示例7: UpdateData

 public void UpdateData(long time, MCS.GuiDataItem data, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     UpdateData(time, data, context__, true);
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:4,代码来源:iGuiHub.cs


示例8: WriteData

 public int WriteData(MCS.GuiHub.GuiCommand Tag, string Val, int session, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     Ice.Current current__ = new Ice.Current();
     initCurrent__(ref current__, "WriteData", Ice.OperationMode.Idempotent, context__);
     int result__ = 0;
     IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
     {
         GuiDataHub servant__ = null;
         try
         {
             servant__ = (GuiDataHub)obj__;
         }
         catch(_System.InvalidCastException)
         {
             throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
         }
         result__ = servant__.WriteData(Tag, Val, session, current__);
         return Ice.DispatchStatus.DispatchOK;
     };
     IceInternal.Direct direct__ = null;
     try
     {
         direct__ = new IceInternal.Direct(current__, run__);
         try
         {
             Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
             _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
         }
         finally
         {
             direct__.destroy();
         }
     }
     catch(Ice.SystemException)
     {
         throw;
     }
     catch(_System.Exception ex__)
     {
         IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
     }
     return result__;
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:43,代码来源:iGuiHub.cs


示例9: SetDataUpdater

 public void SetDataUpdater(MCS.GuiDataUpdaterPrx updater, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     Ice.Current current__ = new Ice.Current();
     initCurrent__(ref current__, "SetDataUpdater", Ice.OperationMode.Idempotent, context__);
     IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
     {
         GuiDataHub servant__ = null;
         try
         {
             servant__ = (GuiDataHub)obj__;
         }
         catch(_System.InvalidCastException)
         {
             throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
         }
         servant__.SetDataUpdater(updater, current__);
         return Ice.DispatchStatus.DispatchOK;
     };
     IceInternal.Direct direct__ = null;
     try
     {
         direct__ = new IceInternal.Direct(current__, run__);
         try
         {
             Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
             _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
         }
         finally
         {
             direct__.destroy();
         }
     }
     catch(Ice.SystemException)
     {
         throw;
     }
     catch(_System.Exception ex__)
     {
         IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
     }
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:41,代码来源:iGuiHub.cs


示例10: GuiDataItem

 public GuiDataItem(MCS.GuiHub.PushData enumTag, string sVal)
 {
     this.enumTag = enumTag;
     this.sVal = sVal;
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:5,代码来源:iGuiHub.cs


示例11: ReadData

 public string ReadData(MCS.GuiHub.GuiCommand Tag, int session)
 {
     return ReadData(Tag, session, Ice.ObjectImpl.defaultCurrent);
 }
开发者ID:JiangJunGG,项目名称:SyAutoH,代码行数:4,代码来源:iGuiHub.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# MCSharp.Player类代码示例发布时间:2022-05-26
下一篇:
C# MCPink.Player类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap