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 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(); } }
public MCS.LocFoup end_GetFoup(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __GetFoup_name); if (!outAsync__.wait__()) { try { outAsync__.throwUserException__(); } catch (Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } MCS.LocFoup ret__; IceInternal.BasicStream is__ = outAsync__.istr__; is__.startReadEncaps(); ret__ = null; if (ret__ == null) { ret__ = new MCS.LocFoup(); } ret__.read__(is__); is__.endReadEncaps(); return(ret__); }
override protected Ice.AsyncCallback getCompletedCallback() { return((Ice.AsyncResult result) => { try { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)result; ((Ice.ObjectPrxHelperBase)(outAsync__.getProxy())).end__(outAsync__, outAsync__.getOperation()); } catch (Ice.Exception ex__) { if (exceptionCallback_ != null) { exceptionCallback_(ex__); } return; } _completed(responseCallback_); }); }
public byte[] end_getBitmap(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __getBitmap_name); if (!outAsync__.wait__()) { try { outAsync__.throwUserException__(); } catch (Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } byte[] ret__; IceInternal.BasicStream is__ = outAsync__.istr__; is__.startReadEncaps(); ret__ = is__.readByteSeq(); is__.endReadEncaps(); return(ret__); }
public NProgDistributed.TheIce.MessageDto end_Send(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __Send_name); bool ok__ = outAsync__.wait__(); try { if (!ok__) { try { outAsync__.throwUserException__(); } catch (Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } NProgDistributed.TheIce.MessageDto ret__; IceInternal.BasicStream is__ = outAsync__.startReadParams__(); IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto> ret__PP = new IceInternal.ParamPatcher <NProgDistributed.TheIce.MessageDto>(NProgDistributed.TheIce.MessageDto.ice_staticId()); is__.readObject(ret__PP); is__.readPendingObjects(); outAsync__.endReadParams__(); ret__ = ret__PP.value; 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_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__); }