예제 #1
0
파일: CS_NMClient.cs 프로젝트: metoer/wpf
 private Ice.AsyncResult <IRPC.Callback_NMServer_SendData> begin_SendData(string strXml, _System.Collections.Generic.Dictionary <string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
 {
     checkAsyncTwowayOnly__(__SendData_name);
     IceInternal.TwowayOutgoingAsync <IRPC.Callback_NMServer_SendData> result__ = getTwowayOutgoingAsync <IRPC.Callback_NMServer_SendData>(__SendData_name, SendData_completed__, cookie__);
     if (cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare(__SendData_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
         IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat);
         os__.writeString(strXml);
         result__.endWriteParams();
         result__.invoke();
     }
     catch (Ice.Exception ex__)
     {
         result__.abort(ex__);
     }
     return(result__);
 }