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(); } }