ConnectionPtr IceProxy::Ice::Object::end_ice_getConnection(const AsyncResultPtr& __result) { AsyncResult::__check(__result, this, ice_getConnection_name); __result->__wait(); return ice_getCachedConnection(); }
bool IceProxy::Ice::Object::___end_ice_invoke(pair<const Byte*, const Byte*>& outEncaps, const AsyncResultPtr& __result) { AsyncResult::__check(__result, this, ice_invoke_name); bool ok = __result->__wait(); if(_reference->getMode() == Reference::ModeTwoway) { Int sz; __result->__readParamEncaps(outEncaps.first, sz); outEncaps.second = outEncaps.first + sz; } return ok; }
bool IceProxy::Ice::Object::end_ice_invoke(vector<Byte>& outEncaps, const AsyncResultPtr& __result) { AsyncResult::__check(__result, this, ice_invoke_name); bool ok = __result->__wait(); if(_reference->getMode() == Reference::ModeTwoway) { const Byte* v; Int sz; __result->__readParamEncaps(v, sz); vector<Byte>(v, v + sz).swap(outEncaps); } return ok; }
virtual void sent(const AsyncResultPtr& result) const { try { AsyncResult::__check(result, _communicator.get(), __flushBatchRequests_name); result->__wait(); } catch(const ::Ice::Exception&) { _exception(current_exception()); } if(_sent) { _sent(result->sentSynchronously()); } }
string IceProxy::Ice::Object::end_ice_id(const AsyncResultPtr& __result) { AsyncResult::__check(__result, this, ice_id_name); bool __ok = __result->__wait(); if(!__ok) { try { __result->__throwUserException(); } catch(const UserException& __ex) { throw UnknownUserException(__FILE__, __LINE__, __ex.ice_id()); } } string __ret; ::Ice::InputStream* __is = __result->__startReadParams(); __is->read(__ret); __result->__endReadParams(); return __ret; }
void Ice::CommunicatorI::end_flushBatchRequests(const AsyncResultPtr& r) { AsyncResult::__check(r, this, __flushBatchRequests_name); r->__wait(); }
void IceProxy::Ice::Object::end_ice_flushBatchRequests(const AsyncResultPtr& result) { AsyncResult::__check(result, this, ice_flushBatchRequests_name); result->__wait(); }