protected override void readImpl__(IceInternal.BasicStream is__) { is__.startReadSlice(); body = is__.readString(); messageType = is__.readString(); is__.endReadSlice(); }
protected virtual void readImpl__(IceInternal.BasicStream is__) { is__.startReadSlice(); user_id = is__.readString(); token = is__.readString(); ext = is__.readString(); is__.endReadSlice(); }
public static Ice.DispatchStatus log___(RemoteLog obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); string name; string time; string msg; name = is__.readString(); time = is__.readString(); msg = is__.readString(); inS__.endReadParams(); obj__.log(name, time, msg, current__); inS__.writeEmptyParams__(); return(Ice.DispatchStatus.DispatchOK); }
public string end_toUpper(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __toUpper_name); bool ok__ = outAsync__.wait__(); try { if (!ok__) { try { outAsync__.throwUserException__(); } catch (Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } string ret__; IceInternal.BasicStream is__ = outAsync__.startReadParams__(); ret__ = is__.readString(); outAsync__.endReadParams__(); return(ret__); } catch (Ice.LocalException ex) { Ice.Instrumentation.InvocationObserver obsv__ = outAsync__.getObserver__(); if (obsv__ != null) { obsv__.failed(ex.ice_name()); } throw ex; } }
public string end_send(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __send_name); try { if (!outAsync__.wait()) { try { outAsync__.throwUserException(); } catch (Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } string ret__; IceInternal.BasicStream is__ = outAsync__.startReadParams(); ret__ = is__.readString(); outAsync__.endReadParams(); return(ret__); } finally { outAsync__.cacheMessageBuffers(); } }
public static Ice.DispatchStatus TransDataFromClient___(CSTransDataFromClient obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); string strClientId; string strXml; strClientId = is__.readString(); strXml = is__.readString(); inS__.endReadParams(); int ret__ = obj__.TransDataFromClient(strClientId, strXml, current__); IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); os__.writeInt(ret__); inS__.endWriteParams__(true); return(Ice.DispatchStatus.DispatchOK); }
public static Ice.DispatchStatus WriteLog___(LogServer_RPC obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); string strServerID; string strPluginName; string strLog; int LogLevel; strServerID = is__.readString(); strPluginName = is__.readString(); strLog = is__.readString(); LogLevel = is__.readInt(); inS__.endReadParams(); obj__.WriteLog(strServerID, strPluginName, strLog, LogLevel, current__); inS__.writeEmptyParams__(); return(Ice.DispatchStatus.DispatchOK); }
public void read__(IceInternal.BasicStream is__) { Id = is__.readInt(); ClientId = is__.readInt(); ClientName = is__.readString(); Password = is__.readString(); ComPassword = is__.readString(); FundType = (PortServerIce.PSIceFundType)is__.readEnum(1); BrokerName = is__.readString(); DepartmentNo = is__.readString(); FundName = is__.readString(); SHStockAccount = is__.readString(); SZStockAccount = is__.readString(); Node = is__.readString(); }
internal EndpointI(Instance instance, IceInternal.BasicStream s) { _instance = instance; s.startReadEncaps(); _host = s.readString(); _port = s.readInt(); _timeout = s.readInt(); _compress = s.readBool(); s.endReadEncaps(); calcHashValue(); }
public static Ice.DispatchStatus onRecv___(ConnectionListener obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); string xmlContent; xmlContent = is__.readString(); inS__.endReadParams(); obj__.onRecv(xmlContent, current__); inS__.writeEmptyParams__(); return(Ice.DispatchStatus.DispatchOK); }
public static Ice.DispatchStatus printString___(Printer obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); string s; s = is__.readString(); inS__.endReadParams(); obj__.printString(s, current__); inS__.writeEmptyParams__(); return(Ice.DispatchStatus.DispatchOK); }
public static DispatchStatus ice_isA___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current) { IceInternal.BasicStream is__ = inS__.startReadParams(); string __id = is__.readString(); inS__.endReadParams(); bool __ret = __obj.ice_isA(__id, __current); IceInternal.BasicStream os__ = inS__.startWriteParams__(FormatType.DefaultFormat); os__.writeBool(__ret); inS__.endWriteParams__(true); return(DispatchStatus.DispatchOK); }
public static Ice.DispatchStatus sendImage___(Printer obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); byte[] seq; string name; seq = demo.ByteSeqHelper.read(is__); name = is__.readString(); inS__.endReadParams(); obj__.sendImage(seq, name, current__); inS__.writeEmptyParams__(); return(Ice.DispatchStatus.DispatchOK); }
public static Ice.DispatchStatus NMRegistClient___(NMServer obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); string strClientId; IRPC.NMClientPrx Client; strClientId = is__.readString(); Client = IRPC.NMClientPrxHelper.read__(is__); inS__.endReadParams(); obj__.NMRegistClient(strClientId, Client, current__); inS__.writeEmptyParams__(); return(Ice.DispatchStatus.DispatchOK); }
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); }
public static Ice.DispatchStatus helloWorld___(BitmapProvider obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.istr(); is__.startReadEncaps(); string something; something = is__.readString(); is__.endReadEncaps(); IceInternal.BasicStream os__ = inS__.ostr(); string ret__ = obj__.helloWorld(something, current__); os__.writeString(ret__); return(Ice.DispatchStatus.DispatchOK); }
public static Ice.DispatchStatus send___(FaceRecognition obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); string xml; xml = is__.readString(); inS__.endReadParams(); string ret__ = obj__.send(xml, current__); IceInternal.BasicStream os__ = inS__.startWriteParams__(Ice.FormatType.DefaultFormat); os__.writeString(ret__); inS__.endWriteParams__(true); return(Ice.DispatchStatus.DispatchOK); }
public static Ice.DispatchStatus RegistClient___(CSTransDataFromClient obj__, IceInternal.Incoming inS__, Ice.Current current__) { Ice.ObjectImpl.checkMode__(Ice.OperationMode.Normal, current__.mode); IceInternal.BasicStream is__ = inS__.startReadParams(); string strClientId; IRPC.CallbackClientPrx callbackClient; int iHeartbeatInterval; strClientId = is__.readString(); callbackClient = IRPC.CallbackClientPrxHelper.read__(is__); iHeartbeatInterval = is__.readInt(); inS__.endReadParams(); obj__.RegistClient(strClientId, callbackClient, iHeartbeatInterval, current__); inS__.writeEmptyParams__(); return(Ice.DispatchStatus.DispatchOK); }
public string toUpper(string s, _System.Collections.Generic.Dictionary <string, string> context__, Ice.Instrumentation.InvocationObserver observer__) { IceInternal.Outgoing og__ = handler__.getOutgoing("toUpper", Ice.OperationMode.Normal, context__, observer__); try { try { IceInternal.BasicStream os__ = og__.startWriteParams(Ice.FormatType.DefaultFormat); os__.writeString(s); og__.endWriteParams(); } 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__.startReadParams(); string ret__; ret__ = is__.readString(); og__.endReadParams(); return(ret__); } catch (Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } finally { handler__.reclaimOutgoing(og__); } }
public string helloWorld(string something, _System.Collections.Generic.Dictionary <string, string> context__) { IceInternal.Outgoing og__ = handler__.getOutgoing("helloWorld", Ice.OperationMode.Normal, context__); try { try { IceInternal.BasicStream os__ = og__.ostr(); os__.writeString(something); } 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(); string ret__; ret__ = is__.readString(); is__.endReadEncaps(); return(ret__); } catch (Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } finally { handler__.reclaimOutgoing(og__); } }
public string end_helloWorld(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __helloWorld_name); if (!outAsync__.wait__()) { try { outAsync__.throwUserException__(); } catch (Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } string ret__; IceInternal.BasicStream is__ = outAsync__.istr__; is__.startReadEncaps(); ret__ = is__.readString(); is__.endReadEncaps(); return(ret__); }
public void read__(IceInternal.BasicStream is__) { nDevID = is__.readInt(); nLocType = is__.readInt(); sStatus = is__.readString(); }
public void read__(IceInternal.BasicStream is__) { strServerID__prop = is__.readString(); strIp__prop = is__.readString(); strPluginName__prop = is__.readString(); }
public void read__(IceInternal.BasicStream is__) { Code = is__.readLong(); Message = is__.readString(); }