37#if defined(_MSC_VER) && (_MSC_VER <= 1600)
62class ICE_API ProxyFlushBatchAsync :
public ProxyOutgoingAsyncBase
68 virtual AsyncStatus invokeRemote(
const Ice::ConnectionIPtr&,
bool,
bool);
69 virtual AsyncStatus invokeCollocated(CollocatedRequestHandler*);
71 void invoke(
const std::string&);
77typedef IceUtil::Handle<ProxyFlushBatchAsync> ProxyFlushBatchAsyncPtr;
82class ICE_API ProxyGetConnection :
public ProxyOutgoingAsyncBase
88 virtual AsyncStatus invokeRemote(
const Ice::ConnectionIPtr&,
bool,
bool);
89 virtual AsyncStatus invokeCollocated(CollocatedRequestHandler*);
93 void invoke(
const std::string&);
95typedef IceUtil::Handle<ProxyGetConnection> ProxyGetConnectionPtr;
99#ifdef ICE_CPP11_MAPPING
105::std::shared_ptr<P> createProxy()
107 return ::std::shared_ptr<P>(
new P());
110inline ::std::pair<const Ice::Byte*, const Ice::Byte*>
115 return {
nullptr,
nullptr };
119 return { seq.data(), seq.data() + seq.size() };
124class InvokeOutgoingAsyncT :
public OutgoingAsync
128 using OutgoingAsync::OutgoingAsync;
131 invoke(
const std::string& operation,
133 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
136 _read = [](
bool ok, Ice::InputStream* stream)
138 const ::Ice::Byte* encaps;
140 stream->readEncapsulation(encaps, sz);
141 return R { ok, { encaps, encaps + sz } };
146 prepare(operation, mode, context);
147 if(inParams.first == inParams.second)
149 _os.writeEmptyEncapsulation(_encoding);
153 _os.writeEncapsulation(inParams.first,
static_cast<Ice::Int>(inParams.second - inParams.first));
155 OutgoingAsync::invoke(operation);
165 std::function<R(
bool, Ice::InputStream*)> _read;
169class InvokeLambdaOutgoing :
public InvokeOutgoingAsyncT<R>,
public LambdaInvoke
173 InvokeLambdaOutgoing(const ::std::shared_ptr<::Ice::ObjectPrx>& proxy,
174 ::std::function<
void(R)> response,
175 ::std::function<
void(::std::exception_ptr)> ex,
176 ::std::function<
void(
bool)> sent) :
177 InvokeOutgoingAsyncT<R>(proxy, false), LambdaInvoke(::std::move(ex), ::std::move(sent))
181#if ICE_CPLUSPLUS >= 201402L
183 _response = [
this, response = std::move(response)](
bool ok)
185 _response = [
this, response](
bool ok)
188 if(this->_is.b.empty())
190 response(R { ok, {
static_cast<Ice::Byte*
>(
nullptr),
static_cast<Ice::Byte*
>(
nullptr) } });
194 response(this->_read(ok, &this->_is));
201template<
typename P,
typename R>
202class InvokePromiseOutgoing :
public InvokeOutgoingAsyncT<R>,
public PromiseInvoke<P>
206 InvokePromiseOutgoing(
const std::shared_ptr<Ice::ObjectPrx>& proxy,
bool synchronous) :
207 InvokeOutgoingAsyncT<R>(proxy, false)
209 this->_synchronous = synchronous;
210 this->_response = [
this](
bool ok)
212 if(this->_is.b.empty())
214 this->_promise.set_value(R { ok, {
static_cast<Ice::Byte*
>(
nullptr),
static_cast<Ice::Byte*
>(
nullptr) } });
218 this->_promise.set_value(this->_read(ok, &this->_is));
223 virtual bool handleSent(
bool done,
bool)
override
227 this->_promise.set_value(R {
true, {
static_cast<Ice::Byte*
>(
nullptr),
static_cast<Ice::Byte*
>(
nullptr) } });
233class ProxyGetConnectionLambda :
public ProxyGetConnection,
public LambdaInvoke
237 ProxyGetConnectionLambda(const ::std::shared_ptr<::Ice::ObjectPrx>& proxy,
238 ::std::function<
void(::std::shared_ptr<Ice::Connection>)> response,
239 ::std::function<
void(::std::exception_ptr)> ex,
240 ::std::function<
void(
bool)> sent) :
241 ProxyGetConnection(proxy), LambdaInvoke(::std::move(ex), ::std::move(sent))
243#if ICE_CPLUSPLUS >= 201402L
244 _response = [&, response = std::move(response)](bool)
246 _response = [&, response](bool)
249 response(getConnection());
255class ProxyGetConnectionPromise :
public ProxyGetConnection,
public PromiseInvoke<P>
259 ProxyGetConnectionPromise(const ::std::shared_ptr<::Ice::ObjectPrx>& proxy) : ProxyGetConnection(proxy)
261 this->_response = [&](bool)
263 this->_promise.set_value(getConnection());
268class ProxyFlushBatchLambda :
public ProxyFlushBatchAsync,
public LambdaInvoke
272 ProxyFlushBatchLambda(const ::std::shared_ptr<::Ice::ObjectPrx>& proxy,
273 ::std::function<
void(::std::exception_ptr)> ex,
274 ::std::function<
void(
bool)> sent) :
275 ProxyFlushBatchAsync(proxy), LambdaInvoke(::std::move(ex), ::std::move(sent))
281class ProxyFlushBatchPromise :
public ProxyFlushBatchAsync,
public PromiseInvoke<P>
285 using ProxyFlushBatchAsync::ProxyFlushBatchAsync;
287 virtual bool handleSent(
bool,
bool)
override
289 this->_promise.set_value();
301using RouterPrxPtr = ::std::shared_ptr<::Ice::RouterPrx>;
320 virtual ~ObjectPrx() =
default;
322 friend ICE_API bool operator<(
const ObjectPrx&,
const ObjectPrx&);
323 friend ICE_API bool operator==(
const ObjectPrx&,
const ObjectPrx&);
329 ::std::shared_ptr<::Ice::Communicator> ice_getCommunicator()
const;
335 ::std::string ice_toString()
const;
347 return _makePromiseOutgoing<bool>(
true,
this, &ObjectPrx::_iceI_isA, typeId, context).get();
359 ::std::function<void()>
360 ice_isAAsync(const ::std::string& typeId,
361 ::std::function<
void(
bool)> response,
362 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
363 ::std::function<
void(
bool)> sent =
nullptr,
366 return _makeLambdaOutgoing<bool>(std::move(response), std::move(ex), std::move(sent),
this,
367 &ObjectPrx::_iceI_isA, typeId, context);
376 template<
template<
typename>
class P = std::promise>
auto
378 ->
decltype(std::declval<P<bool>>().get_future())
380 return _makePromiseOutgoing<bool, P>(
false,
this, &ObjectPrx::_iceI_isA, typeId, context);
385 _iceI_isA(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<bool>>&, const ::std::string&, const ::Ice::Context&);
395 _makePromiseOutgoing<void>(
true,
this, &ObjectPrx::_iceI_ping, context).get();
406 ::std::function<void()>
407 ice_pingAsync(::std::function<
void()> response,
408 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
409 ::std::function<
void(
bool)> sent =
nullptr,
412 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this,
413 &ObjectPrx::_iceI_ping, context);
421 template<
template<
typename>
class P = std::promise>
423 ->
decltype(std::declval<P<void>>().get_future())
425 return _makePromiseOutgoing<void, P>(
false,
this, &ObjectPrx::_iceI_ping, context);
430 _iceI_ping(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Context&);
439 ::std::vector<::std::string>
442 return _makePromiseOutgoing<::std::vector<::std::string>>(
true,
this, &ObjectPrx::_iceI_ids, context).get();
453 ::std::function<void()>
454 ice_idsAsync(::std::function<
void(::std::vector<::std::string>)> response,
455 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
456 ::std::function<
void(
bool)> sent =
nullptr,
459 return _makeLambdaOutgoing<::std::vector<::std::string>>(std::move(response), std::move(ex), std::move(sent),
460 this, &ObjectPrx::_iceI_ids, context);
468 template<
template<
typename>
class P = std::promise>
auto
470 ->
decltype(std::declval<P<::std::vector<::std::string>>>().get_future())
472 return _makePromiseOutgoing<::std::vector<::std::string>, P>(
false,
this, &ObjectPrx::_iceI_ids, context);
477 _iceI_ids(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::vector<::std::string>>>&, const ::Ice::Context&);
488 return _makePromiseOutgoing<::std::string>(
true,
this, &ObjectPrx::_iceI_id, context).get();
499 ::std::function<void()>
500 ice_idAsync(::std::function<
void(::std::string)> response,
501 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
502 ::std::function<
void(
bool)> sent =
nullptr,
505 return _makeLambdaOutgoing<::std::string>(std::move(response), std::move(ex), std::move(sent),
this,
506 &ObjectPrx::_iceI_id, context);
514 template<
template<
typename>
class P = std::promise>
516 ->
decltype(std::declval<P<::std::string>>().get_future())
518 return _makePromiseOutgoing<::std::string, P>(
false,
this, &ObjectPrx::_iceI_id, context);
523 _iceI_id(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::string>>&, const ::Ice::Context&);
530 static const ::std::string& ice_staticId()
532 return ::Ice::Object::ice_staticId();
548 ice_invoke(const ::std::string& operation,
550 const ::std::vector<Byte>& inParams,
551 ::std::vector<::Ice::Byte>& outParams,
554 return ice_invoke(operation, mode, ::IceInternal::makePair(inParams), outParams, context);
565 template<
template<
typename>
class P = std::promise>
auto
566 ice_invokeAsync(const ::std::string& operation,
568 const ::std::vector<Byte>& inParams,
570 ->
decltype(std::declval<P<::Ice::Object::Ice_invokeResult>>().get_future())
572 return ice_invokeAsync<P>(operation, mode, ::IceInternal::makePair(inParams), context);
586 ::std::function<void()>
587 ice_invokeAsync(const ::std::string& operation,
589 const ::std::vector<::Ice::Byte>& inParams,
590 ::std::function<
void(
bool, ::std::vector<::Ice::Byte>)> response,
591 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
592 ::std::function<
void(
bool)> sent =
nullptr,
595 using Outgoing = ::IceInternal::InvokeLambdaOutgoing<::Ice::Object::Ice_invokeResult>;
596 ::std::function<void(::Ice::Object::Ice_invokeResult&&)> r;
599#if ICE_CPLUSPLUS >= 201402L
600 r = [response = std::move(response)](::Ice::Object::Ice_invokeResult&& result)
602 r = [response](::Ice::Object::Ice_invokeResult&& result)
605 response(result.returnValue, std::move(result.outParams));
608 auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(), std::move(r), std::move(ex), std::move(sent));
609 outAsync->invoke(operation, mode, ::IceInternal::makePair(inParams), context);
610 return [outAsync]() { outAsync->cancel(); };
626 ice_invoke(const ::std::string& operation,
628 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
629 ::std::vector<::Ice::Byte>& outParams,
632 using Outgoing = ::IceInternal::InvokePromiseOutgoing<
633 ::std::promise<::Ice::Object::Ice_invokeResult>, ::Ice::Object::Ice_invokeResult>;
634 auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(),
true);
635 outAsync->invoke(operation, mode, inParams, context);
636 auto result = outAsync->getFuture().get();
637 outParams.swap(result.outParams);
638 return result.returnValue;
649 template<
template<
typename>
class P = std::promise>
auto
650 ice_invokeAsync(const ::std::string& operation,
652 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
654 ->
decltype(std::declval<P<::Ice::Object::Ice_invokeResult>>().get_future())
657 ::IceInternal::InvokePromiseOutgoing<P<::Ice::Object::Ice_invokeResult>, ::Ice::Object::Ice_invokeResult>;
658 auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(),
false);
659 outAsync->invoke(operation, mode, inParams, context);
660 return outAsync->getFuture();
674 ::std::function<void()>
675 ice_invokeAsync(const ::std::string& operation,
677 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
678 ::std::function<
void(
bool, ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>)> response,
679 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
680 ::std::function<
void(
bool)> sent =
nullptr,
683 using Result = ::std::tuple<bool, ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>>;
684 using Outgoing = ::IceInternal::InvokeLambdaOutgoing<Result>;
686 ::std::function<void(Result&&)> r;
689#if ICE_CPLUSPLUS >= 201402L
690 r = [response = std::move(response)](Result&& result)
692 r = [response](Result&& result)
695 response(::std::get<0>(result), ::std::move(::std::get<1>(result)));
698 auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(), std::move(r), std::move(ex), std::move(sent));
699 outAsync->invoke(operation, mode, inParams, context);
700 return [outAsync]() { outAsync->cancel(); };
707 ::Ice::Identity ice_getIdentity()
const;
714 ::std::shared_ptr<::Ice::ObjectPrx> ice_identity(const ::Ice::Identity&
id)
const;
727 ::std::shared_ptr<::Ice::ObjectPrx> ice_context(const ::Ice::Context& context)
const;
733 const ::std::string& ice_getFacet()
const;
740 ::std::shared_ptr<::Ice::ObjectPrx> ice_facet(const ::std::string& facet)
const;
746 ::std::string ice_getAdapterId()
const;
753 ::std::shared_ptr<::Ice::ObjectPrx> ice_adapterId(const ::std::string&
id)
const;
766 ::std::shared_ptr<::Ice::ObjectPrx> ice_endpoints(const ::Ice::EndpointSeq& endpoints)
const;
772 ::Ice::Int ice_getLocatorCacheTimeout()
const;
779 ::std::shared_ptr<::Ice::ObjectPrx> ice_locatorCacheTimeout(
::Ice::Int timeout)
const;
785 bool ice_isConnectionCached()
const;
792 ::std::shared_ptr<::Ice::ObjectPrx> ice_connectionCached(
bool b)
const;
811 bool ice_isSecure()
const;
819 ::std::shared_ptr<::Ice::ObjectPrx> ice_secure(
bool b)
const;
825 ::Ice::EncodingVersion ice_getEncodingVersion()
const;
833 ::std::shared_ptr<::Ice::ObjectPrx> ice_encodingVersion(const ::Ice::EncodingVersion& version)
const;
840 bool ice_isPreferSecure()
const;
849 ::std::shared_ptr<::Ice::ObjectPrx> ice_preferSecure(
bool b)
const;
856 ::std::shared_ptr<::Ice::RouterPrx> ice_getRouter()
const;
863 ::std::shared_ptr<::Ice::ObjectPrx> ice_router(const ::std::shared_ptr<::Ice::RouterPrx>& router)
const;
869 ::std::shared_ptr<::Ice::LocatorPrx> ice_getLocator()
const;
876 ::std::shared_ptr<::Ice::ObjectPrx> ice_locator(const ::std::shared_ptr<::Ice::LocatorPrx>& locator)
const;
882 bool ice_isCollocationOptimized()
const;
889 ::std::shared_ptr<::Ice::ObjectPrx> ice_collocationOptimized(
bool b)
const;
902 ::std::shared_ptr<::Ice::ObjectPrx> ice_invocationTimeout(
::Ice::Int timeout)
const;
908 ::std::shared_ptr<::Ice::ObjectPrx> ice_twoway()
const;
914 bool ice_isTwoway()
const;
920 ::std::shared_ptr<::Ice::ObjectPrx> ice_oneway()
const;
926 bool ice_isOneway()
const;
932 ::std::shared_ptr<::Ice::ObjectPrx> ice_batchOneway()
const;
938 bool ice_isBatchOneway()
const;
944 ::std::shared_ptr<::Ice::ObjectPrx> ice_datagram()
const;
950 bool ice_isDatagram()
const;
956 ::std::shared_ptr<::Ice::ObjectPrx> ice_batchDatagram()
const;
962 bool ice_isBatchDatagram()
const;
970 ::std::shared_ptr<::Ice::ObjectPrx> ice_compress(
bool b)
const;
977 ::Ice::optional<bool> ice_getCompress()
const;
985 ::std::shared_ptr<::Ice::ObjectPrx> ice_timeout(
int timeout)
const;
992 ::Ice::optional<int> ice_getTimeout()
const;
1000 ::std::shared_ptr<::Ice::ObjectPrx> ice_connectionId(const ::std::string&
id)
const;
1006 ::std::string ice_getConnectionId()
const;
1014 ::std::shared_ptr<::Ice::ObjectPrx> ice_fixed(const ::std::shared_ptr<::Ice::Connection>& connection)
const;
1020 bool ice_isFixed()
const;
1027 ::std::shared_ptr<::Ice::Connection>
1030 return ice_getConnectionAsync().get();
1041 ::std::function<void()>
1042 ice_getConnectionAsync(::std::function<
void(::std::shared_ptr<::Ice::Connection>)> response,
1043 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
1044 ::std::function<
void(
bool)> sent =
nullptr)
1046 using LambdaOutgoing = ::IceInternal::ProxyGetConnectionLambda;
1047 auto outAsync = ::std::make_shared<LambdaOutgoing>(shared_from_this(), std::move(response), std::move(ex), std::move(sent));
1048 _iceI_getConnection(outAsync);
1049 return [outAsync]() { outAsync->cancel(); };
1057 template<
template<
typename>
class P = std::promise>
auto
1058 ice_getConnectionAsync() ->
decltype(std::declval<P<::std::shared_ptr<::Ice::Connection>>>().get_future())
1060 using PromiseOutgoing = ::IceInternal::ProxyGetConnectionPromise<P<::std::shared_ptr<::Ice::Connection>>>;
1061 auto outAsync = ::std::make_shared<PromiseOutgoing>(shared_from_this());
1062 _iceI_getConnection(outAsync);
1063 return outAsync->getFuture();
1067 void _iceI_getConnection(const ::std::shared_ptr<::IceInternal::ProxyGetConnection>&);
1076 ::std::shared_ptr<::Ice::Connection> ice_getCachedConnection()
const;
1081 void ice_flushBatchRequests()
1083 return ice_flushBatchRequestsAsync().get();
1092 std::function<void()>
1093 ice_flushBatchRequestsAsync(::std::function<
void(::std::exception_ptr)> ex,
1094 ::std::function<
void(
bool)> sent =
nullptr)
1096 using LambdaOutgoing = ::IceInternal::ProxyFlushBatchLambda;
1097 auto outAsync = ::std::make_shared<LambdaOutgoing>(shared_from_this(), std::move(ex), std::move(sent));
1098 _iceI_flushBatchRequests(outAsync);
1099 return [outAsync]() { outAsync->cancel(); };
1106 template<
template<
typename>
class P = std::promise>
auto
1107 ice_flushBatchRequestsAsync() ->
decltype(std::declval<P<void>>().get_future())
1109 using PromiseOutgoing = ::IceInternal::ProxyFlushBatchPromise<P<void>>;
1110 auto outAsync = ::std::make_shared<PromiseOutgoing>(shared_from_this());
1111 _iceI_flushBatchRequests(outAsync);
1112 return outAsync->getFuture();
1116 void _iceI_flushBatchRequests(const ::std::shared_ptr<::IceInternal::ProxyFlushBatchAsync>&);
1118 const ::IceInternal::ReferencePtr& _getReference()
const {
return _reference; }
1120 void _copyFrom(
const std::shared_ptr<::Ice::ObjectPrx>&);
1122 int _handleException(const ::Ice::Exception&, const ::IceInternal::RequestHandlerPtr&,
::Ice::OperationMode,
1125 void _checkTwowayOnly(const ::std::string&)
const;
1127 ::IceInternal::RequestHandlerPtr _getRequestHandler();
1128 ::IceInternal::BatchRequestQueuePtr _getBatchRequestQueue();
1129 ::IceInternal::RequestHandlerPtr _setRequestHandler(const ::IceInternal::RequestHandlerPtr&);
1130 void _updateRequestHandler(const ::IceInternal::RequestHandlerPtr&, const ::IceInternal::RequestHandlerPtr&);
1134 void _write(OutputStream&)
const;
1140 template<
typename R,
template<
typename>
class P = ::std::promise,
typename Obj,
typename Fn,
typename... Args>
1141 auto _makePromiseOutgoing(
bool sync, Obj obj, Fn fn, Args&&... args)
1142 ->
decltype(std::declval<P<R>>().get_future())
1144 auto outAsync = ::std::make_shared<::IceInternal::PromiseOutgoing<P<R>, R>>(shared_from_this(), sync);
1145 (obj->*fn)(outAsync, std::forward<Args>(args)...);
1146 return outAsync->getFuture();
1149 template<
typename R,
typename Re,
typename E,
typename S,
typename Obj,
typename Fn,
typename... Args>
1150 ::std::function<void()> _makeLambdaOutgoing(Re r, E e, S s, Obj obj, Fn fn, Args&&... args)
1152 auto outAsync = ::std::make_shared<::IceInternal::LambdaOutgoing<R>>(shared_from_this(),
1153 std::move(r), std::move(e), std::move(s));
1154 (obj->*fn)(outAsync, std::forward<Args>(args)...);
1155 return [outAsync]() { outAsync->cancel(); };
1158 virtual ::std::shared_ptr<ObjectPrx> _newInstance()
const;
1160 friend ::std::shared_ptr<ObjectPrx> IceInternal::createProxy<ObjectPrx>();
1165 void setup(const ::IceInternal::ReferencePtr&);
1166 friend class ::IceInternal::ProxyFactory;
1168 ::IceInternal::ReferencePtr _reference;
1169 ::IceInternal::RequestHandlerPtr _requestHandler;
1170 ::IceInternal::BatchRequestQueuePtr _batchRequestQueue;
1171 IceUtil::Mutex _mutex;
1183 return !(lhs > rhs);
1189 return !(lhs < rhs);
1195 return !(lhs == rhs);
1202template<
typename Prx,
typename... Bases>
1203class Proxy :
public virtual Bases...
1212 ::std::shared_ptr<Prx>
ice_context(const ::Ice::Context& context)
const
1214 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_context(context));
1222 ::std::shared_ptr<Prx>
ice_adapterId(const ::std::string&
id)
const
1224 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_adapterId(
id));
1232 ::std::shared_ptr<Prx>
ice_endpoints(const ::Ice::EndpointSeq& endpoints)
const
1234 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_endpoints(endpoints));
1244 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_locatorCacheTimeout(timeout));
1254 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_connectionCached(b));
1264 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_endpointSelection(type));
1273 ::std::shared_ptr<Prx>
ice_secure(
bool b)
const
1275 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_secure(b));
1287 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_preferSecure(b));
1295 ::std::shared_ptr<Prx>
ice_router(const ::std::shared_ptr<::Ice::RouterPrx>& router)
const
1297 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_router(router));
1305 ::std::shared_ptr<Prx>
ice_locator(const ::std::shared_ptr<::Ice::LocatorPrx>& locator)
const
1307 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_locator(locator));
1317 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_collocationOptimized(b));
1327 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_invocationTimeout(timeout));
1336 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_twoway());
1345 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_oneway());
1354 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_batchOneway());
1363 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_datagram());
1372 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_batchDatagram());
1383 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_compress(b));
1392 ::std::shared_ptr<Prx>
ice_timeout(
int timeout)
const
1394 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_timeout(timeout));
1405 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_connectionId(
id));
1414 ::std::shared_ptr<Prx>
ice_fixed(const ::std::shared_ptr<::Ice::Connection>& connection)
const
1416 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_fixed(connection));
1427 return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_encodingVersion(version));
1433 virtual ::std::shared_ptr<ObjectPrx> _newInstance()
const = 0;
1437ICE_API ::std::ostream&
operator<<(::std::ostream&, const ::Ice::ObjectPrx&);
1463 const ::std::shared_ptr<ObjectPrx>& rhs);
1473 const ::std::shared_ptr<ObjectPrx>& rhs);
1476# pragma clang diagnostic push
1477# pragma clang diagnostic ignored "-Wdeprecated-declarations"
1487 : std::binary_function<bool, ::std::shared_ptr<ObjectPrx>&, ::std::shared_ptr<ObjectPrx>&>
1490 bool operator()(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs)
const
1503 : std::binary_function<bool, ::std::shared_ptr<ObjectPrx>&, ::std::shared_ptr<ObjectPrx>&>
1506 bool operator()(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs)
const
1519 : std::binary_function<bool, ::std::shared_ptr<ObjectPrx>&, ::std::shared_ptr<ObjectPrx>&>
1522 bool operator()(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs)
const
1535 : std::binary_function<bool, ::std::shared_ptr<ObjectPrx>&, ::std::shared_ptr<ObjectPrx>&>
1538 bool operator()(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs)
const
1545# pragma clang diagnostic pop
1555 typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, P>::value>::type* =
nullptr,
1556 typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, T>::value>::type* =
nullptr> ::std::shared_ptr<P>
1559 ::std::shared_ptr<P> r;
1562 r = ::std::dynamic_pointer_cast<P>(b);
1565 r = IceInternal::createProxy<P>();
1580 typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, P>::value>::type* =
nullptr,
1581 typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, T>::value>::type* =
nullptr> ::std::shared_ptr<P>
1582uncheckedCast(const ::std::shared_ptr<T>& b,
const std::string& f)
1584 ::std::shared_ptr<P> r;
1587 r = IceInternal::createProxy<P>();
1588 r->_copyFrom(b->ice_facet(f));
1602 typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, P>::value>::type* =
nullptr,
1603 typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, T>::value>::type* =
nullptr> ::std::shared_ptr<P>
1606 ::std::shared_ptr<P> r;
1609 if(b->ice_isA(P::ice_staticId(), context))
1611 r = IceInternal::createProxy<P>();
1628 typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, P>::value>::type* =
nullptr,
1629 typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, T>::value>::type* =
nullptr> ::std::shared_ptr<P>
1632 ::std::shared_ptr<P> r;
1637 ::std::shared_ptr<::Ice::ObjectPrx> bb = b->ice_facet(f);
1638 if(bb->ice_isA(P::ice_staticId(), context))
1640 r = IceInternal::createProxy<P>();
1644 catch(
const Ice::FacetNotExistException&)
1663ICE_API ::IceProxy::Ice::Object*
upCast(::IceProxy::Ice::Locator*);
1666ICE_API ::IceProxy::Ice::Object*
upCast(::IceProxy::Ice::Router*);
1676typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Router>
RouterPrx;
1678typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator>
LocatorPrx;
1784 return end_ice_isA(_iceI_begin_ice_isA(typeId, context, ::IceInternal::dummyCallback, 0,
true));
1796 return _iceI_begin_ice_isA(typeId, context, ::IceInternal::dummyCallback, 0);
1807 const ::Ice::CallbackPtr& cb,
1808 const ::Ice::LocalObjectPtr& cookie = 0)
1822 const ::Ice::Context& context,
1823 const ::Ice::CallbackPtr& cb,
1824 const ::Ice::LocalObjectPtr& cookie = 0)
1826 return _iceI_begin_ice_isA(typeId, context, cb, cookie);
1837 const ::Ice::Callback_Object_ice_isAPtr& cb,
1838 const ::Ice::LocalObjectPtr& cookie = 0)
1852 const ::Ice::Context& context,
1853 const ::Ice::Callback_Object_ice_isAPtr& cb,
1854 const ::Ice::LocalObjectPtr& cookie = 0)
1856 return _iceI_begin_ice_isA(typeId, context, cb, cookie);
1873 end_ice_ping(_iceI_begin_ice_ping(context, ::IceInternal::dummyCallback, 0,
true));
1883 return _iceI_begin_ice_ping(context, ::IceInternal::dummyCallback, 0);
1905 const ::Ice::LocalObjectPtr& cookie = 0)
1907 return _iceI_begin_ice_ping(context, cb, cookie);
1917 const ::Ice::LocalObjectPtr& cookie = 0)
1930 const ::Ice::LocalObjectPtr& cookie = 0)
1932 return _iceI_begin_ice_ping(context, cb, cookie);
1949 return end_ice_ids(_iceI_begin_ice_ids(context, ::IceInternal::dummyCallback, 0,
true));
1959 return _iceI_begin_ice_ids(context, ::IceInternal::dummyCallback, 0);
1969 const ::Ice::LocalObjectPtr& cookie = 0)
1982 const ::Ice::CallbackPtr& cb,
1983 const ::Ice::LocalObjectPtr& cookie = 0)
1985 return _iceI_begin_ice_ids(context, cb, cookie);
1995 const ::Ice::LocalObjectPtr& cookie = 0)
2008 const ::Ice::Callback_Object_ice_idsPtr& cb,
2009 const ::Ice::LocalObjectPtr& cookie = 0)
2011 return _iceI_begin_ice_ids(context, cb, cookie);
2020 ::std::vector< ::std::string>
end_ice_ids(const ::Ice::AsyncResultPtr& result);
2029 return end_ice_id(_iceI_begin_ice_id(context, ::IceInternal::dummyCallback, 0,
true));
2039 return _iceI_begin_ice_id(context, ::IceInternal::dummyCallback, 0);
2049 const ::Ice::LocalObjectPtr& cookie = 0)
2062 const ::Ice::CallbackPtr& cb,
2063 const ::Ice::LocalObjectPtr& cookie = 0)
2065 return _iceI_begin_ice_id(context, cb, cookie);
2075 const ::Ice::LocalObjectPtr& cookie = 0)
2088 const ::Ice::Callback_Object_ice_idPtr& cb,
2089 const ::Ice::LocalObjectPtr& cookie = 0)
2091 return _iceI_begin_ice_id(context, cb, cookie);
2107 return ::Ice::Object::ice_staticId();
2124 const ::std::vector< ::Ice::Byte>& inParams,
2125 ::std::vector< ::Ice::Byte>& outParams,
2137 const ::std::vector< ::Ice::Byte>& inParams)
2140 ::IceInternal::dummyCallback, 0);
2153 const ::std::vector< ::Ice::Byte>& inParams,
2154 const ::Ice::Context& context)
2156 return _iceI_begin_ice_invoke(operation, mode, inParams, context, ::IceInternal::dummyCallback, 0);
2170 const ::std::vector< ::Ice::Byte>& inParams,
2171 const ::Ice::CallbackPtr& cb,
2172 const ::Ice::LocalObjectPtr& cookie = 0)
2189 const ::std::vector< ::Ice::Byte>& inParams,
2190 const ::Ice::Context& context,
2191 const ::Ice::CallbackPtr& cb,
2192 const ::Ice::LocalObjectPtr& cookie = 0)
2194 return _iceI_begin_ice_invoke(operation, mode, inParams, context, cb, cookie);
2208 const ::std::vector< ::Ice::Byte>& inParams,
2209 const ::Ice::Callback_Object_ice_invokePtr& cb,
2210 const ::Ice::LocalObjectPtr& cookie = 0)
2227 const ::std::vector< ::Ice::Byte>& inParams,
2228 const ::Ice::Context& context,
2229 const ::Ice::Callback_Object_ice_invokePtr& cb,
2230 const ::Ice::LocalObjectPtr& cookie = 0)
2232 return _iceI_begin_ice_invoke(operation, mode, inParams, context, cb, cookie);
2244 bool end_ice_invoke(::std::vector< ::Ice::Byte>& outParams, const ::Ice::AsyncResultPtr& result);
2260 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
2261 ::std::vector< ::Ice::Byte>& outParams,
2264 return end_ice_invoke(outParams, _iceI_begin_ice_invoke(operation, mode, inParams, context,
2265 ::IceInternal::dummyCallback, 0,
true));
2277 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams)
2280 ::IceInternal::dummyCallback, 0);
2294 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
2295 const ::Ice::Context& context,
2296 const ::Ice::LocalObjectPtr& cookie = 0)
2298 return _iceI_begin_ice_invoke(operation, mode, inParams, context, ::IceInternal::dummyCallback, cookie);
2312 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
2313 const ::Ice::CallbackPtr& cb,
2314 const ::Ice::LocalObjectPtr& cookie = 0)
2331 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
2332 const ::Ice::Context& context,
2333 const ::Ice::CallbackPtr& cb,
2334 const ::Ice::LocalObjectPtr& cookie = 0)
2336 return _iceI_begin_ice_invoke(operation, mode, inParams, context, cb, cookie);
2350 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
2351 const ::Ice::Callback_Object_ice_invokePtr& cb,
2352 const ::Ice::LocalObjectPtr& cookie = 0)
2369 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
2370 const ::Ice::Context& context,
2371 const ::Ice::Callback_Object_ice_invokePtr& cb,
2372 const ::Ice::LocalObjectPtr& cookie = 0)
2374 return _iceI_begin_ice_invoke(operation, mode, inParams, context, cb, cookie);
2378 bool _iceI_end_ice_invoke(::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&, const ::Ice::AsyncResultPtr&);
2717 return _iceI_begin_ice_getConnection(::IceInternal::dummyCallback, 0);
2728 const ::Ice::LocalObjectPtr& cookie = 0)
2730 return _iceI_begin_ice_getConnection(cb, cookie);
2741 const ::Ice::LocalObjectPtr& cookie = 0)
2743 return _iceI_begin_ice_getConnection(cb, cookie);
2776 return _iceI_begin_ice_flushBatchRequests(::IceInternal::dummyCallback, 0);
2786 const ::Ice::LocalObjectPtr& cookie = 0)
2788 return _iceI_begin_ice_flushBatchRequests(cb, cookie);
2798 const ::Ice::LocalObjectPtr& cookie = 0)
2800 return _iceI_begin_ice_flushBatchRequests(cb, cookie);
2810 const ::IceInternal::ReferencePtr& _getReference()
const {
return _reference; }
2814 void _copyFrom(const ::Ice::ObjectPrx&);
2816 int _handleException(const ::Ice::Exception&, const ::IceInternal::RequestHandlerPtr&,
::Ice::OperationMode,
2819 void _checkTwowayOnly(const ::std::string&,
bool)
const;
2821 void _end(const ::Ice::AsyncResultPtr&,
const std::string&)
const;
2823 ::IceInternal::RequestHandlerPtr _getRequestHandler();
2824 ::IceInternal::BatchRequestQueuePtr _getBatchRequestQueue();
2825 ::IceInternal::RequestHandlerPtr _setRequestHandler(const ::IceInternal::RequestHandlerPtr&);
2826 void _updateRequestHandler(const ::IceInternal::RequestHandlerPtr&, const ::IceInternal::RequestHandlerPtr&);
2834 virtual Object* _newInstance()
const;
2840 const ::Ice::Context&,
2841 const ::IceInternal::CallbackBasePtr&,
2842 const ::Ice::LocalObjectPtr&,
2846 const ::IceInternal::CallbackBasePtr&,
2847 const ::Ice::LocalObjectPtr&,
2851 const ::IceInternal::CallbackBasePtr&,
2852 const ::Ice::LocalObjectPtr&,
2856 const ::IceInternal::CallbackBasePtr&,
2857 const ::Ice::LocalObjectPtr&,
2862 const ::std::vector< ::Ice::Byte>&,
2863 const ::Ice::Context&,
2864 const ::IceInternal::CallbackBasePtr&,
2865 const ::Ice::LocalObjectPtr&,
2870 const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
2871 const ::Ice::Context&,
2872 const ::IceInternal::CallbackBasePtr&,
2873 const ::Ice::LocalObjectPtr&,
2877 const ::Ice::LocalObjectPtr&);
2880 const ::Ice::LocalObjectPtr&);
2882 void setup(const ::IceInternal::ReferencePtr&);
2883 friend class ::IceInternal::ProxyFactory;
2885 ::IceInternal::ReferencePtr _reference;
2886 ::IceInternal::RequestHandlerPtr _requestHandler;
2887 ::IceInternal::BatchRequestQueuePtr _batchRequestQueue;
2893ICE_API ::std::ostream&
operator<<(::std::ostream&, const ::IceProxy::Ice::Object&);
2902template<
typename Prx,
typename Base>
2912 IceInternal::ProxyHandle<Prx>
ice_context(const ::Ice::Context& context)
const
2932 IceInternal::ProxyHandle<Prx>
ice_endpoints(const ::Ice::EndpointSeq& endpoints)
const
2995 IceInternal::ProxyHandle<Prx>
ice_router(const ::Ice::RouterPrx& router)
const
3005 IceInternal::ProxyHandle<Prx>
ice_locator(const ::Ice::LocatorPrx& locator)
const
3114 IceInternal::ProxyHandle<Prx>
ice_fixed(const ::Ice::ConnectionPtr& connection)
const
3133 virtual ::IceProxy::Ice::Object* _newInstance()
const = 0;
3172# pragma clang diagnostic push
3173# pragma clang diagnostic ignored "-Wdeprecated-declarations"
3183 : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
3199 : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
3215 : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
3231 : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
3241# pragma clang diagnostic pop
3246namespace IceInternal
3252template<
typename T,
typename U>
3253inline bool operator==(
const ProxyHandle<T>& lhs,
const ProxyHandle<U>& rhs)
3255 ::IceProxy::Ice::Object* l = lhs._upCast();
3256 ::IceProxy::Ice::Object* r = rhs._upCast();
3267template<
typename T,
typename U>
3268inline bool operator!=(
const ProxyHandle<T>& lhs,
const ProxyHandle<U>& rhs)
3270 return !operator==(lhs, rhs);
3273template<
typename T,
typename U>
3274inline bool operator<(
const ProxyHandle<T>& lhs,
const ProxyHandle<U>& rhs)
3276 ::IceProxy::Ice::Object* l = lhs._upCast();
3277 ::IceProxy::Ice::Object* r = rhs._upCast();
3288template<
typename T,
typename U>
3289inline bool operator<=(
const ProxyHandle<T>& lhs,
const ProxyHandle<U>& rhs)
3291 return lhs < rhs || lhs == rhs;
3294template<
typename T,
typename U>
3295inline bool operator>(
const ProxyHandle<T>& lhs,
const ProxyHandle<U>& rhs)
3297 return !(lhs < rhs || lhs == rhs);
3300template<
typename T,
typename U>
3301inline bool operator>=(
const ProxyHandle<T>& lhs,
const ProxyHandle<U>& rhs)
3303 return !(lhs < rhs);
3309template<
typename P> P
3310checkedCastImpl(const ::Ice::ObjectPrx& b, const ::Ice::Context& context)
3315 typedef typename P::element_type T;
3317 if(b->ice_isA(T::ice_staticId(), context))
3326template<
typename P> P
3327uncheckedCastImpl(const ::Ice::ObjectPrx& b)
3332 typedef typename P::element_type T;
3334 d =
dynamic_cast<T*
>(b.get());
3351ICE_API ::Ice::ObjectPrx checkedCastImpl(const ::Ice::ObjectPrx&,
const std::string&,
const std::string&,
3352 const ::Ice::Context&);
3359template<> inline ::Ice::ObjectPrx
3360checkedCastImpl< ::Ice::ObjectPrx>(const ::Ice::ObjectPrx& b,
const std::string& f, const ::Ice::Context& context)
3362 return checkedCastImpl(b, f,
"::Ice::Object", context);
3365template<> inline ::Ice::ObjectPrx
3366uncheckedCastImpl< ::Ice::ObjectPrx>(const ::Ice::ObjectPrx& b,
const std::string& f)
3371 d = b->ice_facet(f);
3376template<
typename P> P
3377checkedCastImpl(const ::Ice::ObjectPrx& b,
const std::string& f, const ::Ice::Context& context)
3381 typedef typename P::element_type T;
3392template<
typename P> P
3393uncheckedCastImpl(const ::Ice::ObjectPrx& b,
const std::string& f)
3398 typedef typename P::element_type T;
3421template<
typename P,
typename Y>
inline P
3425 return ::IceInternal::checkedCastHelper<typename P::element_type>(b, tag, context);
3433template<
typename P,
typename Y>
inline P
3437 return ::IceInternal::uncheckedCastHelper<typename P::element_type>(b, tag);
3448template<
typename P>
inline P
3451 return ::IceInternal::checkedCastImpl<P>(b, f, context);
3460template<
typename P>
inline P
3463 return ::IceInternal::uncheckedCastImpl<P>(b, f);
3468namespace IceInternal
3475class CallbackNC :
public virtual CallbackBase
3479 typedef T callback_type;
3481 typedef IceUtil::Handle<T> TPtr;
3483 typedef void (T::*Exception)(const ::Ice::Exception&);
3484 typedef void (T::*Sent)(bool);
3486 CallbackNC(
const TPtr& instance, Exception excb, Sent sentcb) : _callback(instance), _exception(excb), _sent(sentcb)
3490 virtual CallbackBasePtr verify(const ::Ice::LocalObjectPtr& cookie)
3494 throw IceUtil::IllegalArgumentException(__FILE__, __LINE__,
"cookie specified for callback without cookie");
3499 virtual void sent(const ::Ice::AsyncResultPtr& result)
const
3503 (_callback.get()->*_sent)(result->sentSynchronously());
3507 virtual bool hasSentCallback()
const
3514 void exception(const ::Ice::AsyncResultPtr&, const ::Ice::Exception& ex)
const
3518 (_callback.get()->*_exception)(ex);
3526 Exception _exception;
3530template<
class T,
typename CT>
3531class Callback :
public virtual CallbackBase
3535 typedef T callback_type;
3536 typedef CT cookie_type;
3538 typedef IceUtil::Handle<T> TPtr;
3540 typedef void (T::*Exception)(const ::Ice::Exception&,
const CT&);
3541 typedef void (T::*Sent)(bool,
const CT&);
3543 Callback(
const TPtr& instance, Exception excb, Sent sentcb) : _callback(instance), _exception(excb), _sent(sentcb)
3547 virtual CallbackBasePtr verify(const ::Ice::LocalObjectPtr& cookie)
3549 if(cookie && !CT::dynamicCast(cookie))
3551 throw IceUtil::IllegalArgumentException(__FILE__, __LINE__,
"unexpected cookie type");
3556 virtual void sent(const ::Ice::AsyncResultPtr& result)
const
3560 (_callback.get()->*_sent)(result->sentSynchronously(), CT::dynamicCast(result->getCookie()));
3564 virtual bool hasSentCallback()
const
3571 void exception(const ::Ice::AsyncResultPtr& result, const ::Ice::Exception& ex)
const
3575 (_callback.get()->*_exception)(ex, CT::dynamicCast(result->getCookie()));
3583 Exception _exception;
3591class TwowayCallbackNC :
public CallbackNC<T>
3595 typedef IceUtil::Handle<T> TPtr;
3597 typedef void (T::*Exception)(const ::Ice::Exception&);
3598 typedef void (T::*Sent)(bool);
3600 TwowayCallbackNC(
const TPtr& instance,
bool cb, Exception excb, Sent sentcb) : CallbackNC<T>(instance, excb, sentcb)
3602 CallbackBase::checkCallback(instance, cb || excb != 0);
3606template<
class T,
typename CT>
3607class TwowayCallback :
public Callback<T, CT>
3611 typedef IceUtil::Handle<T> TPtr;
3613 typedef void (T::*Exception)(const ::Ice::Exception&,
const CT&);
3614 typedef void (T::*Sent)(bool,
const CT&);
3616 TwowayCallback(
const TPtr& instance,
bool cb, Exception excb, Sent sentcb) : Callback<T, CT>(instance, excb, sentcb)
3618 CallbackBase::checkCallback(instance, cb || excb != 0);
3626class OnewayCallbackNC :
public CallbackNC<T>
3630 typedef IceUtil::Handle<T> TPtr;
3632 typedef void (T::*Exception)(const ::Ice::Exception&);
3633 typedef void (T::*Sent)(bool);
3634 typedef void (T::*Response)();
3636 OnewayCallbackNC(
const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
3637 CallbackNC<T>(instance, excb, sentcb), _response(cb)
3639 CallbackBase::checkCallback(instance, cb != 0 || excb != 0);
3642 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3646 result->getProxy()->_end(result, result->getOperation());
3648 catch(const ::Ice::Exception& ex)
3650 CallbackNC<T>::exception(result, ex);
3655 (CallbackNC<T>::_callback.get()->*_response)();
3664template<
class T,
typename CT>
3665class OnewayCallback :
public Callback<T, CT>
3669 typedef IceUtil::Handle<T> TPtr;
3671 typedef void (T::*Exception)(const ::Ice::Exception&,
const CT&);
3672 typedef void (T::*Sent)(bool,
const CT&);
3673 typedef void (T::*Response)(
const CT&);
3675 OnewayCallback(
const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
3676 Callback<T, CT>(instance, excb, sentcb), _response(cb)
3678 CallbackBase::checkCallback(instance, cb != 0 || excb != 0);
3681 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3685 result->getProxy()->_end(result, result->getOperation());
3687 catch(const ::Ice::Exception& ex)
3689 Callback<T, CT>::exception(result, ex);
3694 (Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
3726 ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(cb)
3731 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3736 ret = result->getProxy()->end_ice_isA(result);
3738 catch(const ::Ice::Exception& ex)
3740 ::IceInternal::CallbackNC<T>::exception(result, ex);
3745 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3761template<
class T,
typename CT>
3768 typedef void (T::*
Exception)(const ::Ice::Exception&,
const CT&);
3769 typedef void (T::*
Sent)(bool,
const CT&);
3773 ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(cb)
3778 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3783 ret = result->getProxy()->end_ice_isA(result);
3785 catch(const ::Ice::Exception& ex)
3787 ::IceInternal::Callback<T, CT>::exception(result, ex);
3792 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret,
3793 CT::dynamicCast(result->getCookie()));
3821 ::IceInternal::OnewayCallbackNC<T>(instance, cb, excb, sentcb)
3832template<
class T,
typename CT>
3839 typedef void (T::*
Exception)(const ::Ice::Exception&,
const CT&);
3840 typedef void (T::*
Sent)(bool,
const CT&);
3844 ::IceInternal::OnewayCallback<T, CT>(instance, cb, excb, sentcb)
3864 typedef void (T::*
Response)(const ::std::vector< ::std::string>&);
3867 ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(cb)
3872 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3874 ::std::vector< ::std::string> ret;
3877 ret = result->getProxy()->end_ice_ids(result);
3879 catch(const ::Ice::Exception& ex)
3881 ::IceInternal::CallbackNC<T>::exception(result, ex);
3886 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3902template<
class T,
typename CT>
3909 typedef void (T::*
Exception)(const ::Ice::Exception&,
const CT&);
3910 typedef void (T::*
Sent)(bool,
const CT&);
3911 typedef void (T::*
Response)(const ::std::vector< ::std::string>&,
const CT&);
3914 ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(cb)
3919 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3921 ::std::vector< ::std::string> ret;
3924 ret = result->getProxy()->end_ice_ids(result);
3926 catch(const ::Ice::Exception& ex)
3928 ::IceInternal::Callback<T, CT>::exception(result, ex);
3933 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret,
3934 CT::dynamicCast(result->getCookie()));
3962 ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(cb)
3967 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3972 ret = result->getProxy()->end_ice_id(result);
3974 catch(const ::Ice::Exception& ex)
3976 ::IceInternal::CallbackNC<T>::exception(result, ex);
3981 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3997template<
class T,
typename CT>
4004 typedef void (T::*
Exception)(const ::Ice::Exception&,
const CT&);
4005 typedef void (T::*
Sent)(bool,
const CT&);
4006 typedef void (T::*
Response)(const ::std::string&,
const CT&);
4009 ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(cb)
4014 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4019 ret = result->getProxy()->end_ice_id(result);
4021 catch(const ::Ice::Exception& ex)
4023 ::IceInternal::Callback<T, CT>::exception(result, ex);
4028 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret,
4029 CT::dynamicCast(result->getCookie()));
4054 typedef void (T::*
Response)(bool,
const std::vector< ::Ice::Byte>&);
4055 typedef void (T::*
ResponseArray)(bool,
const std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&);
4058 ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(cb), _responseArray(0)
4063 ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(0), _responseArray(cb)
4068 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4073 std::vector< ::Ice::Byte> outParams;
4076 ok = result->getProxy()->end_ice_invoke(outParams, result);
4078 catch(const ::Ice::Exception& ex)
4080 ::IceInternal::CallbackNC<T>::exception(result, ex);
4083 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ok, outParams);
4088 std::pair<const ::Ice::Byte*, const::Ice::Byte*> outParams;
4091 ok = result->getProxy()->_iceI_end_ice_invoke(outParams, result);
4093 catch(const ::Ice::Exception& ex)
4095 ::IceInternal::CallbackNC<T>::exception(result, ex);
4100 (::IceInternal::CallbackNC<T>::_callback.get()->*_responseArray)(ok, outParams);
4118template<
class T,
typename CT>
4125 typedef void (T::*
Exception)(const ::Ice::Exception&,
const CT&);
4126 typedef void (T::*
Sent)(bool,
const CT&);
4127 typedef void (T::*
Response)(bool,
const std::vector< ::Ice::Byte>&,
const CT&);
4128 typedef void (T::*
ResponseArray)(bool,
const std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
const CT&);
4131 ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(cb), _responseArray(0)
4136 ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(0), _responseArray(cb)
4141 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4146 std::vector< ::Ice::Byte> outParams;
4149 ok = result->getProxy()->end_ice_invoke(outParams, result);
4151 catch(const ::Ice::Exception& ex)
4153 ::IceInternal::Callback<T, CT>::exception(result, ex);
4156 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ok,
4158 CT::dynamicCast(result->getCookie()));
4163 std::pair<const ::Ice::Byte*, const::Ice::Byte*> outParams;
4166 ok = result->getProxy()->_iceI_end_ice_invoke(outParams, result);
4168 catch(const ::Ice::Exception& ex)
4170 ::IceInternal::Callback<T, CT>::exception(result, ex);
4175 (::IceInternal::Callback<T, CT>::_callback.get()->*_responseArray)(ok,
4178 result->getCookie()));
4198 public ::IceInternal::CallbackNC<T>
4204 typedef void (T::*
Response)(const ::Ice::ConnectionPtr&);
4209 ::IceInternal::CallbackNC<T>(instance, excb, sentcb), _response(cb)
4214 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4219 ret = result->getProxy()->end_ice_getConnection(result);
4221 catch(const ::Ice::Exception& ex)
4223 ::IceInternal::CallbackNC<T>::exception(result, ex);
4228 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4244template<
class T,
typename CT>
4246 public ::IceInternal::Callback<T, CT>
4252 typedef void (T::*
Response)(const ::Ice::ConnectionPtr&,
const CT&);
4253 typedef void (T::*
Exception)(const ::Ice::Exception&,
const CT&);
4254 typedef void (T::*
Sent)(bool,
const CT&);
4257 ::IceInternal::Callback<T, CT>(instance, excb, sentcb), _response(cb)
4262 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4267 ret = result->getProxy()->end_ice_getConnection(result);
4269 catch(const ::Ice::Exception& ex)
4271 ::IceInternal::Callback<T, CT>::exception(result, ex);
4276 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret,
4277 CT::dynamicCast(result->getCookie()));
4295 public ::IceInternal::OnewayCallbackNC<T>
4305 ::IceInternal::OnewayCallbackNC<T>(instance, 0, excb, sentcb)
4316template<
class T,
typename CT>
4318 public ::IceInternal::OnewayCallback<T, CT>
4324 typedef void (T::*
Exception)(const ::Ice::Exception&,
const CT&);
4325 typedef void (T::*
Sent)(bool,
const CT&);
4328 ::IceInternal::OnewayCallback<T, CT>(instance, 0, excb, sentcb)
4343 void (T::*cb)(
bool),
4344 void (T::*excb)(const ::Ice::Exception&),
4345 void (T::*sentcb)(
bool) = 0)
4360 void (T::*cb)(
bool,
const CT&),
4361 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4362 void (T::*sentcb)(
bool,
const CT&) = 0)
4376 void (T::*excb)(const ::Ice::Exception&),
4377 void (T::*sentcb)(
bool) = 0)
4391 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4392 void (T::*sentcb)(
bool,
const CT&) = 0)
4407 void (T::*cb)(
bool),
4408 void (T::*excb)(const ::Ice::Exception&),
4409 void (T::*sentcb)(
bool) = 0)
4424 void (T::*cb)(
bool,
const CT&),
4425 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4426 void (T::*sentcb)(
bool,
const CT&) = 0)
4440 void (T::*excb)(const ::Ice::Exception&),
4441 void (T::*sentcb)(
bool) = 0)
4455 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4456 void (T::*sentcb)(
bool,
const CT&) = 0)
4472 void (T::*excb)(const ::Ice::Exception&),
4473 void (T::*sentcb)(
bool) = 0)
4488 void (T::*cb)(
const CT&),
4489 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4490 void (T::*sentcb)(
bool,
const CT&) = 0)
4504 void (T::*excb)(const ::Ice::Exception&),
4505 void (T::*sentcb)(
bool) = 0)
4519 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4520 void (T::*sentcb)(
bool,
const CT&) = 0)
4536 void (T::*excb)(const ::Ice::Exception&),
4537 void (T::*sentcb)(
bool) = 0)
4552 void (T::*cb)(
const CT&),
4553 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4554 void (T::*sentcb)(
bool,
const CT&) = 0)
4568 void (T::*excb)(const ::Ice::Exception&),
4569 void (T::*sentcb)(
bool) = 0)
4583 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4584 void (T::*sentcb)(
bool,
const CT&) = 0)
4599 void (T::*cb)(const ::std::vector< ::std::string>&),
4600 void (T::*excb)(const ::Ice::Exception&),
4601 void (T::*sentcb)(
bool) = 0)
4616 void (T::*cb)(const ::std::vector< ::std::string>&,
const CT&),
4617 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4618 void (T::*sentcb)(
bool,
const CT&) = 0)
4632 void (T::*excb)(const ::Ice::Exception&),
4633 void (T::*sentcb)(
bool) = 0)
4647 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4648 void (T::*sentcb)(
bool,
const CT&) = 0)
4663 void (T::*cb)(const ::std::vector< ::std::string>&),
4664 void (T::*excb)(const ::Ice::Exception&),
4665 void (T::*sentcb)(
bool) = 0)
4680 void (T::*cb)(const ::std::vector< ::std::string>&,
const CT&),
4681 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4682 void (T::*sentcb)(
bool,
const CT&) = 0)
4696 void (T::*excb)(const ::Ice::Exception&),
4697 void (T::*sentcb)(
bool) = 0)
4711 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4712 void (T::*sentcb)(
bool,
const CT&) = 0)
4727 void (T::*cb)(const ::std::string&),
4728 void (T::*excb)(const ::Ice::Exception&),
4729 void (T::*sentcb)(
bool) = 0)
4744 void (T::*cb)(const ::std::string&,
const CT&),
4745 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4746 void (T::*sentcb)(
bool,
const CT&) = 0)
4760 void (T::*excb)(const ::Ice::Exception&),
4761 void (T::*sentcb)(
bool) = 0)
4775 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4776 void (T::*sentcb)(
bool,
const CT&) = 0)
4791 void (T::*cb)(const ::std::string&),
4792 void (T::*excb)(const ::Ice::Exception&),
4793 void (T::*sentcb)(
bool) = 0)
4808 void (T::*cb)(const ::std::string&,
const CT&),
4809 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4810 void (T::*sentcb)(
bool,
const CT&) = 0)
4824 void (T::*excb)(const ::Ice::Exception&),
4825 void (T::*sentcb)(
bool) = 0)
4839 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4840 void (T::*sentcb)(
bool,
const CT&) = 0)
4855 void (T::*cb)(
bool,
const std::vector<Ice::Byte>&),
4856 void (T::*excb)(const ::Ice::Exception&),
4857 void (T::*sentcb)(
bool) = 0)
4872 void (T::*cb)(
bool,
const std::pair<const Byte*, const Byte*>&),
4873 void (T::*excb)(const ::Ice::Exception&),
4874 void (T::*sentcb)(
bool) = 0)
4889 void (T::*cb)(
bool,
const std::vector<Ice::Byte>&,
const CT&),
4890 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4891 void (T::*sentcb)(
bool,
const CT&) = 0)
4906 void (T::*cb)(
bool,
const std::pair<const Byte*, const Byte*>&,
4908 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4909 void (T::*sentcb)(
bool,
const CT&) = 0)
4923 void (T::*excb)(const ::Ice::Exception&),
4924 void (T::*sentcb)(
bool) = 0)
4938 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4939 void (T::*sentcb)(
bool,
const CT&) = 0)
4954 void (T::*cb)(
bool,
const std::vector<Ice::Byte>&),
4955 void (T::*excb)(const ::Ice::Exception&),
4956 void (T::*sentcb)(
bool) = 0)
4971 void (T::*cb)(
bool,
const std::pair<const Byte*, const Byte*>&),
4972 void (T::*excb)(const ::Ice::Exception&),
4973 void (T::*sentcb)(
bool) = 0)
4988 void (T::*cb)(
bool,
const std::vector<Ice::Byte>&,
const CT&),
4989 void (T::*excb)(const ::Ice::Exception&,
const CT&),
4990 void (T::*sentcb)(
bool,
const CT&) = 0)
5005 void (T::*cb)(
bool,
const std::pair<const Byte*, const Byte*>&,
const CT&),
5006 void (T::*excb)(const ::Ice::Exception&,
const CT&),
5007 void (T::*sentcb)(
bool,
const CT&) = 0)
5021 void (T::*excb)(const ::Ice::Exception&),
5022 void (T::*sentcb)(
bool) = 0)
5025 instance,
static_cast<void (T::*)(
bool,
const std::vector<Ice::Byte>&)
>(0), excb, sentcb);
5037 void (T::*excb)(const ::Ice::Exception&,
const CT&),
5038 void (T::*sentcb)(
bool,
const CT&) = 0)
5041 instance,
static_cast<void (T::*)(
bool,
const std::vector<Ice::Byte>&,
const CT&)
>(0), excb, sentcb);
5053 void (T::*cb)(const ::Ice::ConnectionPtr&),
5054 void (T::*excb)(const ::Ice::Exception&))
5068 void (T::*cb)(const ::Ice::ConnectionPtr&,
const CT&),
5069 void (T::*excb)(const ::Ice::Exception&,
const CT&))
5083 void (T::*cb)(const ::Ice::ConnectionPtr&),
5084 void (T::*excb)(const ::Ice::Exception&))
5098 void (T::*cb)(const ::Ice::ConnectionPtr&,
const CT&),
5099 void (T::*excb)(const ::Ice::Exception&,
const CT&))
5114 void (T::*excb)(const ::Ice::Exception&),
5115 void (T::*sentcb)(
bool) = 0)
5130 void (T::*excb)(const ::Ice::Exception&,
const CT&),
5131 void (T::*sentcb)(
bool,
const CT&) = 0)
5146 void (T::*excb)(const ::Ice::Exception&),
5147 void (T::*sentcb)(
bool) = 0)
5162 void (T::*excb)(const ::Ice::Exception&,
const CT&),
5163 void (T::*sentcb)(
bool,
const CT&) = 0)
#define ICE_API
Definition Config.h:197
#define ICE_CPLUSPLUS
Definition Config.h:101
::std::ostream & operator<<(::std::ostream &, const ::IceProxy::Ice::Object &)
Definition Locator.h:1545
Base class of all object proxies.
Definition Proxy.h:1757
bool ice_isBatchOneway() const
Determines whether this proxy uses batch oneway invocations.
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Invokes an operation dynamically.
Definition Proxy.h:2310
::Ice::ObjectPrx ice_batchDatagram() const
Obtains a proxy that is identical to this proxy, but uses batch datagram invocations.
::Ice::Int ice_getInvocationTimeout() const
Obtains the invocation timeout of this proxy.
::Ice::ObjectPrx ice_facet(const ::std::string &facet) const
Obtains a proxy that is identical to this proxy, except for the facet.
::Ice::EncodingVersion ice_getEncodingVersion() const
Obtains the encoding version used to marshal request parameters.
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
Definition Proxy.h:1981
bool ice_isSecure() const
Determines whether this proxy uses only secure endpoints.
bool end_ice_isA(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_ice_isA.
::std::string ice_getAdapterId() const
Obtains the adapter ID for this proxy.
bool ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector< ::Ice::Byte > &inParams, ::std::vector< ::Ice::Byte > &outParams, const ::Ice::Context &context=::Ice::noExplicitContext)
Invokes an operation dynamically.
::Ice::ObjectPrx ice_connectionCached(bool b) const
Obtains a proxy that is identical to this proxy, except for connection caching.
bool ice_isFixed() const
Determines whether this proxy is a fixed proxy.
::Ice::ObjectPrx ice_endpoints(const ::Ice::EndpointSeq &endpoints) const
Obtains a proxy that is identical to this proxy, except for the endpoints.
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector< ::Ice::Byte > &inParams, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Invokes an operation dynamically.
Definition Proxy.h:2168
::Ice::ObjectPrx ice_locator(const ::Ice::LocatorPrx &locator) const
Obtains a proxy that is identical to this proxy, except for the locator.
const ::std::string & ice_getFacet() const
Obtains the facet for this proxy.
::std::vector< ::std::string > ice_ids(const ::Ice::Context &context=::Ice::noExplicitContext)
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
Definition Proxy.h:1947
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context &context=::Ice::noExplicitContext)
Tests whether the target object of this proxy can be reached.
Definition Proxy.h:1881
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
Definition Proxy.h:2061
::Ice::ObjectPrx ice_encodingVersion(const ::Ice::EncodingVersion &version) const
Obtains a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
::Ice::ObjectPrx ice_twoway() const
Obtains a proxy that is identical to this proxy, but uses twoway invocations.
::IceUtil::Optional< bool > ice_getCompress() const
Obtains the compression override setting of this proxy.
bool operator<(const Object &) const
::Ice::AsyncResultPtr begin_ice_flushBatchRequests(const ::Ice::Callback_Object_ice_flushBatchRequestsPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Flushes asynchronously any pending batched requests for this proxy.
Definition Proxy.h:2797
::Ice::Int ice_getLocatorCacheTimeout() const
Obtains the locator cache timeout of this proxy.
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector< ::Ice::Byte > &inParams, const ::Ice::Context &context)
Invokes an operation dynamically.
Definition Proxy.h:2151
::Ice::Identity ice_getIdentity() const
Obtains the identity embedded in this proxy.
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector< ::Ice::Byte > &inParams, const ::Ice::Callback_Object_ice_invokePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Invokes an operation dynamically.
Definition Proxy.h:2206
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Tests whether the target object of this proxy can be reached.
Definition Proxy.h:1904
::IceUtil::Optional< int > ice_getTimeout() const
Obtains the timeout override of this proxy.
::Ice::ObjectPrx ice_router(const ::Ice::RouterPrx &router) const
Obtains a proxy that is identical to this proxy, except for the router.
void end_ice_ping(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_ice_ping.
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string &typeId, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Tests whether this object supports a specific Slice interface.
Definition Proxy.h:1806
::Ice::ObjectPrx ice_invocationTimeout(::Ice::Int timeout) const
Obtains a proxy that is identical to this proxy, except for the invocation timeout.
bool ice_isA(const ::std::string &typeId, const ::Ice::Context &context=::Ice::noExplicitContext)
Tests whether this object supports a specific Slice interface.
Definition Proxy.h:1782
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context &context=::Ice::noExplicitContext)
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
Definition Proxy.h:1957
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Invokes an operation dynamically.
Definition Proxy.h:2329
::Ice::ObjectPrx ice_datagram() const
Obtains a proxy that is identical to this proxy, but uses datagram invocations.
::Ice::Context ice_getContext() const
Obtains the per-proxy context for this proxy.
::Ice::ObjectPrx ice_timeout(int timeout) const
Obtains a proxy that is identical to this proxy, except for its connection timeout setting which over...
bool ice_isPreferSecure() const
Determines whether this proxy prefers secure endpoints.
::Ice::ConnectionPtr ice_getConnection()
Obtains the Connection for this proxy.
Definition Proxy.h:2705
::std::string ice_getConnectionId() const
Obtains the connection ID of this proxy.
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Callback_Object_ice_pingPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Tests whether the target object of this proxy can be reached.
Definition Proxy.h:1916
::Ice::LocatorPrx ice_getLocator() const
Obtains the locator for this proxy.
::Ice::ObjectPrx ice_context(const ::Ice::Context &context) const
Obtains a proxy that is identical to this proxy, except for the per-proxy context.
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context &context=::Ice::noExplicitContext)
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
Definition Proxy.h:2037
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams)
Invokes an operation dynamically.
Definition Proxy.h:2275
bool ice_isConnectionCached() const
Determines whether this proxy caches connections.
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams, const ::Ice::Context &context, const ::Ice::LocalObjectPtr &cookie=0)
Invokes an operation dynamically.
Definition Proxy.h:2292
bool ice_isOneway() const
Determines whether this proxy uses oneway invocations.
::Ice::ObjectPrx ice_locatorCacheTimeout(::Ice::Int timeout) const
Obtains a proxy that is identical to this proxy, except for the locator cache timeout.
::Ice::AsyncResultPtr begin_ice_getConnection(const ::Ice::Callback_Object_ice_getConnectionPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Obtains the Connection for this proxy.
Definition Proxy.h:2740
bool operator==(const Object &) const
bool ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams, ::std::vector< ::Ice::Byte > &outParams, const ::Ice::Context &context=::Ice::noExplicitContext)
Invokes an operation dynamically.
Definition Proxy.h:2258
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Callback_Object_ice_idsPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
Definition Proxy.h:1994
bool ice_isCollocationOptimized() const
Determines whether this proxy uses collocation optimization.
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams, const ::Ice::Callback_Object_ice_invokePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Invokes an operation dynamically.
Definition Proxy.h:2348
::Ice::ObjectPrx ice_collocationOptimized(bool b) const
Obtains a proxy that is identical to this proxy, except for collocation optimization.
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string &typeId, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Tests whether this object supports a specific Slice interface.
Definition Proxy.h:1821
::Ice::ObjectPrx ice_secure(bool b) const
Obtains a proxy that is identical to this proxy, except for how it selects endpoints.
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Tests whether the target object of this proxy can be reached.
Definition Proxy.h:1892
bool ice_isDatagram() const
Determines whether this proxy uses datagram invocations.
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector< ::Ice::Byte > &inParams, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Invokes an operation dynamically.
Definition Proxy.h:2187
::std::string end_ice_id(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_ice_id.
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context &context, const ::Ice::Callback_Object_ice_pingPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Tests whether the target object of this proxy can be reached.
Definition Proxy.h:1929
::Ice::AsyncResultPtr begin_ice_flushBatchRequests()
Flushes asynchronously any pending batched requests for this proxy.
Definition Proxy.h:2774
::Ice::ObjectPrx ice_oneway() const
Obtains a proxy that is identical to this proxy, but uses oneway invocations.
::Ice::AsyncResultPtr begin_ice_getConnection()
Obtains the Connection for this proxy.
Definition Proxy.h:2715
void ice_flushBatchRequests()
Flushes any pending batched requests for this proxy.
Definition Proxy.h:2765
::Ice::EndpointSelectionType ice_getEndpointSelection() const
Obtains the endpoint selection policy for this proxy (randomly or ordered).
static const ::std::string & ice_staticId()
Returns the Slice type ID associated with this type.
Definition Proxy.h:2105
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector< ::Ice::Byte > &inParams, const ::Ice::Context &context, const ::Ice::Callback_Object_ice_invokePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Invokes an operation dynamically.
Definition Proxy.h:2225
bool ice_isBatchDatagram() const
Determines whether this proxy uses batch datagram invocations.
::Ice::ObjectPrx ice_connectionId(const ::std::string &id) const
Obtains a proxy that is identical to this proxy, except for its connection ID.
void end_ice_flushBatchRequests(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_ice_flushBatchRequests.
::Ice::CommunicatorPtr ice_getCommunicator() const
Obtains the communicator that created this proxy.
void ice_ping(const ::Ice::Context &context=::Ice::noExplicitContext)
Tests whether the target object of this proxy can be reached.
Definition Proxy.h:1871
::Ice::ObjectPrx ice_fixed(const ::Ice::ConnectionPtr &connection) const
Obtains a proxy that is identical to this proxy, except it's a fixed proxy bound the given connection...
::Ice::ObjectPrx ice_endpointSelection(::Ice::EndpointSelectionType type) const
Obtains a proxy that is identical to this proxy, except for the endpoint selection policy.
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string &typeId, const ::Ice::Context &context=::Ice::noExplicitContext)
Tests whether this object supports a specific Slice interface.
Definition Proxy.h:1793
::Ice::ObjectPrx ice_preferSecure(bool b) const
Obtains a proxy that is identical to this proxy, except for its endpoint selection policy.
::Ice::ConnectionPtr end_ice_getConnection(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_ice_getConnection.
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Callback_Object_ice_idPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
Definition Proxy.h:2074
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string &typeId, const ::Ice::Callback_Object_ice_isAPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Tests whether this object supports a specific Slice interface.
Definition Proxy.h:1836
::std::string ice_id(const ::Ice::Context &context=::Ice::noExplicitContext)
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
Definition Proxy.h:2027
::Ice::AsyncResultPtr begin_ice_getConnection(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Obtains the Connection for this proxy.
Definition Proxy.h:2727
::std::vector< ::std::string > end_ice_ids(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_ice_ids.
::Ice::EndpointSeq ice_getEndpoints() const
Obtains the endpoints used by this proxy.
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context &context, const ::Ice::Callback_Object_ice_idPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
Definition Proxy.h:2087
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
Definition Proxy.h:2048
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
Definition Proxy.h:1968
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector< ::Ice::Byte > &inParams)
Invokes an operation dynamically.
Definition Proxy.h:2135
bool end_ice_invoke(::std::vector< ::Ice::Byte > &outParams, const ::Ice::AsyncResultPtr &result)
Invokes an operation dynamically.
::Ice::ObjectPrx ice_batchOneway() const
Obtains a proxy that is identical to this proxy, but uses batch oneway invocations.
::Ice::RouterPrx ice_getRouter() const
Obtains the router for this proxy.
bool ice_isTwoway() const
Determines whether this proxy uses twoway invocations.
::Ice::ObjectPrx ice_compress(bool b) const
Obtains a proxy that is identical to this proxy, except for its compression setting which overrides t...
::std::string ice_toString() const
Obtains a stringified version of this proxy.
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams, const ::Ice::Context &context, const ::Ice::Callback_Object_ice_invokePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Invokes an operation dynamically.
Definition Proxy.h:2367
::Ice::ObjectPrx ice_adapterId(const ::std::string &id) const
Obtains a proxy that is identical to this proxy, except for the adapter ID.
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context &context, const ::Ice::Callback_Object_ice_idsPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
Definition Proxy.h:2007
::Ice::ConnectionPtr ice_getCachedConnection() const
Returns the cached connection for this proxy.
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string &typeId, const ::Ice::Context &context, const ::Ice::Callback_Object_ice_isAPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Tests whether this object supports a specific Slice interface.
Definition Proxy.h:1851
::Ice::ObjectPrx ice_identity(const ::Ice::Identity &id) const
Obtains a proxy that is identical to this proxy, except for the identity.
::Ice::AsyncResultPtr begin_ice_flushBatchRequests(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Flushes asynchronously any pending batched requests for this proxy.
Definition Proxy.h:2785
T * get() const
Definition Handle.h:25
Encapsulates an optional value, which may or may not be present.
Definition Optional.h:30
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Object::begin_ice_flus...
Definition Proxy.h:4296
void(T::* Exception)(const ::Ice::Exception &)
Definition Proxy.h:4301
IceUtil::Handle< T > TPtr
Definition Proxy.h:4299
void(T::* Sent)(bool)
Definition Proxy.h:4302
CallbackNC_Object_ice_flushBatchRequests(const TPtr &instance, Exception excb, Sent sentcb)
Definition Proxy.h:4304
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Object::begin_ice_getC...
Definition Proxy.h:4199
void(T::* Exception)(const ::Ice::Exception &)
Definition Proxy.h:4205
void(T::* Sent)(bool)
Definition Proxy.h:4206
IceUtil::Handle< T > TPtr
Definition Proxy.h:4202
void(T::* Response)(const ::Ice::ConnectionPtr &)
Definition Proxy.h:4204
CallbackNC_Object_ice_getConnection(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:4208
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Object::begin_ice_id.
Definition Proxy.h:3952
void(T::* Response)(const ::std::string &)
Definition Proxy.h:3959
void(T::* Exception)(const ::Ice::Exception &)
Definition Proxy.h:3957
CallbackNC_Object_ice_id(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:3961
void(T::* Sent)(bool)
Definition Proxy.h:3958
IceUtil::Handle< T > TPtr
Definition Proxy.h:3955
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Object::begin_ice_ids.
Definition Proxy.h:3857
void(T::* Response)(const ::std::vector< ::std::string > &)
Definition Proxy.h:3864
void(T::* Exception)(const ::Ice::Exception &)
Definition Proxy.h:3862
void(T::* Sent)(bool)
Definition Proxy.h:3863
IceUtil::Handle< T > TPtr
Definition Proxy.h:3860
CallbackNC_Object_ice_ids(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:3866
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Object::begin_ice_invo...
Definition Proxy.h:4047
CallbackNC_Object_ice_invoke(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:4057
void(T::* Sent)(bool)
Definition Proxy.h:4053
void(T::* Response)(bool, const std::vector< ::Ice::Byte > &)
Definition Proxy.h:4054
void(T::* ResponseArray)(bool, const std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &)
Definition Proxy.h:4055
void(T::* Exception)(const ::Ice::Exception &)
Definition Proxy.h:4052
IceUtil::Handle< T > TPtr
Definition Proxy.h:4050
CallbackNC_Object_ice_invoke(const TPtr &instance, ResponseArray cb, Exception excb, Sent sentcb)
Definition Proxy.h:4062
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Object::begin_ice_isA.
Definition Proxy.h:3716
IceUtil::Handle< T > TPtr
Definition Proxy.h:3719
CallbackNC_Object_ice_isA(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:3725
void(T::* Sent)(bool)
Definition Proxy.h:3722
void(T::* Exception)(const ::Ice::Exception &)
Definition Proxy.h:3721
void(T::* Response)(bool)
Definition Proxy.h:3723
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Object::begin_ice_ping...
Definition Proxy.h:3811
void(T::* Response)()
Definition Proxy.h:3818
void(T::* Exception)(const ::Ice::Exception &)
Definition Proxy.h:3816
CallbackNC_Object_ice_ping(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:3820
IceUtil::Handle< T > TPtr
Definition Proxy.h:3814
void(T::* Sent)(bool)
Definition Proxy.h:3817
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Object::begin_i...
Definition Proxy.h:1735
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Ob...
Definition Proxy.h:4319
void(T::* Sent)(bool, const CT &)
Definition Proxy.h:4325
IceUtil::Handle< T > TPtr
Definition Proxy.h:4322
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Proxy.h:4324
Callback_Object_ice_flushBatchRequests(const TPtr &instance, Exception excb, Sent sentcb)
Definition Proxy.h:4327
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Object::begin_i...
Definition Proxy.h:1744
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Ob...
Definition Proxy.h:4247
IceUtil::Handle< T > TPtr
Definition Proxy.h:4250
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Proxy.h:4253
void(T::* Sent)(bool, const CT &)
Definition Proxy.h:4254
Callback_Object_ice_getConnection(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:4256
void(T::* Response)(const ::Ice::ConnectionPtr &, const CT &)
Definition Proxy.h:4252
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Object::begin_i...
Definition Proxy.h:1717
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Ob...
Definition Proxy.h:3999
Callback_Object_ice_id(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:4008
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Proxy.h:4004
void(T::* Response)(const ::std::string &, const CT &)
Definition Proxy.h:4006
void(T::* Sent)(bool, const CT &)
Definition Proxy.h:4005
IceUtil::Handle< T > TPtr
Definition Proxy.h:4002
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Object::begin_i...
Definition Proxy.h:1708
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Ob...
Definition Proxy.h:3904
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Proxy.h:3909
void(T::* Sent)(bool, const CT &)
Definition Proxy.h:3910
void(T::* Response)(const ::std::vector< ::std::string > &, const CT &)
Definition Proxy.h:3911
IceUtil::Handle< T > TPtr
Definition Proxy.h:3907
Callback_Object_ice_ids(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:3913
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Object::begin_i...
Definition Proxy.h:1726
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Ob...
Definition Proxy.h:4120
Callback_Object_ice_invoke(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:4130
void(T::* ResponseArray)(bool, const std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &, const CT &)
Definition Proxy.h:4128
void(T::* Sent)(bool, const CT &)
Definition Proxy.h:4126
void(T::* Response)(bool, const std::vector< ::Ice::Byte > &, const CT &)
Definition Proxy.h:4127
Callback_Object_ice_invoke(const TPtr &instance, ResponseArray cb, Exception excb, Sent sentcb)
Definition Proxy.h:4135
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Proxy.h:4125
IceUtil::Handle< T > TPtr
Definition Proxy.h:4123
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Object::begin_i...
Definition Proxy.h:1690
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Ob...
Definition Proxy.h:3763
IceUtil::Handle< T > TPtr
Definition Proxy.h:3766
void(T::* Response)(bool, const CT &)
Definition Proxy.h:3770
Callback_Object_ice_isA(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:3772
void(T::* Sent)(bool, const CT &)
Definition Proxy.h:3769
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Proxy.h:3768
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Object::begin_i...
Definition Proxy.h:1699
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Ob...
Definition Proxy.h:3834
void(T::* Sent)(bool, const CT &)
Definition Proxy.h:3840
Callback_Object_ice_ping(const TPtr &instance, Response cb, Exception excb, Sent sentcb)
Definition Proxy.h:3843
IceUtil::Handle< T > TPtr
Definition Proxy.h:3837
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Proxy.h:3839
void(T::* Response)(const CT &)
Definition Proxy.h:3841
Base class for all Ice run-time exceptions.
Definition Exception.h:29
Interface for output streams used to create a sequence of bytes from Slice types.
Definition OutputStream.h:28
Helper template that supplies proxy factory functions.
Definition Proxy.h:2904
IceInternal::ProxyHandle< Prx > ice_fixed(const ::Ice::ConnectionPtr &connection) const
Obtains a proxy that is identical to this proxy, except it's a fixed proxy bound the given connection...
Definition Proxy.h:3114
IceInternal::ProxyHandle< Prx > ice_timeout(int timeout) const
Obtains a proxy that is identical to this proxy, except for its connection timeout setting which over...
Definition Proxy.h:3092
IceInternal::ProxyHandle< Prx > ice_locator(const ::Ice::LocatorPrx &locator) const
Obtains a proxy that is identical to this proxy, except for the locator.
Definition Proxy.h:3005
IceInternal::ProxyHandle< Prx > ice_batchDatagram() const
Obtains a proxy that is identical to this proxy, but uses batch datagram invocations.
Definition Proxy.h:3070
IceInternal::ProxyHandle< Prx > ice_connectionId(const ::std::string &id) const
Obtains a proxy that is identical to this proxy, except for its connection ID.
Definition Proxy.h:3103
IceInternal::ProxyHandle< Prx > ice_connectionCached(bool b) const
Obtains a proxy that is identical to this proxy, except for connection caching.
Definition Proxy.h:2952
IceInternal::ProxyHandle< Prx > ice_preferSecure(bool b) const
Obtains a proxy that is identical to this proxy, except for its endpoint selection policy.
Definition Proxy.h:2985
IceInternal::ProxyHandle< Prx > ice_endpointSelection(::Ice::EndpointSelectionType type) const
Obtains a proxy that is identical to this proxy, except for the endpoint selection policy.
Definition Proxy.h:2962
IceInternal::ProxyHandle< Prx > ice_context(const ::Ice::Context &context) const
Obtains a proxy that is identical to this proxy, except for the per-proxy context.
Definition Proxy.h:2912
IceInternal::ProxyHandle< Prx > ice_twoway() const
Obtains a proxy that is identical to this proxy, but uses twoway invocations.
Definition Proxy.h:3034
IceInternal::ProxyHandle< Prx > ice_endpoints(const ::Ice::EndpointSeq &endpoints) const
Obtains a proxy that is identical to this proxy, except for the endpoints.
Definition Proxy.h:2932
IceInternal::ProxyHandle< Prx > ice_datagram() const
Obtains a proxy that is identical to this proxy, but uses datagram invocations.
Definition Proxy.h:3061
IceInternal::ProxyHandle< Prx > ice_router(const ::Ice::RouterPrx &router) const
Obtains a proxy that is identical to this proxy, except for the router.
Definition Proxy.h:2995
IceInternal::ProxyHandle< Prx > ice_invocationTimeout(int timeout) const
Obtains a proxy that is identical to this proxy, except for the invocation timeout.
Definition Proxy.h:3025
IceInternal::ProxyHandle< Prx > ice_secure(bool b) const
Obtains a proxy that is identical to this proxy, except for how it selects endpoints.
Definition Proxy.h:2973
IceInternal::ProxyHandle< Prx > ice_encodingVersion(const ::Ice::EncodingVersion &version) const
Obtains a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
Definition Proxy.h:3125
IceInternal::ProxyHandle< Prx > ice_compress(bool b) const
Obtains a proxy that is identical to this proxy, except for its compression setting which overrides t...
Definition Proxy.h:3081
IceInternal::ProxyHandle< Prx > ice_oneway() const
Obtains a proxy that is identical to this proxy, but uses oneway invocations.
Definition Proxy.h:3043
IceInternal::ProxyHandle< Prx > ice_adapterId(const ::std::string &id) const
Obtains a proxy that is identical to this proxy, except for the adapter ID.
Definition Proxy.h:2922
IceInternal::ProxyHandle< Prx > ice_batchOneway() const
Obtains a proxy that is identical to this proxy, but uses batch oneway invocations.
Definition Proxy.h:3052
IceInternal::ProxyHandle< Prx > ice_collocationOptimized(bool b) const
Obtains a proxy that is identical to this proxy, except for collocation optimization.
Definition Proxy.h:3015
IceInternal::ProxyHandle< Prx > ice_locatorCacheTimeout(int timeout) const
Obtains a proxy that is identical to this proxy, except for the locator cache timeout.
Definition Proxy.h:2942
Definition Locator.h:1000
Object * upCast(Object *o)
Definition ProxyF.h:38
Definition BuiltinSequences.h:113
::IceUtil::Handle< Callback_Object_ice_flushBatchRequests_Base > Callback_Object_ice_flushBatchRequestsPtr
Definition Proxy.h:1736
OperationMode
Determines the retry behavior an invocation in case of a (potentially) recoverable error.
Definition Current.h:213
bool proxyIdentityAndFacetEqual(const ObjectPrx &lhs, const ObjectPrx &rhs)
Compares the object identities and facets of two proxies.
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Definition ProxyHandle.h:51
int Int
The mapping for the Slice int type.
Definition Config.h:54
::std::map< ::std::string, ::std::string > Context
A request context.
Definition Current.h:207
Callback_Object_ice_isAPtr newCallback_Object_ice_isA(const IceUtil::Handle< T > &instance, void(T::*cb)(bool), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Proxy.h:4342
IceInternal::ProxyHandle< ::IceProxy::Ice::Object > ObjectPrx
Smart pointer for an object proxy.
Definition ProxyF.h:47
::IceUtil::Handle< Callback_Object_ice_ping_Base > Callback_Object_ice_pingPtr
Definition Proxy.h:1700
::IceUtil::Handle< Callback_Object_ice_isA_Base > Callback_Object_ice_isAPtr
Definition Proxy.h:1691
EndpointSelectionType
Determines the order in which the Ice run time uses the endpoints in a proxy when establishing a conn...
Definition EndpointTypes.h:94
::IceUtil::Handle< Callback_Object_ice_invoke_Base > Callback_Object_ice_invokePtr
Definition Proxy.h:1727
Callback_Object_ice_idPtr newCallback_Object_ice_id(const IceUtil::Handle< T > &instance, void(T::*cb)(const ::std::string &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Proxy.h:4726
Callback_Object_ice_idsPtr newCallback_Object_ice_ids(const IceUtil::Handle< T > &instance, void(T::*cb)(const ::std::vector< ::std::string > &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Proxy.h:4598
bool proxyIdentityEqual(const ObjectPrx &lhs, const ObjectPrx &rhs)
Compares the object identities of two proxies.
Callback_Object_ice_invokePtr newCallback_Object_ice_invoke(const IceUtil::Handle< T > &instance, void(T::*cb)(bool, const std::vector< Ice::Byte > &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Proxy.h:4854
::IceUtil::Handle< Callback_Object_ice_ids_Base > Callback_Object_ice_idsPtr
Definition Proxy.h:1709
::IceInternal::Handle< Connection > ConnectionPtr
Definition Connection.h:767
Callback_Object_ice_flushBatchRequestsPtr newCallback_Object_ice_flushBatchRequests(const IceUtil::Handle< T > &instance, void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Proxy.h:5113
P checkedCast(const ::IceInternal::ProxyHandle< Y > &b, const ::Ice::Context &context=::Ice::noExplicitContext)
Downcasts a proxy after confirming the target object's type via a remote invocation.
Definition Proxy.h:3422
LocatorPrx LocatorPrxPtr
Definition Locator.h:1044
::std::vector< Byte > ByteSeq
A sequence of bytes.
Definition BuiltinSequences.h:123
bool proxyIdentityAndFacetLess(const ObjectPrx &lhs, const ObjectPrx &rhs)
Compares the object identities and facets of two proxies.
bool proxyIdentityLess(const ObjectPrx &lhs, const ObjectPrx &rhs)
Compares the object identities of two proxies.
::IceUtil::Handle< Callback_Object_ice_getConnection_Base > Callback_Object_ice_getConnectionPtr
Definition Proxy.h:1745
Callback_Object_ice_getConnectionPtr newCallback_Object_ice_getConnection(const IceUtil::Handle< T > &instance, void(T::*cb)(const ::Ice::ConnectionPtr &), void(T::*excb)(const ::Ice::Exception &))
Creates a callback wrapper instance that delegates to your object.
Definition Proxy.h:5052
unsigned char Byte
The mapping for the Slice byte type.
Definition Config.h:50
::IceInternal::ProxyHandle< ::IceProxy::Ice::Router > RouterPrx
Definition Router.h:548
IceInternal::Handle< AsyncResult > AsyncResultPtr
Definition AsyncResultF.h:18
::std::vector< EndpointPtr > EndpointSeq
A sequence of endpoints.
Definition EndpointF.h:152
RouterPrx RouterPrxPtr
Definition Router.h:549
std::ostream & operator<<(std::ostream &out, const ProtocolVersion &version)
Definition Protocol.h:179
::IceInternal::Handle< Communicator > CommunicatorPtr
Definition Communicator.h:608
::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator > LocatorPrx
Definition Locator.h:1043
::IceUtil::Handle< Callback_Object_ice_id_Base > Callback_Object_ice_idPtr
Definition Proxy.h:1718
IceUtil::Exception Exception
Definition Exception.h:22
P uncheckedCast(const ::IceInternal::ProxyHandle< Y > &b)
Downcasts a proxy without confirming the target object's type via a remote invocation.
Definition Proxy.h:3434
ObjectPrx ObjectPrxPtr
Definition ProxyF.h:48
Callback_Object_ice_pingPtr newCallback_Object_ice_ping(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Proxy.h:4470
A version structure for the encoding version.
Definition Version.h:225
The identity of an Ice object.
Definition Identity.h:144
A functor that compares the object identities and facets of two proxies.
Definition Proxy.h:3233
bool operator()(const ObjectPrx &lhs, const ObjectPrx &rhs) const
Definition Proxy.h:3234
A functor that compares the object identities and facets of two proxies.
Definition Proxy.h:3217
bool operator()(const ObjectPrx &lhs, const ObjectPrx &rhs) const
Definition Proxy.h:3218
A functor that compares the object identities of two proxies.
Definition Proxy.h:3201
bool operator()(const ObjectPrx &lhs, const ObjectPrx &rhs) const
Definition Proxy.h:3202
A functor that compares the object identities of two proxies.
Definition Proxy.h:3185
bool operator()(const ObjectPrx &lhs, const ObjectPrx &rhs) const
Definition Proxy.h:3186