16#ifndef __IceBox_IceBox_h__
17#define __IceBox_IceBox_h__
43#ifndef ICE_IGNORE_VERSION
44# if ICE_INT_VERSION / 100 != 307
45# error Ice version mismatch!
47# if ICE_INT_VERSION % 100 >= 50
48# error Beta header file detected
50# if ICE_INT_VERSION % 100 < 11
51# error Ice patch level mismatch!
56# if defined(ICE_STATIC_LIBS)
58# elif defined(ICEBOX_API_EXPORTS)
59# define ICEBOX_API ICE_DECLSPEC_EXPORT
61# define ICEBOX_API ICE_DECLSPEC_IMPORT
65#ifdef ICE_CPP11_MAPPING
88class ICE_CLASS(ICEBOX_API) FailureException :
public ::Ice::LocalExceptionHelper<FailureException, ::Ice::LocalException>
94 FailureException(
const FailureException&) =
default;
101 FailureException(
const char* file,
int line) : ::Ice::LocalExceptionHelper<FailureException, ::Ice::LocalException>(file, line)
112 FailureException(
const char* file,
int line, const ::std::string& reason) : ::Ice::LocalExceptionHelper<FailureException, ::Ice::LocalException>(file, line),
121 std::tuple<const ::std::string&> ice_tuple()
const
123 return std::tie(reason);
140 ::std::string reason;
148class ICE_CLASS(ICEBOX_API) AlreadyStartedException :
public ::Ice::UserExceptionHelper<AlreadyStartedException, ::Ice::UserException>
154 AlreadyStartedException(
const AlreadyStartedException&) =
default;
156 AlreadyStartedException() =
default;
162 std::tuple<> ice_tuple()
const
175static AlreadyStartedException _iceS_AlreadyStartedException_init;
183class ICE_CLASS(ICEBOX_API) AlreadyStoppedException :
public ::Ice::UserExceptionHelper<AlreadyStoppedException, ::Ice::UserException>
189 AlreadyStoppedException(
const AlreadyStoppedException&) =
default;
191 AlreadyStoppedException() =
default;
197 std::tuple<> ice_tuple()
const
214class ICE_CLASS(ICEBOX_API) NoSuchServiceException :
public ::Ice::UserExceptionHelper<NoSuchServiceException, ::Ice::UserException>
220 NoSuchServiceException(
const NoSuchServiceException&) =
default;
222 NoSuchServiceException() =
default;
228 std::tuple<> ice_tuple()
const
249class ICE_CLASS(ICEBOX_API) Service
270 virtual void start(const ::std::string& name, const ::std::shared_ptr<::Ice::Communicator>& communicator, const ::Ice::StringSeq& args) = 0;
275 virtual void stop() = 0;
301 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
308 virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current)
const override;
315 virtual ::std::string ice_id(const ::Ice::Current& current)
const override;
321 static const ::std::string& ice_staticId();
328 virtual void servicesStarted(
::Ice::StringSeq services, const ::Ice::Current& current) = 0;
330 bool _iceD_servicesStarted(::IceInternal::Incoming&, const ::Ice::Current&);
338 virtual void servicesStopped(
::Ice::StringSeq services, const ::Ice::Current& current) = 0;
340 bool _iceD_servicesStopped(::IceInternal::Incoming&, const ::Ice::Current&);
344 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
365 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
372 virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current)
const override;
379 virtual ::std::string ice_id(const ::Ice::Current& current)
const override;
385 static const ::std::string& ice_staticId();
392 virtual ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current& current)
const = 0;
394 bool _iceD_getSliceChecksums(::IceInternal::Incoming&, const ::Ice::Current&)
const;
404 virtual void startService(::std::string service, const ::Ice::Current& current) = 0;
406 bool _iceD_startService(::IceInternal::Incoming&, const ::Ice::Current&);
416 virtual void stopService(::std::string service, const ::Ice::Current& current) = 0;
418 bool _iceD_stopService(::IceInternal::Incoming&, const ::Ice::Current&);
426 virtual void addObserver(::std::shared_ptr<ServiceObserverPrx> observer, const ::Ice::Current& current) = 0;
428 bool _iceD_addObserver(::IceInternal::Incoming&, const ::Ice::Current&);
435 virtual void shutdown(const ::Ice::Current& current) = 0;
437 bool _iceD_shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
441 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
456class ICE_CLASS(ICEBOX_API)
ServiceObserverPrx :
public virtual ::Ice::Proxy<ServiceObserverPrx, ::Ice::ObjectPrx>
467 _makePromiseOutgoing<void>(
true,
this, &ServiceObserverPrx::_iceI_servicesStarted, services, context).
get();
476 template<
template<
typename>
class P = ::std::promise>
477 auto servicesStartedAsync(const ::Ice::StringSeq& services, const ::Ice::Context& context =
::Ice::noExplicitContext)
478 ->
decltype(::std::declval<P<void>>().get_future())
480 return _makePromiseOutgoing<void, P>(
false,
this, &ServiceObserverPrx::_iceI_servicesStarted, services, context);
492 ::std::function<void()>
493 servicesStartedAsync(const ::Ice::StringSeq& services,
494 ::std::function<
void()> response,
495 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
496 ::std::function<
void(
bool)> sent =
nullptr,
499 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceBox::ServiceObserverPrx::_iceI_servicesStarted, services, context);
503 ICE_MEMBER(
ICEBOX_API)
void _iceI_servicesStarted(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::StringSeq&, const ::Ice::Context&);
513 _makePromiseOutgoing<void>(
true,
this, &ServiceObserverPrx::_iceI_servicesStopped, services, context).get();
522 template<
template<
typename>
class P = ::std::promise>
523 auto servicesStoppedAsync(const ::Ice::StringSeq& services, const ::Ice::Context& context =
::Ice::noExplicitContext)
524 ->
decltype(::std::declval<P<void>>().get_future())
526 return _makePromiseOutgoing<void, P>(
false,
this, &ServiceObserverPrx::_iceI_servicesStopped, services, context);
538 ::std::function<void()>
539 servicesStoppedAsync(const ::Ice::StringSeq& services,
540 ::std::function<
void()> response,
541 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
542 ::std::function<
void(
bool)> sent =
nullptr,
545 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceBox::ServiceObserverPrx::_iceI_servicesStopped, services, context);
549 ICE_MEMBER(
ICEBOX_API)
void _iceI_servicesStopped(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::StringSeq&, const ::Ice::Context&);
562 friend ::std::shared_ptr<ServiceObserverPrx> IceInternal::createProxy<ServiceObserverPrx>();
564 ICE_MEMBER(
ICEBOX_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance()
const override;
573class ICE_CLASS(ICEBOX_API)
ServiceManagerPrx :
public virtual ::Ice::Proxy<ServiceManagerPrx, ::Ice::ObjectPrx>
584 return _makePromiseOutgoing<::Ice::SliceChecksumDict>(
true,
this, &ServiceManagerPrx::_iceI_getSliceChecksums, context).
get();
592 template<
template<
typename>
class P = ::std::promise>
594 ->
decltype(::std::declval<P<::Ice::SliceChecksumDict>>().get_future())
596 return _makePromiseOutgoing<::Ice::SliceChecksumDict, P>(
false,
this, &ServiceManagerPrx::_iceI_getSliceChecksums, context);
607 ::std::function<void()>
609 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
610 ::std::function<
void(
bool)> sent =
nullptr,
613 return _makeLambdaOutgoing<::Ice::SliceChecksumDict>(std::move(response), std::move(ex), std::move(sent),
this, &IceBox::ServiceManagerPrx::_iceI_getSliceChecksums, context);
617 ICE_MEMBER(
ICEBOX_API)
void _iceI_getSliceChecksums(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::SliceChecksumDict>>&, const ::Ice::Context&);
629 _makePromiseOutgoing<void>(
true,
this, &ServiceManagerPrx::_iceI_startService, service, context).get();
638 template<
template<
typename>
class P = ::std::promise>
640 ->
decltype(::std::declval<P<void>>().get_future())
642 return _makePromiseOutgoing<void, P>(
false,
this, &ServiceManagerPrx::_iceI_startService, service, context);
654 ::std::function<void()>
655 startServiceAsync(const ::std::string& service,
656 ::std::function<
void()> response,
657 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
658 ::std::function<
void(
bool)> sent =
nullptr,
661 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceBox::ServiceManagerPrx::_iceI_startService, service, context);
665 ICE_MEMBER(
ICEBOX_API)
void _iceI_startService(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
677 _makePromiseOutgoing<void>(
true,
this, &ServiceManagerPrx::_iceI_stopService, service, context).get();
686 template<
template<
typename>
class P = ::std::promise>
688 ->
decltype(::std::declval<P<void>>().get_future())
690 return _makePromiseOutgoing<void, P>(
false,
this, &ServiceManagerPrx::_iceI_stopService, service, context);
702 ::std::function<void()>
703 stopServiceAsync(const ::std::string& service,
704 ::std::function<
void()> response,
705 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
706 ::std::function<
void(
bool)> sent =
nullptr,
709 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceBox::ServiceManagerPrx::_iceI_stopService, service, context);
713 ICE_MEMBER(
ICEBOX_API)
void _iceI_stopService(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
721 void addObserver(const ::std::shared_ptr<ServiceObserverPrx>& observer, const ::Ice::Context& context =
::Ice::noExplicitContext)
723 _makePromiseOutgoing<void>(
true,
this, &ServiceManagerPrx::_iceI_addObserver, observer, context).get();
732 template<
template<
typename>
class P = ::std::promise>
733 auto addObserverAsync(const ::std::shared_ptr<ServiceObserverPrx>& observer, const ::Ice::Context& context =
::Ice::noExplicitContext)
734 ->
decltype(::std::declval<P<void>>().get_future())
736 return _makePromiseOutgoing<void, P>(
false,
this, &ServiceManagerPrx::_iceI_addObserver, observer, context);
748 ::std::function<void()>
749 addObserverAsync(const ::std::shared_ptr<ServiceObserverPrx>& observer,
750 ::std::function<
void()> response,
751 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
752 ::std::function<
void(
bool)> sent =
nullptr,
755 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceBox::ServiceManagerPrx::_iceI_addObserver, observer, context);
759 ICE_MEMBER(
ICEBOX_API)
void _iceI_addObserver(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::shared_ptr<ServiceObserverPrx>&, const ::Ice::Context&);
768 _makePromiseOutgoing<void>(
true,
this, &ServiceManagerPrx::_iceI_shutdown, context).get();
776 template<
template<
typename>
class P = ::std::promise>
778 ->
decltype(::std::declval<P<void>>().get_future())
780 return _makePromiseOutgoing<void, P>(
false,
this, &ServiceManagerPrx::_iceI_shutdown, context);
791 ::std::function<void()>
792 shutdownAsync(::std::function<
void()> response,
793 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
794 ::std::function<
void(
bool)> sent =
nullptr,
797 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceBox::ServiceManagerPrx::_iceI_shutdown, context);
801 ICE_MEMBER(
ICEBOX_API)
void _iceI_shutdown(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Context&);
814 friend ::std::shared_ptr<ServiceManagerPrx> IceInternal::createProxy<ServiceManagerPrx>();
816 ICE_MEMBER(
ICEBOX_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance()
const override;
873ICEBOX_API ::Ice::LocalObject* upCast(
Service*);
930#ifdef ICE_CPP11_COMPILER
974#ifdef ICE_CPP11_COMPILER
1019#ifdef ICE_CPP11_COMPILER
1060#ifdef ICE_CPP11_COMPILER
1170 end_servicesStarted(_iceI_begin_servicesStarted(services, context, ::IceInternal::dummyCallback, 0,
true));
1181 return _iceI_begin_servicesStarted(services, context, ::IceInternal::dummyCallback, 0);
1206 return _iceI_begin_servicesStarted(services, context, cb, cookie);
1231 return _iceI_begin_servicesStarted(services, context, cb, cookie);
1242 ICE_MEMBER(
ICEBOX_API) ::
Ice::AsyncResultPtr _iceI_begin_servicesStarted(const ::
Ice::StringSeq&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1253 end_servicesStopped(_iceI_begin_servicesStopped(services, context, ::IceInternal::dummyCallback, 0,
true));
1264 return _iceI_begin_servicesStopped(services, context, ::IceInternal::dummyCallback, 0);
1289 return _iceI_begin_servicesStopped(services, context, cb, cookie);
1314 return _iceI_begin_servicesStopped(services, context, cb, cookie);
1325 ICE_MEMBER(
ICEBOX_API) ::
Ice::AsyncResultPtr _iceI_begin_servicesStopped(const ::
Ice::StringSeq&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1353 return end_getSliceChecksums(_iceI_begin_getSliceChecksums(context, ::IceInternal::dummyCallback, 0,
true));
1363 return _iceI_begin_getSliceChecksums(context, ::IceInternal::dummyCallback, 0);
1386 return _iceI_begin_getSliceChecksums(context, cb, cookie);
1409 return _iceI_begin_getSliceChecksums(context, cb, cookie);
1421 ICE_MEMBER(
ICEBOX_API) ::
Ice::AsyncResultPtr _iceI_begin_getSliceChecksums(const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1434 end_startService(_iceI_begin_startService(service, context, ::IceInternal::dummyCallback, 0,
true));
1445 return _iceI_begin_startService(service, context, ::IceInternal::dummyCallback, 0);
1470 return _iceI_begin_startService(service, context, cb, cookie);
1495 return _iceI_begin_startService(service, context, cb, cookie);
1508 ICE_MEMBER(
ICEBOX_API) ::
Ice::AsyncResultPtr _iceI_begin_startService(const ::std::string&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1521 end_stopService(_iceI_begin_stopService(service, context, ::IceInternal::dummyCallback, 0,
true));
1532 return _iceI_begin_stopService(service, context, ::IceInternal::dummyCallback, 0);
1557 return _iceI_begin_stopService(service, context, cb, cookie);
1582 return _iceI_begin_stopService(service, context, cb, cookie);
1595 ICE_MEMBER(
ICEBOX_API) ::
Ice::AsyncResultPtr _iceI_begin_stopService(const ::std::string&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1606 end_addObserver(_iceI_begin_addObserver(observer, context, ::IceInternal::dummyCallback, 0,
true));
1617 return _iceI_begin_addObserver(observer, context, ::IceInternal::dummyCallback, 0);
1642 return _iceI_begin_addObserver(observer, context, cb, cookie);
1665 ::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_addObserverPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1667 return _iceI_begin_addObserver(observer, context, cb, cookie);
1678 ICE_MEMBER(
ICEBOX_API) ::
Ice::AsyncResultPtr _iceI_begin_addObserver(const ::
IceBox::ServiceObserverPrx&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1688 end_shutdown(_iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0,
true));
1698 return _iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0);
1721 return _iceI_begin_shutdown(context, cb, cookie);
1744 return _iceI_begin_shutdown(context, cb, cookie);
1755 ICE_MEMBER(
ICEBOX_API) ::
Ice::AsyncResultPtr _iceI_begin_shutdown(const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1791#ifdef ICE_CPP11_COMPILER
1812 virtual void start(const ::std::string& name, const ::Ice::CommunicatorPtr& communicator, const ::Ice::StringSeq& args) = 0;
1826inline bool operator<(
const Service& lhs,
const Service& rhs)
1847#ifdef ICE_CPP11_COMPILER
1888 bool _iceD_servicesStarted(::IceInternal::Incoming&, const ::Ice::Current&);
1898 bool _iceD_servicesStopped(::IceInternal::Incoming&, const ::Ice::Current&);
1902 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
1919inline bool operator<(
const ServiceObserver& lhs,
const ServiceObserver& rhs)
1939#ifdef ICE_CPP11_COMPILER
1980 bool _iceD_getSliceChecksums(::IceInternal::Incoming&, const ::Ice::Current&)
const;
1992 bool _iceD_startService(::IceInternal::Incoming&, const ::Ice::Current&);
2004 bool _iceD_stopService(::IceInternal::Incoming&, const ::Ice::Current&);
2014 bool _iceD_addObserver(::IceInternal::Incoming&, const ::Ice::Current&);
2023 bool _iceD_shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
2027 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2044inline bool operator<(
const ServiceManager& lhs,
const ServiceManager& rhs)
2057struct StreamableTraits< ::IceBox::AlreadyStartedException>
2059 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2063struct StreamableTraits< ::IceBox::AlreadyStoppedException>
2065 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2069struct StreamableTraits< ::IceBox::NoSuchServiceException>
2071 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2097 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
2110template<
class T> Callback_ServiceObserver_servicesStartedPtr
2123template<
class T> Callback_ServiceObserver_servicesStartedPtr
2137template<
class T> Callback_ServiceObserver_servicesStartedPtr
2150template<
class T> Callback_ServiceObserver_servicesStartedPtr
2161template<
class T,
typename CT>
2168 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
2169 typedef void (T::*
Sent)(bool ,
const CT&);
2173 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
2187template<
class T,
typename CT> Callback_ServiceObserver_servicesStartedPtr
2201template<
class T,
typename CT> Callback_ServiceObserver_servicesStartedPtr
2216template<
class T,
typename CT> Callback_ServiceObserver_servicesStartedPtr
2230template<
class T,
typename CT> Callback_ServiceObserver_servicesStartedPtr
2253 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
2266template<
class T> Callback_ServiceObserver_servicesStoppedPtr
2279template<
class T> Callback_ServiceObserver_servicesStoppedPtr
2293template<
class T> Callback_ServiceObserver_servicesStoppedPtr
2306template<
class T> Callback_ServiceObserver_servicesStoppedPtr
2317template<
class T,
typename CT>
2324 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
2325 typedef void (T::*
Sent)(bool ,
const CT&);
2329 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
2343template<
class T,
typename CT> Callback_ServiceObserver_servicesStoppedPtr
2357template<
class T,
typename CT> Callback_ServiceObserver_servicesStoppedPtr
2372template<
class T,
typename CT> Callback_ServiceObserver_servicesStoppedPtr
2386template<
class T,
typename CT> Callback_ServiceObserver_servicesStoppedPtr
2406 typedef void (T::*
Response)(const ::Ice::SliceChecksumDict&);
2409 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2414 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2420 ret = proxy->end_getSliceChecksums(result);
2422 catch(const ::Ice::Exception& ex)
2424 ::IceInternal::CallbackNC<T>::exception(result, ex);
2429 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2461template<
class T> Callback_ServiceManager_getSliceChecksumsPtr
2472template<
class T,
typename CT>
2479 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
2480 typedef void (T::*
Sent)(bool ,
const CT&);
2481 typedef void (T::*
Response)(const ::Ice::SliceChecksumDict&,
const CT&);
2484 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2489 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2495 ret = proxy->end_getSliceChecksums(result);
2497 catch(const ::Ice::Exception& ex)
2499 ::IceInternal::Callback<T, CT>::exception(result, ex);
2504 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2538template<
class T,
typename CT> Callback_ServiceManager_getSliceChecksumsPtr
2561 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2566 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2571 proxy->end_startService(result);
2573 catch(const ::Ice::Exception& ex)
2575 ::IceInternal::CallbackNC<T>::exception(result, ex);
2580 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
2611template<
class T> Callback_ServiceManager_startServicePtr
2625template<
class T> Callback_ServiceManager_startServicePtr
2638template<
class T> Callback_ServiceManager_startServicePtr
2649template<
class T,
typename CT>
2656 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
2657 typedef void (T::*
Sent)(bool ,
const CT&);
2661 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2666 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2671 proxy->end_startService(result);
2673 catch(const ::Ice::Exception& ex)
2675 ::IceInternal::Callback<T, CT>::exception(result, ex);
2680 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
2713template<
class T,
typename CT> Callback_ServiceManager_startServicePtr
2728template<
class T,
typename CT> Callback_ServiceManager_startServicePtr
2742template<
class T,
typename CT> Callback_ServiceManager_startServicePtr
2765 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2770 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2775 proxy->end_stopService(result);
2777 catch(const ::Ice::Exception& ex)
2779 ::IceInternal::CallbackNC<T>::exception(result, ex);
2784 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
2815template<
class T> Callback_ServiceManager_stopServicePtr
2829template<
class T> Callback_ServiceManager_stopServicePtr
2842template<
class T> Callback_ServiceManager_stopServicePtr
2853template<
class T,
typename CT>
2860 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
2861 typedef void (T::*
Sent)(bool ,
const CT&);
2865 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2870 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
2875 proxy->end_stopService(result);
2877 catch(const ::Ice::Exception& ex)
2879 ::IceInternal::Callback<T, CT>::exception(result, ex);
2884 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
2917template<
class T,
typename CT> Callback_ServiceManager_stopServicePtr
2932template<
class T,
typename CT> Callback_ServiceManager_stopServicePtr
2946template<
class T,
typename CT> Callback_ServiceManager_stopServicePtr
2969 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
2982template<
class T> Callback_ServiceManager_addObserverPtr
2995template<
class T> Callback_ServiceManager_addObserverPtr
3009template<
class T> Callback_ServiceManager_addObserverPtr
3022template<
class T> Callback_ServiceManager_addObserverPtr
3033template<
class T,
typename CT>
3040 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
3041 typedef void (T::*
Sent)(bool ,
const CT&);
3045 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
3059template<
class T,
typename CT> Callback_ServiceManager_addObserverPtr
3073template<
class T,
typename CT> Callback_ServiceManager_addObserverPtr
3088template<
class T,
typename CT> Callback_ServiceManager_addObserverPtr
3102template<
class T,
typename CT> Callback_ServiceManager_addObserverPtr
3125 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
3138template<
class T> Callback_ServiceManager_shutdownPtr
3151template<
class T> Callback_ServiceManager_shutdownPtr
3165template<
class T> Callback_ServiceManager_shutdownPtr
3178template<
class T> Callback_ServiceManager_shutdownPtr
3189template<
class T,
typename CT>
3196 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
3197 typedef void (T::*
Sent)(bool ,
const CT&);
3201 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
3215template<
class T,
typename CT> Callback_ServiceManager_shutdownPtr
3229template<
class T,
typename CT> Callback_ServiceManager_shutdownPtr
3244template<
class T,
typename CT> Callback_ServiceManager_shutdownPtr
3258template<
class T,
typename CT> Callback_ServiceManager_shutdownPtr
#define ICEBOX_API
Definition IceBox.h:61
#define ICE_MEMBER(API)
Definition Config.h:177
This exception is thrown if an attempt is made to start an already-started service.
Definition IceBox.h:969
virtual ~AlreadyStartedException()
virtual void ice_throw() const
Throws this exception.
AlreadyStartedException()
Definition IceBox.h:972
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
virtual AlreadyStartedException * ice_clone() const
Polymorphically clones this exception.
This exception is thrown if an attempt is made to stop an already-stopped service.
Definition IceBox.h:1014
AlreadyStoppedException()
Definition IceBox.h:1017
virtual AlreadyStoppedException * ice_clone() const
Polymorphically clones this exception.
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
virtual void ice_throw() const
Throws this exception.
virtual ~AlreadyStoppedException()
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceBox::ServiceManager::beg...
Definition IceBox.h:2959
void(T::* Sent)(bool)
Definition IceBox.h:2965
IceUtil::Handle< T > TPtr
Definition IceBox.h:2962
CallbackNC_ServiceManager_addObserver(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2968
void(T::* Response)()
Definition IceBox.h:2966
void(T::* Exception)(const ::Ice::Exception &)
Definition IceBox.h:2964
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceBox::ServiceManager::beg...
Definition IceBox.h:2399
CallbackNC_ServiceManager_getSliceChecksums(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2408
void(T::* Sent)(bool)
Definition IceBox.h:2405
void(T::* Exception)(const ::Ice::Exception &)
Definition IceBox.h:2404
void(T::* Response)(const ::Ice::SliceChecksumDict &)
Definition IceBox.h:2406
IceUtil::Handle< T > TPtr
Definition IceBox.h:2402
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceBox::ServiceManager::beg...
Definition IceBox.h:3115
IceUtil::Handle< T > TPtr
Definition IceBox.h:3118
CallbackNC_ServiceManager_shutdown(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:3124
void(T::* Response)()
Definition IceBox.h:3122
void(T::* Sent)(bool)
Definition IceBox.h:3121
void(T::* Exception)(const ::Ice::Exception &)
Definition IceBox.h:3120
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceBox::ServiceManager::beg...
Definition IceBox.h:2551
void(T::* Sent)(bool)
Definition IceBox.h:2557
CallbackNC_ServiceManager_startService(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2560
void(T::* Exception)(const ::Ice::Exception &)
Definition IceBox.h:2556
IceUtil::Handle< T > TPtr
Definition IceBox.h:2554
void(T::* Response)()
Definition IceBox.h:2558
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceBox::ServiceManager::beg...
Definition IceBox.h:2755
void(T::* Exception)(const ::Ice::Exception &)
Definition IceBox.h:2760
CallbackNC_ServiceManager_stopService(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2764
IceUtil::Handle< T > TPtr
Definition IceBox.h:2758
void(T::* Sent)(bool)
Definition IceBox.h:2761
void(T::* Response)()
Definition IceBox.h:2762
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceBox::ServiceObserver::be...
Definition IceBox.h:2087
void(T::* Sent)(bool)
Definition IceBox.h:2093
void(T::* Exception)(const ::Ice::Exception &)
Definition IceBox.h:2092
IceUtil::Handle< T > TPtr
Definition IceBox.h:2090
CallbackNC_ServiceObserver_servicesStarted(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2096
void(T::* Response)()
Definition IceBox.h:2094
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceBox::ServiceObserver::be...
Definition IceBox.h:2243
void(T::* Response)()
Definition IceBox.h:2250
IceUtil::Handle< T > TPtr
Definition IceBox.h:2246
void(T::* Sent)(bool)
Definition IceBox.h:2249
void(T::* Exception)(const ::Ice::Exception &)
Definition IceBox.h:2248
CallbackNC_ServiceObserver_servicesStopped(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2252
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceBox::ServiceManag...
Definition IceBox.h:1140
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceBox:...
Definition IceBox.h:3035
void(T::* Response)(const CT &)
Definition IceBox.h:3042
Callback_ServiceManager_addObserver(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:3044
void(T::* Sent)(bool, const CT &)
Definition IceBox.h:3041
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceBox.h:3040
IceUtil::Handle< T > TPtr
Definition IceBox.h:3038
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceBox::ServiceManag...
Definition IceBox.h:1116
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceBox:...
Definition IceBox.h:2474
IceUtil::Handle< T > TPtr
Definition IceBox.h:2477
void(T::* Sent)(bool, const CT &)
Definition IceBox.h:2480
void(T::* Response)(const ::Ice::SliceChecksumDict &, const CT &)
Definition IceBox.h:2481
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceBox.h:2479
Callback_ServiceManager_getSliceChecksums(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2483
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceBox::ServiceManag...
Definition IceBox.h:1148
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceBox:...
Definition IceBox.h:3191
void(T::* Response)(const CT &)
Definition IceBox.h:3198
Callback_ServiceManager_shutdown(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:3200
IceUtil::Handle< T > TPtr
Definition IceBox.h:3194
void(T::* Sent)(bool, const CT &)
Definition IceBox.h:3197
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceBox.h:3196
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceBox::ServiceManag...
Definition IceBox.h:1124
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceBox:...
Definition IceBox.h:2651
void(T::* Sent)(bool, const CT &)
Definition IceBox.h:2657
IceUtil::Handle< T > TPtr
Definition IceBox.h:2654
Callback_ServiceManager_startService(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2660
void(T::* Response)(const CT &)
Definition IceBox.h:2658
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceBox.h:2656
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceBox::ServiceManag...
Definition IceBox.h:1132
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceBox:...
Definition IceBox.h:2855
void(T::* Response)(const CT &)
Definition IceBox.h:2862
Callback_ServiceManager_stopService(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2864
IceUtil::Handle< T > TPtr
Definition IceBox.h:2858
void(T::* Sent)(bool, const CT &)
Definition IceBox.h:2861
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceBox.h:2860
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceBox::ServiceObser...
Definition IceBox.h:1100
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceBox:...
Definition IceBox.h:2163
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceBox.h:2168
IceUtil::Handle< T > TPtr
Definition IceBox.h:2166
Callback_ServiceObserver_servicesStarted(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2172
void(T::* Sent)(bool, const CT &)
Definition IceBox.h:2169
void(T::* Response)(const CT &)
Definition IceBox.h:2170
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceBox::ServiceObser...
Definition IceBox.h:1108
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceBox:...
Definition IceBox.h:2319
Callback_ServiceObserver_servicesStopped(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceBox.h:2328
void(T::* Response)(const CT &)
Definition IceBox.h:2326
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceBox.h:2324
void(T::* Sent)(bool, const CT &)
Definition IceBox.h:2325
IceUtil::Handle< T > TPtr
Definition IceBox.h:2322
::std::string reason
The reason for the failure.
Definition IceBox.h:960
virtual void ice_print(::std::ostream &stream) const
Prints this exception to the given stream.
virtual void ice_throw() const
Throws this exception.
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
FailureException(const char *file, int line)
The file and line number are required for all local exceptions.
virtual FailureException * ice_clone() const
Polymorphically clones this exception.
FailureException(const char *file, int line, const ::std::string &reason)
One-shot constructor to initialize all data members.
virtual ~FailureException()
This exception is thrown if a service name does not refer to an existing service.
Definition IceBox.h:1055
virtual NoSuchServiceException * ice_clone() const
Polymorphically clones this exception.
virtual ~NoSuchServiceException()
virtual void ice_throw() const
Throws this exception.
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
NoSuchServiceException()
Definition IceBox.h:1058
Administers a set of Service instances.
Definition IceBox.h:1931
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
virtual::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0
Returns the checksums for the IceBox Slice definitions.
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
ServiceManagerPtr PointerType
Definition IceBox.h:1935
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual void addObserver(const ServiceObserverPrx &observer, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Registers a new observer with the ServiceManager.
virtual void stopService(const ::std::string &service, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Stop an individual service.
ServiceManagerPrx ProxyType
Definition IceBox.h:1934
virtual void startService(const ::std::string &service, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Start an individual service.
virtual ~ServiceManager()
virtual void shutdown(const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Shut down all services.
An Observer interface implemented by admin clients interested in the status of services.
Definition IceBox.h:1839
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual ~ServiceObserver()
ServiceObserverPtr PointerType
Definition IceBox.h:1843
virtual void servicesStopped(const ::Ice::StringSeq &services, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Receives the names of the services that were stopped.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
ServiceObserverPrx ProxyType
Definition IceBox.h:1842
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
virtual void servicesStarted(const ::Ice::StringSeq &services, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Receives the names of the services that were started.
An application service managed by a ServiceManager.
Definition IceBox.h:1784
ServicePtr PointerType
Definition IceBox.h:1787
virtual void start(const ::std::string &name, const ::Ice::CommunicatorPtr &communicator, const ::Ice::StringSeq &args)=0
Start the service.
virtual void stop()=0
Stop the service.
::Ice::AsyncResultPtr begin_startService(const ::std::string &service, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Start an individual service.
Definition IceBox.h:1455
::Ice::AsyncResultPtr begin_startService(const ::std::string &service, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Start an individual service.
Definition IceBox.h:1468
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Shut down all services.
Definition IceBox.h:1719
::Ice::AsyncResultPtr begin_startService(const ::std::string &service, const ::IceBox::Callback_ServiceManager_startServicePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Start an individual service.
Definition IceBox.h:1480
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context &context=::Ice::noExplicitContext)
Shut down all services.
Definition IceBox.h:1696
::Ice::AsyncResultPtr begin_stopService(const ::std::string &service, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Stop an individual service.
Definition IceBox.h:1542
void end_addObserver(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_addObserver.
::Ice::AsyncResultPtr begin_startService(const ::std::string &service, const ::Ice::Context &context, const ::IceBox::Callback_ServiceManager_startServicePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Start an individual service.
Definition IceBox.h:1493
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the checksums for the IceBox Slice definitions.
Definition IceBox.h:1384
::Ice::AsyncResultPtr begin_stopService(const ::std::string &service, const ::Ice::Context &context=::Ice::noExplicitContext)
Stop an individual service.
Definition IceBox.h:1530
::Ice::AsyncResultPtr begin_startService(const ::std::string &service, const ::Ice::Context &context=::Ice::noExplicitContext)
Start an individual service.
Definition IceBox.h:1443
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context &context, const ::IceBox::Callback_ServiceManager_shutdownPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Shut down all services.
Definition IceBox.h:1742
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::IceBox::Callback_ServiceManager_getSliceChecksumsPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the checksums for the IceBox Slice definitions.
Definition IceBox.h:1395
void end_shutdown(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_shutdown.
::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Context &context=::Ice::noExplicitContext)
Returns the checksums for the IceBox Slice definitions.
Definition IceBox.h:1351
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx &observer, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Registers a new observer with the ServiceManager.
Definition IceBox.h:1627
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx &observer, const ::Ice::Context &context, const ::IceBox::Callback_ServiceManager_addObserverPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Registers a new observer with the ServiceManager.
Definition IceBox.h:1665
::Ice::AsyncResultPtr begin_shutdown(const ::IceBox::Callback_ServiceManager_shutdownPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Shut down all services.
Definition IceBox.h:1730
::Ice::SliceChecksumDict end_getSliceChecksums(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getSliceChecksums.
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx &observer, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Registers a new observer with the ServiceManager.
Definition IceBox.h:1640
void shutdown(const ::Ice::Context &context=::Ice::noExplicitContext)
Shut down all services.
Definition IceBox.h:1686
::Ice::AsyncResultPtr begin_stopService(const ::std::string &service, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Stop an individual service.
Definition IceBox.h:1555
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the checksums for the IceBox Slice definitions.
Definition IceBox.h:1372
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Shut down all services.
Definition IceBox.h:1707
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context &context=::Ice::noExplicitContext)
Returns the checksums for the IceBox Slice definitions.
Definition IceBox.h:1361
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context &context, const ::IceBox::Callback_ServiceManager_getSliceChecksumsPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Returns the checksums for the IceBox Slice definitions.
Definition IceBox.h:1407
void addObserver(const ::IceBox::ServiceObserverPrx &observer, const ::Ice::Context &context=::Ice::noExplicitContext)
Registers a new observer with the ServiceManager.
Definition IceBox.h:1604
::Ice::AsyncResultPtr begin_stopService(const ::std::string &service, const ::IceBox::Callback_ServiceManager_stopServicePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Stop an individual service.
Definition IceBox.h:1567
void stopService(const ::std::string &service, const ::Ice::Context &context=::Ice::noExplicitContext)
Stop an individual service.
Definition IceBox.h:1519
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx &observer, const ::Ice::Context &context=::Ice::noExplicitContext)
Registers a new observer with the ServiceManager.
Definition IceBox.h:1615
void end_stopService(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_stopService.
void end_startService(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_startService.
void startService(const ::std::string &service, const ::Ice::Context &context=::Ice::noExplicitContext)
Start an individual service.
Definition IceBox.h:1432
::Ice::AsyncResultPtr begin_stopService(const ::std::string &service, const ::Ice::Context &context, const ::IceBox::Callback_ServiceManager_stopServicePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Stop an individual service.
Definition IceBox.h:1580
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx &observer, const ::IceBox::Callback_ServiceManager_addObserverPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Registers a new observer with the ServiceManager.
Definition IceBox.h:1652
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq &services, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Receives the names of the services that were stopped.
Definition IceBox.h:1274
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq &services, const ::Ice::Context &context, const ::IceBox::Callback_ServiceObserver_servicesStartedPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Receives the names of the services that were started.
Definition IceBox.h:1229
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq &services, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Receives the names of the services that were stopped.
Definition IceBox.h:1287
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq &services, const ::Ice::Context &context=::Ice::noExplicitContext)
Receives the names of the services that were stopped.
Definition IceBox.h:1262
void end_servicesStopped(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_servicesStopped.
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq &services, const ::IceBox::Callback_ServiceObserver_servicesStartedPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Receives the names of the services that were started.
Definition IceBox.h:1216
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq &services, const ::IceBox::Callback_ServiceObserver_servicesStoppedPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Receives the names of the services that were stopped.
Definition IceBox.h:1299
void servicesStarted(const ::Ice::StringSeq &services, const ::Ice::Context &context=::Ice::noExplicitContext)
Receives the names of the services that were started.
Definition IceBox.h:1168
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq &services, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Receives the names of the services that were started.
Definition IceBox.h:1204
void end_servicesStarted(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_servicesStarted.
void servicesStopped(const ::Ice::StringSeq &services, const ::Ice::Context &context=::Ice::noExplicitContext)
Receives the names of the services that were stopped.
Definition IceBox.h:1251
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq &services, const ::Ice::Context &context, const ::IceBox::Callback_ServiceObserver_servicesStoppedPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Receives the names of the services that were stopped.
Definition IceBox.h:1312
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq &services, const ::Ice::Context &context=::Ice::noExplicitContext)
Receives the names of the services that were started.
Definition IceBox.h:1179
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq &services, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Receives the names of the services that were started.
Definition IceBox.h:1191
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
T * get() const
Definition Handle.h:25
Shared & operator=(const Shared &)
Definition Shared.h:94
Base class for all Ice run-time exceptions.
Definition Exception.h:29
Base class for local Slice classes and interfaces.
Definition LocalObject.h:25
The base class for servants.
Definition Object.h:193
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
Base class for all Ice user exceptions.
Definition Exception.h:68
::IceInternal::Handle< ServiceManager > ServiceManagerPtr
Definition IceBox.h:892
::IceInternal::Handle< Service > ServicePtr
Definition IceBox.h:875
Callback_ServiceManager_startServicePtr newCallback_ServiceManager_startService(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 IceBox.h:2599
Callback_ServiceObserver_servicesStartedPtr newCallback_ServiceObserver_servicesStarted(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 IceBox.h:2111
Callback_ServiceObserver_servicesStoppedPtr newCallback_ServiceObserver_servicesStopped(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 IceBox.h:2267
::IceUtil::Handle< Callback_ServiceManager_startService_Base > Callback_ServiceManager_startServicePtr
Definition IceBox.h:1125
::IceUtil::Handle< Callback_ServiceObserver_servicesStopped_Base > Callback_ServiceObserver_servicesStoppedPtr
Definition IceBox.h:1109
::IceUtil::Handle< Callback_ServiceManager_addObserver_Base > Callback_ServiceManager_addObserverPtr
Definition IceBox.h:1141
::IceUtil::Handle< Callback_ServiceManager_stopService_Base > Callback_ServiceManager_stopServicePtr
Definition IceBox.h:1133
::IceInternal::ProxyHandle< ::IceProxy::IceBox::ServiceManager > ServiceManagerPrx
Definition IceBox.h:893
::IceUtil::Handle< Callback_ServiceObserver_servicesStarted_Base > Callback_ServiceObserver_servicesStartedPtr
Definition IceBox.h:1101
Callback_ServiceManager_getSliceChecksumsPtr newCallback_ServiceManager_getSliceChecksums(const IceUtil::Handle< T > &instance, void(T::*cb)(const ::Ice::SliceChecksumDict &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition IceBox.h:2448
ServiceManagerPrx ServiceManagerPrxPtr
Definition IceBox.h:894
::IceUtil::Handle< Callback_ServiceManager_getSliceChecksums_Base > Callback_ServiceManager_getSliceChecksumsPtr
Definition IceBox.h:1117
::IceUtil::Handle< Callback_ServiceManager_shutdown_Base > Callback_ServiceManager_shutdownPtr
Definition IceBox.h:1149
Callback_ServiceManager_shutdownPtr newCallback_ServiceManager_shutdown(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 IceBox.h:3139
::IceInternal::Handle< ServiceObserver > ServiceObserverPtr
Definition IceBox.h:881
ServiceObserverPrx ServiceObserverPrxPtr
Definition IceBox.h:883
::IceInternal::ProxyHandle< ::IceProxy::IceBox::ServiceObserver > ServiceObserverPrx
Definition IceBox.h:882
Callback_ServiceManager_addObserverPtr newCallback_ServiceManager_addObserver(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 IceBox.h:2983
Callback_ServiceManager_stopServicePtr newCallback_ServiceManager_stopService(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 IceBox.h:2803
Definition BuiltinSequences.h:113
::std::vector< ::std::string > StringSeq
A sequence of strings.
Definition BuiltinSequences.h:153
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Definition ProxyHandle.h:51
::std::map< ::std::string, ::std::string > SliceChecksumDict
A mapping from type IDs to Slice checksums.
Definition SliceChecksumDict.h:77
const Current emptyCurrent
A default-initialized Current instance.
IceInternal::Handle< AsyncResult > AsyncResultPtr
Definition AsyncResultF.h:18