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 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(); }
public int end_SendData(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = IceInternal.OutgoingAsync.check(r__, this, __SendData_name); try { if (!outAsync__.wait()) { try { outAsync__.throwUserException(); } catch (Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } int ret__; IceInternal.BasicStream is__ = outAsync__.startReadParams(); ret__ = is__.readInt(); outAsync__.endReadParams(); return(ret__); } finally { outAsync__.cacheMessageBuffers(); } }
internal EndpointI(Instance instance, IceInternal.BasicStream s) : base(instance, s) { _instance = instance; _timeout = s.readInt(); _compress = s.readBool(); }
public static Ice.DispatchStatus Move___(FoupMove obj__, IceInternal.Incoming inS__, Ice.Current current__) { checkMode__(Ice.OperationMode.Idempotent, current__.mode); IceInternal.BasicStream is__ = inS__.istr(); is__.startReadEncaps(); int FoupID; FoupID = is__.readInt(); int From; From = is__.readInt(); int To; To = is__.readInt(); is__.endReadEncaps(); IceInternal.BasicStream os__ = inS__.ostr(); int ret__ = obj__.Move(FoupID, From, To, current__); os__.writeInt(ret__); return(Ice.DispatchStatus.DispatchOK); }
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); }
public int Move(int FoupID, int From, int To, _System.Collections.Generic.Dictionary <string, string> context__) { IceInternal.Outgoing og__ = handler__.getOutgoing("Move", Ice.OperationMode.Idempotent, context__); try { try { IceInternal.BasicStream os__ = og__.ostr(); os__.writeInt(FoupID); os__.writeInt(From); os__.writeInt(To); } 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__); } }
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 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 static Ice.DispatchStatus GetFoup___(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(); is__.endReadEncaps(); IceInternal.BasicStream os__ = inS__.ostr(); MCS.LocFoup ret__ = obj__.GetFoup(foupBarCode, current__); if (ret__ == null) { MCS.LocFoup tmp__ = new MCS.LocFoup(); tmp__.write__(os__); } else { ret__.write__(os__); } return(Ice.DispatchStatus.DispatchOK); }
public int end_Move(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __Move_name); if (!outAsync__.wait__()) { try { outAsync__.throwUserException__(); } catch (Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } int ret__; IceInternal.BasicStream is__ = outAsync__.istr__; is__.startReadEncaps(); ret__ = is__.readInt(); is__.endReadEncaps(); return(ret__); }
public void read__(IceInternal.BasicStream is__) { nDevID = is__.readInt(); nLocType = is__.readInt(); sStatus = is__.readString(); }