7#ifndef IceGrid_Admin_h_
8#define IceGrid_Admin_h_
12#include "Descriptor.h"
14#include <Glacier2/Session.h>
15#include <IceGrid/Config.h>
17#ifndef ICE_DISABLE_VERSION
18# if ICE_INT_VERSION != 30850
19# error Ice version mismatch: an exact match is required for beta generated code
24# if defined(ICEGRID_API_EXPORTS)
25# define ICEGRID_API ICE_DECLSPEC_EXPORT
27# define ICEGRID_API ICE_DECLSPEC_IMPORT
152 ~AdminPrx()
override;
354 void _iceI_removeApplication(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const Ice::Context&)
const;
388 void _iceI_instantiateServer(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view, std::string_view,
const ServerInstanceDescriptor&,
const Ice::Context&)
const;
416 void _iceI_getApplicationInfo(
const std::shared_ptr<IceInternal::OutgoingAsyncT<ApplicationInfo>>&, std::string_view,
const Ice::Context&)
const;
441 void _iceI_getDefaultApplicationDescriptor(
const std::shared_ptr<IceInternal::OutgoingAsyncT<ApplicationDescriptor>>&,
const Ice::Context&)
const;
465 void _iceI_getAllApplicationNames(
const std::shared_ptr<IceInternal::OutgoingAsyncT<::Ice::StringSeq>>&,
const Ice::Context&)
const;
493 void _iceI_getServerInfo(
const std::shared_ptr<IceInternal::OutgoingAsyncT<ServerInfo>>&, std::string_view,
const Ice::Context&)
const;
523 void _iceI_getServerState(
const std::shared_ptr<IceInternal::OutgoingAsyncT<ServerState>>&, std::string_view,
const Ice::Context&)
const;
550 std::function<void()>
getServerPidAsync(std::string_view
id, std::function<
void(std::int32_t)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
553 void _iceI_getServerPid(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::int32_t>>&, std::string_view,
const Ice::Context&)
const;
580 void _iceI_getServerAdminCategory(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::string>>&,
const Ice::Context&)
const;
607 std::function<void()>
getServerAdminAsync(std::string_view
id, std::function<
void(std::optional<Ice::ObjectPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
610 void _iceI_getServerAdmin(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<Ice::ObjectPrx>>>&, std::string_view,
const Ice::Context&)
const;
643 std::function<void()>
enableServerAsync(std::string_view
id,
bool enabled, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
646 void _iceI_enableServer(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
bool,
const Ice::Context&)
const;
676 void _iceI_isServerEnabled(
const std::shared_ptr<IceInternal::OutgoingAsyncT<bool>>&, std::string_view,
const Ice::Context&)
const;
704 void _iceI_startServer(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const Ice::Context&)
const;
732 void _iceI_stopServer(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const Ice::Context&)
const;
760 std::function<void()>
sendSignalAsync(std::string_view
id, std::string_view signal, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
763 void _iceI_sendSignal(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view, std::string_view,
const Ice::Context&)
const;
787 void _iceI_getAllServerIds(
const std::shared_ptr<IceInternal::OutgoingAsyncT<::Ice::StringSeq>>&,
const Ice::Context&)
const;
821 void _iceI_getAdapterInfo(
const std::shared_ptr<IceInternal::OutgoingAsyncT<AdapterInfoSeq>>&, std::string_view,
const Ice::Context&)
const;
847 void _iceI_removeAdapter(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const Ice::Context&)
const;
871 void _iceI_getAllAdapterIds(
const std::shared_ptr<IceInternal::OutgoingAsyncT<::Ice::StringSeq>>&,
const Ice::Context&)
const;
897 std::function<void()>
addObjectAsync(
const std::optional<Ice::ObjectPrx>& obj, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
900 void _iceI_addObject(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const std::optional<Ice::ObjectPrx>&,
const Ice::Context&)
const;
926 std::function<void()>
updateObjectAsync(
const std::optional<Ice::ObjectPrx>& obj, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
929 void _iceI_updateObject(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const std::optional<Ice::ObjectPrx>&,
const Ice::Context&)
const;
955 std::function<void()>
addObjectWithTypeAsync(
const std::optional<Ice::ObjectPrx>& obj, std::string_view type, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
958 void _iceI_addObjectWithType(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const std::optional<Ice::ObjectPrx>&, std::string_view,
const Ice::Context&)
const;
987 void _iceI_removeObject(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&,
const Ice::Context&)
const;
1015 void _iceI_getObjectInfo(
const std::shared_ptr<IceInternal::OutgoingAsyncT<ObjectInfo>>&, const ::Ice::Identity&,
const Ice::Context&)
const;
1042 void _iceI_getObjectInfosByType(
const std::shared_ptr<IceInternal::OutgoingAsyncT<ObjectInfoSeq>>&, std::string_view,
const Ice::Context&)
const;
1072 void _iceI_getAllObjectInfos(
const std::shared_ptr<IceInternal::OutgoingAsyncT<ObjectInfoSeq>>&, std::string_view,
const Ice::Context&)
const;
1097 std::function<void()>
pingNodeAsync(std::string_view name, std::function<
void(
bool)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
1100 void _iceI_pingNode(
const std::shared_ptr<IceInternal::OutgoingAsyncT<bool>>&, std::string_view,
const Ice::Context&)
const;
1129 void _iceI_getNodeLoad(
const std::shared_ptr<IceInternal::OutgoingAsyncT<LoadInfo>>&, std::string_view,
const Ice::Context&)
const;
1158 void _iceI_getNodeInfo(
const std::shared_ptr<IceInternal::OutgoingAsyncT<NodeInfo>>&, std::string_view,
const Ice::Context&)
const;
1184 std::function<void()>
getNodeAdminAsync(std::string_view name, std::function<
void(std::optional<Ice::ObjectPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
1187 void _iceI_getNodeAdmin(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<Ice::ObjectPrx>>>&, std::string_view,
const Ice::Context&)
const;
1222 void _iceI_getNodeProcessorSocketCount(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::int32_t>>&, std::string_view,
const Ice::Context&)
const;
1248 void _iceI_shutdownNode(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const Ice::Context&)
const;
1277 void _iceI_getNodeHostname(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::string>>&, std::string_view,
const Ice::Context&)
const;
1301 void _iceI_getAllNodeNames(
const std::shared_ptr<IceInternal::OutgoingAsyncT<::Ice::StringSeq>>&,
const Ice::Context&)
const;
1329 void _iceI_pingRegistry(
const std::shared_ptr<IceInternal::OutgoingAsyncT<bool>>&, std::string_view,
const Ice::Context&)
const;
1358 void _iceI_getRegistryInfo(
const std::shared_ptr<IceInternal::OutgoingAsyncT<RegistryInfo>>&, std::string_view,
const Ice::Context&)
const;
1383 std::function<void()>
getRegistryAdminAsync(std::string_view name, std::function<
void(std::optional<Ice::ObjectPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
1386 void _iceI_getRegistryAdmin(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<Ice::ObjectPrx>>>&, std::string_view,
const Ice::Context&)
const;
1412 void _iceI_shutdownRegistry(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const Ice::Context&)
const;
1436 void _iceI_getAllRegistryNames(
const std::shared_ptr<IceInternal::OutgoingAsyncT<::Ice::StringSeq>>&,
const Ice::Context&)
const;
1457 void _iceI_shutdown(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const Ice::Context&)
const;
1464 static
AdminPrx _fromReference(IceInternal::ReferencePtr ref) {
return AdminPrx{std::move(ref)}; }
1471 explicit AdminPrx(IceInternal::ReferencePtr&& ref) :
Ice::ObjectPrx{std::move(ref)}
1494 ~FileIteratorPrx()
override;
1557 void _iceI_read(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::tuple<bool, ::Ice::StringSeq>>>&, std::int32_t,
const Ice::Context&)
const;
1578 void _iceI_destroy(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const Ice::Context&)
const;
1592 explicit FileIteratorPrx(IceInternal::ReferencePtr&& ref) :
Ice::ObjectPrx{std::move(ref)}
1615 ~RegistryObserverPrx()
override;
1662 void _iceI_registryInit(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const RegistryInfoSeq&,
const Ice::Context&)
const;
1686 void _iceI_registryUp(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const RegistryInfo&,
const Ice::Context&)
const;
1710 void _iceI_registryDown(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const Ice::Context&)
const;
1747 ~NodeObserverPrx()
override;
1839 std::function<void()>
nodeDownAsync(std::string_view name, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
1842 void _iceI_nodeDown(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const Ice::Context&)
const;
1869 void _iceI_updateServer(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const ServerDynamicInfo&,
const Ice::Context&)
const;
1896 void _iceI_updateAdapter(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const AdapterDynamicInfo&,
const Ice::Context&)
const;
1910 explicit NodeObserverPrx(IceInternal::ReferencePtr&& ref) :
Ice::ObjectPrx{std::move(ref)}
1933 ~ApplicationObserverPrx()
override;
1986 void _iceI_applicationInit(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::int32_t,
const ApplicationInfoSeq&,
const Ice::Context&)
const;
2013 void _iceI_applicationAdded(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::int32_t,
const ApplicationInfo&,
const Ice::Context&)
const;
2040 void _iceI_applicationRemoved(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::int32_t, std::string_view,
const Ice::Context&)
const;
2067 void _iceI_applicationUpdated(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::int32_t,
const ApplicationUpdateInfo&,
const Ice::Context&)
const;
2104 ~AdapterObserverPrx()
override;
2151 void _iceI_adapterInit(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const AdapterInfoSeq&,
const Ice::Context&)
const;
2175 void _iceI_adapterAdded(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const AdapterInfo&,
const Ice::Context&)
const;
2196 void _iceI_adapterUpdated(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const AdapterInfo&,
const Ice::Context&)
const;
2220 void _iceI_adapterRemoved(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const Ice::Context&)
const;
2257 ~ObjectObserverPrx()
override;
2304 void _iceI_objectInit(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const ObjectInfoSeq&,
const Ice::Context&)
const;
2328 void _iceI_objectAdded(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const ObjectInfo&,
const Ice::Context&)
const;
2352 void _iceI_objectUpdated(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const ObjectInfo&,
const Ice::Context&)
const;
2376 void _iceI_objectRemoved(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&,
const Ice::Context&)
const;
2401#if defined(__GNUC__) && !defined(__clang__)
2402# pragma GCC diagnostic push
2403# pragma GCC diagnostic ignored "-Wextra"
2419 ~AdminSessionPrx()
override;
2460 [[deprecated(
"As of Ice 3.8, there is no need to call this operation, and its implementation does nothing.")]] std::function<void()>
keepAliveAsync(std::function<
void()> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2463 void _iceI_keepAlive(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const Ice::Context&)
const;
2487 std::function<void()>
getAdminAsync(std::function<
void(std::optional<::IceGrid::AdminPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2490 void _iceI_getAdmin(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<AdminPrx>>>&,
const Ice::Context&)
const;
2517 void _iceI_getAdminCallbackTemplate(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<Ice::ObjectPrx>>>&,
const Ice::Context&)
const;
2527 void setObservers(
const std::optional<RegistryObserverPrx>& registryObs,
const std::optional<NodeObserverPrx>& nodeObs,
const std::optional<ApplicationObserverPrx>& appObs,
const std::optional<AdapterObserverPrx>& adptObs,
const std::optional<ObjectObserverPrx>& objObs,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2537 [[nodiscard]] std::future<void>
setObserversAsync(
const std::optional<RegistryObserverPrx>& registryObs,
const std::optional<NodeObserverPrx>& nodeObs,
const std::optional<ApplicationObserverPrx>& appObs,
const std::optional<AdapterObserverPrx>& adptObs,
const std::optional<ObjectObserverPrx>& objObs,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2551 std::function<void()>
setObserversAsync(
const std::optional<RegistryObserverPrx>& registryObs,
const std::optional<NodeObserverPrx>& nodeObs,
const std::optional<ApplicationObserverPrx>& appObs,
const std::optional<AdapterObserverPrx>& adptObs,
const std::optional<ObjectObserverPrx>& objObs, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2554 void _iceI_setObservers(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const std::optional<RegistryObserverPrx>&,
const std::optional<NodeObserverPrx>&,
const std::optional<ApplicationObserverPrx>&,
const std::optional<AdapterObserverPrx>&,
const std::optional<ObjectObserverPrx>&,
const Ice::Context&)
const;
2594 std::function<void()>
setObserversByIdentityAsync(const ::Ice::Identity& registryObs, const ::Ice::Identity& nodeObs, const ::Ice::Identity& appObs, const ::Ice::Identity& adptObs, const ::Ice::Identity& objObs, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2597 void _iceI_setObserversByIdentity(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&, const ::Ice::Identity&, const ::Ice::Identity&, const ::Ice::Identity&, const ::Ice::Identity&,
const Ice::Context&)
const;
2623 void _iceI_startUpdate(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::int32_t>>&,
const Ice::Context&)
const;
2645 void _iceI_finishUpdate(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&,
const Ice::Context&)
const;
2669 void _iceI_getReplicaName(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::string>>&,
const Ice::Context&)
const;
2709 std::function<void()>
openServerLogAsync(std::string_view
id, std::string_view path, std::int32_t count, std::function<
void(std::optional<::IceGrid::FileIteratorPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2712 void _iceI_openServerLog(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<FileIteratorPrx>>>&, std::string_view, std::string_view, std::int32_t,
const Ice::Context&)
const;
2746 std::function<void()>
openServerStdErrAsync(std::string_view
id, std::int32_t count, std::function<
void(std::optional<::IceGrid::FileIteratorPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2749 void _iceI_openServerStdErr(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<FileIteratorPrx>>>&, std::string_view, std::int32_t,
const Ice::Context&)
const;
2783 std::function<void()>
openServerStdOutAsync(std::string_view
id, std::int32_t count, std::function<
void(std::optional<::IceGrid::FileIteratorPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2786 void _iceI_openServerStdOut(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<FileIteratorPrx>>>&, std::string_view, std::int32_t,
const Ice::Context&)
const;
2819 std::function<void()>
openNodeStdErrAsync(std::string_view name, std::int32_t count, std::function<
void(std::optional<::IceGrid::FileIteratorPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2822 void _iceI_openNodeStdErr(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<FileIteratorPrx>>>&, std::string_view, std::int32_t,
const Ice::Context&)
const;
2855 std::function<void()>
openNodeStdOutAsync(std::string_view name, std::int32_t count, std::function<
void(std::optional<::IceGrid::FileIteratorPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2858 void _iceI_openNodeStdOut(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<FileIteratorPrx>>>&, std::string_view, std::int32_t,
const Ice::Context&)
const;
2891 std::function<void()>
openRegistryStdErrAsync(std::string_view name, std::int32_t count, std::function<
void(std::optional<::IceGrid::FileIteratorPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2894 void _iceI_openRegistryStdErr(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<FileIteratorPrx>>>&, std::string_view, std::int32_t,
const Ice::Context&)
const;
2927 std::function<void()>
openRegistryStdOutAsync(std::string_view name, std::int32_t count, std::function<
void(std::optional<::IceGrid::FileIteratorPrx>)> response, std::function<
void(std::exception_ptr)> exception =
nullptr, std::function<
void(
bool)> sent =
nullptr,
const Ice::Context& context =
Ice::noExplicitContext)
const;
2930 void _iceI_openRegistryStdOut(
const std::shared_ptr<IceInternal::OutgoingAsyncT<std::optional<FileIteratorPrx>>>&, std::string_view, std::int32_t,
const Ice::Context&)
const;
2944 explicit AdminSessionPrx(IceInternal::ReferencePtr&& ref) :
Ice::ObjectPrx{std::move(ref)}
2948#if defined(__GNUC__) && !defined(__clang__)
2949# pragma GCC diagnostic pop
2968 [[nodiscard]] std::tuple<const std::optional<Ice::ObjectPrx>&,
const std::string&>
ice_tuple()
const
2999 [[nodiscard]] std::tuple<const std::string&, const std::optional<Ice::ObjectPrx>&,
const std::string&>
ice_tuple()
const
3039 [[nodiscard]] std::tuple<const std::string&, const std::string&, const std::int32_t&, const std::string&, const ::IceGrid::ServerDescriptorPtr&, const std::string&>
ice_tuple()
const
3086 [[nodiscard]] std::tuple<const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::int32_t&, const std::string&>
ice_tuple()
const
3114 [[nodiscard]] std::tuple<const std::string&, const std::string&>
ice_tuple()
const
3145 [[nodiscard]] std::tuple<const float&, const float&, const float&>
ice_tuple()
const
3188 [[nodiscard]] std::tuple<const std::string&, const std::int64_t&, const std::string&, const std::int64_t&, const std::string&, const std::int32_t&, const ::IceGrid::ApplicationDescriptor&>
ice_tuple()
const
3222 [[nodiscard]] std::tuple<const std::int64_t&, const std::string&, const std::int32_t&, const ::IceGrid::ApplicationUpdateDescriptor&>
ice_tuple()
const
3256 [[nodiscard]] std::tuple<const std::string&, const ::IceGrid::ServerState&, const std::int32_t&, const bool&>
ice_tuple()
const
3284 [[nodiscard]] std::tuple<const std::string&, const std::optional<Ice::ObjectPrx>&>
ice_tuple()
const
3286 return std::tie(
id,
proxy);
3315 [[nodiscard]] std::tuple<const ::IceGrid::NodeInfo&, const ::IceGrid::ServerDynamicInfoSeq&, const ::IceGrid::AdapterDynamicInfoSeq&>
ice_tuple()
const
3332 using Ice::Tuple::operator<;
3333 using Ice::Tuple::operator<=;
3334 using Ice::Tuple::operator>;
3335 using Ice::Tuple::operator>=;
3336 using Ice::Tuple::operator==;
3337 using Ice::Tuple::operator!=;
3345 class ICEGRID_API Admin :
public virtual Ice::Object
3349 using ProxyType = AdminPrx;
3356 [[nodiscard]] std::vector<std::string> ice_ids(
const Ice::Current& current)
const override;
3358 [[nodiscard]] std::string ice_id(
const Ice::Current& current)
const override;
3366 virtual void addApplication(ApplicationDescriptor descriptor,
const Ice::Current& current) = 0;
3378 virtual void syncApplication(ApplicationDescriptor descriptor,
const Ice::Current& current) = 0;
3390 virtual void updateApplication(ApplicationUpdateDescriptor descriptor,
const Ice::Current& current) = 0;
3404 virtual void syncApplicationWithoutRestart(ApplicationDescriptor descriptor,
const Ice::Current& current) = 0;
3418 virtual void updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor,
const Ice::Current& current) = 0;
3430 virtual void removeApplication(std::string name,
const Ice::Current& current) = 0;
3444 virtual void instantiateServer(std::string application, std::string node, ServerInstanceDescriptor desc,
const Ice::Current& current) = 0;
3454 [[nodiscard]]
virtual ApplicationInfo getApplicationInfo(std::string name,
const Ice::Current& current)
const = 0;
3463 [[nodiscard]]
virtual ApplicationDescriptor getDefaultApplicationDescriptor(
const Ice::Current& current)
const = 0;
3471 [[nodiscard]] virtual ::Ice::StringSeq getAllApplicationNames(
const Ice::Current& current)
const = 0;
3481 [[nodiscard]]
virtual ServerInfo getServerInfo(std::string
id,
const Ice::Current& current)
const = 0;
3493 [[nodiscard]]
virtual ServerState getServerState(std::string
id,
const Ice::Current& current)
const = 0;
3505 [[nodiscard]]
virtual std::int32_t getServerPid(std::string
id,
const Ice::Current& current)
const = 0;
3514 [[nodiscard]]
virtual std::string getServerAdminCategory(
const Ice::Current& current)
const = 0;
3526 [[nodiscard]]
virtual std::optional<Ice::ObjectPrx> getServerAdmin(std::string
id,
const Ice::Current& current)
const = 0;
3540 virtual void enableServer(std::string
id,
bool enabled,
const Ice::Current& current) = 0;
3552 [[nodiscard]]
virtual bool isServerEnabled(std::string
id,
const Ice::Current& current)
const = 0;
3566 virtual void startServerAsync(std::string
id, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception,
const Ice::Current& current) = 0;
3580 virtual void stopServerAsync(std::string
id, std::function<
void()> response, std::function<
void(std::exception_ptr)> exception,
const Ice::Current& current) = 0;
3593 virtual void sendSignal(std::string
id, std::string signal,
const Ice::Current& current) = 0;
3601 [[nodiscard]] virtual ::Ice::StringSeq getAllServerIds(
const Ice::Current& current)
const = 0;
3613 [[nodiscard]]
virtual AdapterInfoSeq getAdapterInfo(std::string
id,
const Ice::Current& current)
const = 0;
3623 virtual void removeAdapter(std::string
id,
const Ice::Current& current) = 0;
3631 [[nodiscard]] virtual ::Ice::StringSeq getAllAdapterIds(
const Ice::Current& current)
const = 0;
3642 virtual void addObject(std::optional<Ice::ObjectPrx> obj,
const Ice::Current& current) = 0;
3653 virtual void updateObject(std::optional<Ice::ObjectPrx> obj,
const Ice::Current& current) = 0;
3664 virtual void addObjectWithType(std::optional<Ice::ObjectPrx> obj, std::string type,
const Ice::Current& current) = 0;
3694 [[nodiscard]]
virtual ObjectInfoSeq getObjectInfosByType(std::string type,
const Ice::Current& current)
const = 0;
3704 [[nodiscard]]
virtual ObjectInfoSeq getAllObjectInfos(std::string expr,
const Ice::Current& current)
const = 0;
3714 [[nodiscard]]
virtual bool pingNode(std::string name,
const Ice::Current& current)
const = 0;
3725 [[nodiscard]]
virtual LoadInfo getNodeLoad(std::string name,
const Ice::Current& current)
const = 0;
3736 [[nodiscard]]
virtual NodeInfo getNodeInfo(std::string name,
const Ice::Current& current)
const = 0;
3747 [[nodiscard]]
virtual std::optional<Ice::ObjectPrx> getNodeAdmin(std::string name,
const Ice::Current& current)
const = 0;
3760 [[nodiscard]]
virtual std::int32_t getNodeProcessorSocketCount(std::string name,
const Ice::Current& current)
const = 0;
3770 virtual void shutdownNode(std::string name,
const Ice::Current& current) = 0;
3781 [[nodiscard]]
virtual std::string getNodeHostname(std::string name,
const Ice::Current& current)
const = 0;
3789 [[nodiscard]] virtual ::Ice::StringSeq getAllNodeNames(
const Ice::Current& current)
const = 0;
3799 [[nodiscard]]
virtual bool pingRegistry(std::string name,
const Ice::Current& current)
const = 0;
3810 [[nodiscard]]
virtual RegistryInfo getRegistryInfo(std::string name,
const Ice::Current& current)
const = 0;
3820 [[nodiscard]]
virtual std::optional<Ice::ObjectPrx> getRegistryAdmin(std::string name,
const Ice::Current& current)
const = 0;
3830 virtual void shutdownRegistry(std::string name,
const Ice::Current& current) = 0;
3838 [[nodiscard]] virtual ::Ice::StringSeq getAllRegistryNames(
const Ice::Current& current)
const = 0;
3845 virtual void shutdown(
const Ice::Current& current) = 0;
3852 static const char* ice_staticId() noexcept;
3860 class ICEGRID_API FileIterator : public virtual
Ice::Object
3871 [[nodiscard]] std::vector<std::string> ice_ids(
const Ice::Current& current)
const override;
3873 [[nodiscard]] std::string ice_id(
const Ice::Current& current)
const override;
3898 static const char* ice_staticId()
noexcept;
4198 class ICEGRID_API AdminSession : public virtual ::
Glacier2::Session
4209 [[nodiscard]] std::vector<std::string> ice_ids(
const Ice::Current& current)
const override;
4211 [[nodiscard]] std::string ice_id(
const Ice::Current& current)
const override;
4215 virtual void keepAlive(
const Ice::Current& current) = 0;
4224 [[nodiscard]]
virtual std::optional<AdminPrx> getAdmin(
const Ice::Current& current)
const = 0;
4233 [[nodiscard]]
virtual std::optional<Ice::ObjectPrx> getAdminCallbackTemplate(
const Ice::Current& current)
const = 0;
4246 virtual void setObservers(std::optional<RegistryObserverPrx> registryObs, std::optional<NodeObserverPrx> nodeObs, std::optional<ApplicationObserverPrx> appObs, std::optional<AdapterObserverPrx> adptObs, std::optional<ObjectObserverPrx> objObs,
const Ice::Current& current) = 0;
4271 virtual std::int32_t startUpdate(
const Ice::Current& current) = 0;
4279 virtual void finishUpdate(
const Ice::Current& current) = 0;
4287 [[nodiscard]]
virtual std::string getReplicaName(
const Ice::Current& current)
const = 0;
4304 virtual std::optional<FileIteratorPrx> openServerLog(std::string
id, std::string path, std::int32_t count,
const Ice::Current& current) = 0;
4319 virtual std::optional<FileIteratorPrx> openServerStdErr(std::string
id, std::int32_t count,
const Ice::Current& current) = 0;
4334 virtual std::optional<FileIteratorPrx> openServerStdOut(std::string
id, std::int32_t count,
const Ice::Current& current) = 0;
4348 virtual std::optional<FileIteratorPrx> openNodeStdErr(std::string name, std::int32_t count,
const Ice::Current& current) = 0;
4362 virtual std::optional<FileIteratorPrx> openNodeStdOut(std::string name, std::int32_t count,
const Ice::Current& current) = 0;
4376 virtual std::optional<FileIteratorPrx> openRegistryStdErr(std::string name, std::int32_t count,
const Ice::Current& current) = 0;
4390 virtual std::optional<FileIteratorPrx> openRegistryStdOut(std::string name, std::int32_t count,
const Ice::Current& current) = 0;
4397 static const char* ice_staticId()
noexcept;
4410 static constexpr StreamHelperCategory helper = StreamHelperCategoryEnum;
4411 static constexpr int minValue = 0;
4412 static constexpr int maxValue = 6;
4413 static constexpr int minWireSize = 1;
4414 static constexpr bool fixedLength =
false;
4420 struct StreamableTraits<::IceGrid::ObjectInfo>
4423 static constexpr int minWireSize = 3;
4424 static constexpr bool fixedLength =
false;
4428 struct StreamReader<::IceGrid::ObjectInfo>
4431 static void read(InputStream* istr, ::IceGrid::ObjectInfo& v)
4440 struct StreamableTraits<::IceGrid::AdapterInfo>
4443 static constexpr int minWireSize = 4;
4444 static constexpr bool fixedLength =
false;
4448 struct StreamReader<::IceGrid::AdapterInfo>
4451 static void read(InputStream* istr, ::IceGrid::AdapterInfo& v)
4460 struct StreamableTraits<::IceGrid::ServerInfo>
4463 static constexpr int minWireSize = 9;
4464 static constexpr bool fixedLength =
false;
4468 struct StreamReader<::IceGrid::ServerInfo>
4471 static void read(InputStream* istr, ::IceGrid::ServerInfo& v)
4480 struct StreamableTraits<::IceGrid::NodeInfo>
4483 static constexpr int minWireSize = 11;
4484 static constexpr bool fixedLength =
false;
4488 struct StreamReader<::IceGrid::NodeInfo>
4491 static void read(InputStream* istr, ::IceGrid::NodeInfo& v)
4500 struct StreamableTraits<::IceGrid::RegistryInfo>
4503 static constexpr int minWireSize = 2;
4504 static constexpr bool fixedLength =
false;
4508 struct StreamReader<::IceGrid::RegistryInfo>
4511 static void read(InputStream* istr, ::IceGrid::RegistryInfo& v)
4520 struct StreamableTraits<::IceGrid::LoadInfo>
4523 static constexpr int minWireSize = 12;
4524 static constexpr bool fixedLength =
true;
4528 struct StreamReader<::IceGrid::LoadInfo>
4531 static void read(InputStream* istr, ::IceGrid::LoadInfo& v)
4540 struct StreamableTraits<::IceGrid::ApplicationInfo>
4543 static constexpr int minWireSize = 33;
4544 static constexpr bool fixedLength =
false;
4548 struct StreamReader<::IceGrid::ApplicationInfo>
4551 static void read(InputStream* istr, ::IceGrid::ApplicationInfo& v)
4560 struct StreamableTraits<::IceGrid::ApplicationUpdateInfo>
4563 static constexpr int minWireSize = 28;
4564 static constexpr bool fixedLength =
false;
4568 struct StreamReader<::IceGrid::ApplicationUpdateInfo>
4571 static void read(InputStream* istr, ::IceGrid::ApplicationUpdateInfo& v)
4580 struct StreamableTraits<::IceGrid::ServerDynamicInfo>
4583 static constexpr int minWireSize = 7;
4584 static constexpr bool fixedLength =
false;
4588 struct StreamReader<::IceGrid::ServerDynamicInfo>
4591 static void read(InputStream* istr, ::IceGrid::ServerDynamicInfo& v)
4600 struct StreamableTraits<::IceGrid::AdapterDynamicInfo>
4603 static constexpr int minWireSize = 3;
4604 static constexpr bool fixedLength =
false;
4608 struct StreamReader<::IceGrid::AdapterDynamicInfo>
4611 static void read(InputStream* istr, ::IceGrid::AdapterDynamicInfo& v)
4620 struct StreamableTraits<::IceGrid::NodeDynamicInfo>
4623 static constexpr int minWireSize = 13;
4624 static constexpr bool fixedLength =
false;
4628 struct StreamReader<::IceGrid::NodeDynamicInfo>
4631 static void read(InputStream* istr, ::IceGrid::NodeDynamicInfo& v)
std::future< void > adapterAddedAsync(const AdapterInfo &info, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a dynamically-registered adapter was added.
void adapterUpdated(const AdapterInfo &info, const Ice::Context &context=Ice::noExplicitContext) const
std::future< void > adapterUpdatedAsync(const AdapterInfo &info, const Ice::Context &context=Ice::noExplicitContext) const
AdapterObserverPrx(AdapterObserverPrx &&other) noexcept
Move constructor.
std::function< void()> adapterUpdatedAsync(const AdapterInfo &info, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
void adapterInit(const AdapterInfoSeq &adpts, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial list of dynamically registered adapters to the observer.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
std::function< void()> adapterAddedAsync(const AdapterInfo &info, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a dynamically-registered adapter was added.
void adapterRemoved(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a dynamically-registered adapter was removed.
AdapterObserverPrx & operator=(const AdapterObserverPrx &rhs) noexcept
Copy assignment operator.
AdapterObserverPrx & operator=(AdapterObserverPrx &&rhs) noexcept
Move assignment operator.
std::future< void > adapterInitAsync(const AdapterInfoSeq &adpts, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial list of dynamically registered adapters to the observer.
std::function< void()> adapterInitAsync(const AdapterInfoSeq &adpts, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial list of dynamically registered adapters to the observer.
std::function< void()> adapterRemovedAsync(std::string_view id, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a dynamically-registered adapter was removed.
AdapterObserverPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
AdapterObserverPrx(const AdapterObserverPrx &other) noexcept
Copy constructor.
void adapterAdded(const AdapterInfo &info, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a dynamically-registered adapter was added.
std::future< void > adapterRemovedAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a dynamically-registered adapter was removed.
Monitors dynamically-registered object adapters.
std::vector< std::string > ice_ids(const Ice::Current ¤t) const override
Gets the Slice interfaces supported by this object as a list of type IDs.
virtual void adapterUpdated(AdapterInfo info, const Ice::Current ¤t)=0
virtual void adapterAdded(AdapterInfo info, const Ice::Current ¤t)=0
Notifies the observer that a dynamically-registered adapter was added.
virtual void adapterInit(AdapterInfoSeq adpts, const Ice::Current ¤t)=0
Provides the initial list of dynamically registered adapters to the observer.
virtual void adapterRemoved(std::string id, const Ice::Current ¤t)=0
Notifies the observer that a dynamically-registered adapter was removed.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
std::string ice_id(const Ice::Current ¤t) const override
Gets the type ID of the most-derived Slice interface supported by this object.
void dispatch(Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override
Dispatches an incoming request to one of the member functions of this generated class,...
AdapterObserverPrx ProxyType
The associated proxy type.
Monitors dynamically-registered object adapters.
ObjectInfoSeq getObjectInfosByType(std::string_view type, const Ice::Context &context=Ice::noExplicitContext) const
Gets the object info of all the registered objects with a given type.
void startServer(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Starts a server and waits for its activation.
void syncApplicationWithoutRestart(const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Synchronizes a deployed application.
::Ice::StringSeq getAllNodeNames(const Ice::Context &context=Ice::noExplicitContext) const
Gets the names of all IceGrid nodes currently registered.
void shutdownRegistry(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Shuts down an IceGrid registry.
void stopServer(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Stops a server.
std::future<::Ice::StringSeq > getAllAdapterIdsAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets the IDs of all adapters registered with IceGrid.
void enableServer(std::string_view id, bool enabled, const Ice::Context &context=Ice::noExplicitContext) const
Enables or disables a server.
std::function< void()> shutdownAsync(std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Shuts down the IceGrid registry.
std::future< void > updateObjectAsync(const std::optional< Ice::ObjectPrx > &obj, const Ice::Context &context=Ice::noExplicitContext) const
Updates an object in the object registry.
std::future< std::int32_t > getServerPidAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets the system process ID of a server.
std::function< void()> removeObjectAsync(const ::Ice::Identity &id, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Removes an object from the object registry.
LoadInfo getNodeLoad(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets the load averages of a node.
void addApplication(const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Adds an application to IceGrid.
std::future< void > removeApplicationAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Removes an application from IceGrid.
::Ice::StringSeq getAllAdapterIds(const Ice::Context &context=Ice::noExplicitContext) const
Gets the IDs of all adapters registered with IceGrid.
std::future< std::optional< Ice::ObjectPrx > > getNodeAdminAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the admin object of an IceGrid node.
std::int32_t getServerPid(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets the system process ID of a server.
std::future< void > addObjectWithTypeAsync(const std::optional< Ice::ObjectPrx > &obj, std::string_view type, const Ice::Context &context=Ice::noExplicitContext) const
Adds an object to the object registry and explicitly specifies its type.
std::future< bool > isServerEnabledAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Checks if the server is enabled or disabled.
std::function< void()> addObjectWithTypeAsync(const std::optional< Ice::ObjectPrx > &obj, std::string_view type, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Adds an object to the object registry and explicitly specifies its type.
void updateApplicationWithoutRestart(const ApplicationUpdateDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Updates a deployed application.
std::int32_t getNodeProcessorSocketCount(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.
std::future< RegistryInfo > getRegistryInfoAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets the registry information of an IceGrid registry.
std::future< ServerState > getServerStateAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets the state of a server.
std::future< ServerInfo > getServerInfoAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets information about a server.
std::optional< Ice::ObjectPrx > getServerAdmin(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the admin object of a server.
std::function< void()> getNodeLoadAsync(std::string_view name, std::function< void(::IceGrid::LoadInfo)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the load averages of a node.
std::string getNodeHostname(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Get the hostname of a node.
std::optional< Ice::ObjectPrx > getNodeAdmin(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the admin object of an IceGrid node.
std::function< void()> pingNodeAsync(std::string_view name, std::function< void(bool)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Pings an IceGrid node to see if it is active.
std::future< std::optional< Ice::ObjectPrx > > getServerAdminAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the admin object of a server.
std::function< void()> updateApplicationAsync(const ApplicationUpdateDescriptor &descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Updates a deployed application.
std::future< ObjectInfo > getObjectInfoAsync(const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const
Gets the object info for the object.
std::function< void()> getRegistryAdminAsync(std::string_view name, std::function< void(std::optional< Ice::ObjectPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the admin object of an IceGrid registry.
NodeInfo getNodeInfo(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets the node information of a node.
std::function< void()> getAllObjectInfosAsync(std::string_view expr, std::function< void(::IceGrid::ObjectInfoSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the object info of all the registered objects whose stringified identities match the given expre...
std::future<::Ice::StringSeq > getAllRegistryNamesAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets the names of all the IceGrid registries currently registered.
void shutdown(const Ice::Context &context=Ice::noExplicitContext) const
Shuts down the IceGrid registry.
std::function< void()> getAdapterInfoAsync(std::string_view id, std::function< void(::IceGrid::AdapterInfoSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets adapter information for the replica group or adapter with the given ID.
RegistryInfo getRegistryInfo(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets the registry information of an IceGrid registry.
std::future< std::string > getNodeHostnameAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Get the hostname of a node.
std::function< void()> getNodeInfoAsync(std::string_view name, std::function< void(::IceGrid::NodeInfo)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the node information of a node.
bool pingNode(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Pings an IceGrid node to see if it is active.
std::function< void()> getAllAdapterIdsAsync(std::function< void(::Ice::StringSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the IDs of all adapters registered with IceGrid.
std::function< void()> getObjectInfoAsync(const ::Ice::Identity &id, std::function< void(::IceGrid::ObjectInfo)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the object info for the object.
std::future< bool > pingRegistryAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Pings an IceGrid registry to see if it is active.
std::future< std::optional< Ice::ObjectPrx > > getRegistryAdminAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the admin object of an IceGrid registry.
std::future< void > shutdownAsync(const Ice::Context &context=Ice::noExplicitContext) const
Shuts down the IceGrid registry.
std::function< void()> getDefaultApplicationDescriptorAsync(std::function< void(::IceGrid::ApplicationDescriptor)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the default application descriptor.
std::function< void()> getNodeAdminAsync(std::string_view name, std::function< void(std::optional< Ice::ObjectPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the admin object of an IceGrid node.
::Ice::StringSeq getAllRegistryNames(const Ice::Context &context=Ice::noExplicitContext) const
Gets the names of all the IceGrid registries currently registered.
void updateObject(const std::optional< Ice::ObjectPrx > &obj, const Ice::Context &context=Ice::noExplicitContext) const
Updates an object in the object registry.
std::future< std::string > getServerAdminCategoryAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets the category for server admin objects.
std::future< void > removeAdapterAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Removes the adapter with the given ID.
std::future< void > shutdownNodeAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Shuts down an IceGrid node.
ApplicationInfo getApplicationInfo(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets an application descriptor.
std::future< LoadInfo > getNodeLoadAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets the load averages of a node.
std::function< void()> getServerAdminAsync(std::string_view id, std::function< void(std::optional< Ice::ObjectPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the admin object of a server.
std::function< void()> getNodeProcessorSocketCountAsync(std::string_view name, std::function< void(std::int32_t)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.
std::future< void > sendSignalAsync(std::string_view id, std::string_view signal, const Ice::Context &context=Ice::noExplicitContext) const
Sends a signal to a server.
std::function< void()> getServerStateAsync(std::string_view id, std::function< void(::IceGrid::ServerState)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the state of a server.
std::function< void()> updateObjectAsync(const std::optional< Ice::ObjectPrx > &obj, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Updates an object in the object registry.
std::optional< Ice::ObjectPrx > getRegistryAdmin(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the admin object of an IceGrid registry.
std::function< void()> enableServerAsync(std::string_view id, bool enabled, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Enables or disables a server.
bool isServerEnabled(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Checks if the server is enabled or disabled.
std::future< void > enableServerAsync(std::string_view id, bool enabled, const Ice::Context &context=Ice::noExplicitContext) const
Enables or disables a server.
std::function< void()> syncApplicationWithoutRestartAsync(const ApplicationDescriptor &descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Synchronizes a deployed application.
std::function< void()> isServerEnabledAsync(std::string_view id, std::function< void(bool)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Checks if the server is enabled or disabled.
AdapterInfoSeq getAdapterInfo(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets adapter information for the replica group or adapter with the given ID.
void removeObject(const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const
Removes an object from the object registry.
std::function< void()> getAllServerIdsAsync(std::function< void(::Ice::StringSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the IDs of all the servers registered with IceGrid.
std::future<::Ice::StringSeq > getAllApplicationNamesAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets all the IceGrid applications currently registered.
void shutdownNode(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Shuts down an IceGrid node.
ServerInfo getServerInfo(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets information about a server.
std::string getServerAdminCategory(const Ice::Context &context=Ice::noExplicitContext) const
Gets the category for server admin objects.
std::function< void()> addApplicationAsync(const ApplicationDescriptor &descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Adds an application to IceGrid.
void addObject(const std::optional< Ice::ObjectPrx > &obj, const Ice::Context &context=Ice::noExplicitContext) const
Adds an object to the object registry.
AdminPrx & operator=(const AdminPrx &rhs) noexcept
Copy assignment operator.
bool pingRegistry(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Pings an IceGrid registry to see if it is active.
std::function< void()> removeAdapterAsync(std::string_view id, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Removes the adapter with the given ID.
::Ice::StringSeq getAllApplicationNames(const Ice::Context &context=Ice::noExplicitContext) const
Gets all the IceGrid applications currently registered.
std::future< void > stopServerAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Stops a server.
void updateApplication(const ApplicationUpdateDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Updates a deployed application.
std::function< void()> getAllNodeNamesAsync(std::function< void(::Ice::StringSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the names of all IceGrid nodes currently registered.
std::function< void()> instantiateServerAsync(std::string_view application, std::string_view node, const ServerInstanceDescriptor &desc, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Instantiates a server template.
std::future<::Ice::StringSeq > getAllServerIdsAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets the IDs of all the servers registered with IceGrid.
std::function< void()> shutdownNodeAsync(std::string_view name, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Shuts down an IceGrid node.
ServerState getServerState(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets the state of a server.
std::future< std::int32_t > getNodeProcessorSocketCountAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.
std::function< void()> getServerAdminCategoryAsync(std::function< void(std::string)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the category for server admin objects.
std::function< void()> shutdownRegistryAsync(std::string_view name, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Shuts down an IceGrid registry.
std::future< void > startServerAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Starts a server and waits for its activation.
std::future< void > syncApplicationAsync(const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Synchronizes a deployed application.
std::function< void()> updateApplicationWithoutRestartAsync(const ApplicationUpdateDescriptor &descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Updates a deployed application.
std::future< ApplicationInfo > getApplicationInfoAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets an application descriptor.
void removeAdapter(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Removes the adapter with the given ID.
std::future< void > shutdownRegistryAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Shuts down an IceGrid registry.
std::future< AdapterInfoSeq > getAdapterInfoAsync(std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const
Gets adapter information for the replica group or adapter with the given ID.
std::function< void()> getApplicationInfoAsync(std::string_view name, std::function< void(::IceGrid::ApplicationInfo)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets an application descriptor.
std::future< bool > pingNodeAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Pings an IceGrid node to see if it is active.
std::future< ApplicationDescriptor > getDefaultApplicationDescriptorAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets the default application descriptor.
std::function< void()> startServerAsync(std::string_view id, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Starts a server and waits for its activation.
std::future< void > addApplicationAsync(const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Adds an application to IceGrid.
void sendSignal(std::string_view id, std::string_view signal, const Ice::Context &context=Ice::noExplicitContext) const
Sends a signal to a server.
std::function< void()> pingRegistryAsync(std::string_view name, std::function< void(bool)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Pings an IceGrid registry to see if it is active.
std::future< void > updateApplicationWithoutRestartAsync(const ApplicationUpdateDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Updates a deployed application.
std::future< NodeInfo > getNodeInfoAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Gets the node information of a node.
AdminPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
ObjectInfoSeq getAllObjectInfos(std::string_view expr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the object info of all the registered objects whose stringified identities match the given expre...
std::future< void > updateApplicationAsync(const ApplicationUpdateDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Updates a deployed application.
void addObjectWithType(const std::optional< Ice::ObjectPrx > &obj, std::string_view type, const Ice::Context &context=Ice::noExplicitContext) const
Adds an object to the object registry and explicitly specifies its type.
std::function< void()> removeApplicationAsync(std::string_view name, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Removes an application from IceGrid.
AdminPrx(const AdminPrx &other) noexcept
Copy constructor.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
std::future< ObjectInfoSeq > getAllObjectInfosAsync(std::string_view expr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the object info of all the registered objects whose stringified identities match the given expre...
std::future<::Ice::StringSeq > getAllNodeNamesAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets the names of all IceGrid nodes currently registered.
AdminPrx(AdminPrx &&other) noexcept
Move constructor.
std::future< ObjectInfoSeq > getObjectInfosByTypeAsync(std::string_view type, const Ice::Context &context=Ice::noExplicitContext) const
Gets the object info of all the registered objects with a given type.
std::function< void()> stopServerAsync(std::string_view id, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Stops a server.
std::function< void()> getObjectInfosByTypeAsync(std::string_view type, std::function< void(::IceGrid::ObjectInfoSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the object info of all the registered objects with a given type.
ObjectInfo getObjectInfo(const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const
Gets the object info for the object.
void instantiateServer(std::string_view application, std::string_view node, const ServerInstanceDescriptor &desc, const Ice::Context &context=Ice::noExplicitContext) const
Instantiates a server template.
std::function< void()> getAllApplicationNamesAsync(std::function< void(::Ice::StringSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets all the IceGrid applications currently registered.
AdminPrx & operator=(AdminPrx &&rhs) noexcept
Move assignment operator.
std::function< void()> addObjectAsync(const std::optional< Ice::ObjectPrx > &obj, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Adds an object to the object registry.
std::future< void > addObjectAsync(const std::optional< Ice::ObjectPrx > &obj, const Ice::Context &context=Ice::noExplicitContext) const
Adds an object to the object registry.
std::function< void()> getNodeHostnameAsync(std::string_view name, std::function< void(std::string)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Get the hostname of a node.
std::future< void > removeObjectAsync(const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const
Removes an object from the object registry.
std::function< void()> getRegistryInfoAsync(std::string_view name, std::function< void(::IceGrid::RegistryInfo)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the registry information of an IceGrid registry.
std::function< void()> getServerInfoAsync(std::string_view id, std::function< void(::IceGrid::ServerInfo)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets information about a server.
std::function< void()> sendSignalAsync(std::string_view id, std::string_view signal, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Sends a signal to a server.
std::future< void > syncApplicationWithoutRestartAsync(const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Synchronizes a deployed application.
std::function< void()> getAllRegistryNamesAsync(std::function< void(::Ice::StringSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the names of all the IceGrid registries currently registered.
ApplicationDescriptor getDefaultApplicationDescriptor(const Ice::Context &context=Ice::noExplicitContext) const
Gets the default application descriptor.
std::future< void > instantiateServerAsync(std::string_view application, std::string_view node, const ServerInstanceDescriptor &desc, const Ice::Context &context=Ice::noExplicitContext) const
Instantiates a server template.
std::function< void()> getServerPidAsync(std::string_view id, std::function< void(std::int32_t)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the system process ID of a server.
void syncApplication(const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const
Synchronizes a deployed application.
void removeApplication(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Removes an application from IceGrid.
std::function< void()> syncApplicationAsync(const ApplicationDescriptor &descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Synchronizes a deployed application.
::Ice::StringSeq getAllServerIds(const Ice::Context &context=Ice::noExplicitContext) const
Gets the IDs of all the servers registered with IceGrid.
Provides administrative access to an IceGrid deployment.
std::function< void()> startUpdateAsync(std::function< void(std::int32_t)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Acquires an exclusive lock to start updating the registry applications.
std::optional< FileIteratorPrx > openNodeStdOut(std::string_view name, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a node stdout file for reading.
std::future< void > setObserversAsync(const std::optional< RegistryObserverPrx > ®istryObs, const std::optional< NodeObserverPrx > &nodeObs, const std::optional< ApplicationObserverPrx > &appObs, const std::optional< AdapterObserverPrx > &adptObs, const std::optional< ObjectObserverPrx > &objObs, const Ice::Context &context=Ice::noExplicitContext) const
Sets the observer proxies that receive notifications when the state of the registry or nodes changes.
std::function< void()> openServerStdErrAsync(std::string_view id, std::int32_t count, std::function< void(std::optional<::IceGrid::FileIteratorPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Opens a server stderr file for reading.
std::function< void()> openServerLogAsync(std::string_view id, std::string_view path, std::int32_t count, std::function< void(std::optional<::IceGrid::FileIteratorPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Opens a server log file for reading.
std::future< std::optional< FileIteratorPrx > > openNodeStdOutAsync(std::string_view name, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a node stdout file for reading.
std::optional< FileIteratorPrx > openNodeStdErr(std::string_view name, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a node stderr file for reading.
std::future< std::optional< FileIteratorPrx > > openRegistryStdErrAsync(std::string_view name, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a registry stderr file for reading.
AdminSessionPrx & operator=(const AdminSessionPrx &rhs) noexcept
Copy assignment operator.
std::future< std::optional< FileIteratorPrx > > openNodeStdErrAsync(std::string_view name, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a node stderr file for reading.
std::future< void > finishUpdateAsync(const Ice::Context &context=Ice::noExplicitContext) const
Finishes updating the registry and releases the exclusive lock.
std::future< std::optional< FileIteratorPrx > > openServerStdOutAsync(std::string_view id, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a server stdout file for reading.
AdminSessionPrx & operator=(AdminSessionPrx &&rhs) noexcept
Move assignment operator.
std::optional< AdminPrx > getAdmin(const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the IceGrid admin object.
std::function< void()> keepAliveAsync(std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Keeps the session alive.
void setObserversByIdentity(const ::Ice::Identity ®istryObs, const ::Ice::Identity &nodeObs, const ::Ice::Identity &appObs, const ::Ice::Identity &adptObs, const ::Ice::Identity &objObs, const Ice::Context &context=Ice::noExplicitContext) const
Sets the observer identities that receive notifications when the state of the registry or nodes chang...
std::optional< FileIteratorPrx > openServerLog(std::string_view id, std::string_view path, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a server log file for reading.
std::future< std::optional< AdminPrx > > getAdminAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the IceGrid admin object.
void setObservers(const std::optional< RegistryObserverPrx > ®istryObs, const std::optional< NodeObserverPrx > &nodeObs, const std::optional< ApplicationObserverPrx > &appObs, const std::optional< AdapterObserverPrx > &adptObs, const std::optional< ObjectObserverPrx > &objObs, const Ice::Context &context=Ice::noExplicitContext) const
Sets the observer proxies that receive notifications when the state of the registry or nodes changes.
std::future< std::optional< FileIteratorPrx > > openServerLogAsync(std::string_view id, std::string_view path, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a server log file for reading.
std::function< void()> openRegistryStdErrAsync(std::string_view name, std::int32_t count, std::function< void(std::optional<::IceGrid::FileIteratorPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Opens a registry stderr file for reading.
AdminSessionPrx(AdminSessionPrx &&other) noexcept
Move constructor.
std::future< std::string > getReplicaNameAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets the name of the registry replica hosting this session.
void keepAlive(const Ice::Context &context=Ice::noExplicitContext) const
Keeps the session alive.
AdminSessionPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
std::function< void()> openNodeStdOutAsync(std::string_view name, std::int32_t count, std::function< void(std::optional<::IceGrid::FileIteratorPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Opens a node stdout file for reading.
std::function< void()> setObserversAsync(const std::optional< RegistryObserverPrx > ®istryObs, const std::optional< NodeObserverPrx > &nodeObs, const std::optional< ApplicationObserverPrx > &appObs, const std::optional< AdapterObserverPrx > &adptObs, const std::optional< ObjectObserverPrx > &objObs, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Sets the observer proxies that receive notifications when the state of the registry or nodes changes.
std::function< void()> finishUpdateAsync(std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Finishes updating the registry and releases the exclusive lock.
std::future< void > setObserversByIdentityAsync(const ::Ice::Identity ®istryObs, const ::Ice::Identity &nodeObs, const ::Ice::Identity &appObs, const ::Ice::Identity &adptObs, const ::Ice::Identity &objObs, const Ice::Context &context=Ice::noExplicitContext) const
Sets the observer identities that receive notifications when the state of the registry or nodes chang...
std::future< std::optional< FileIteratorPrx > > openRegistryStdOutAsync(std::string_view name, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a registry stdout file for reading.
std::optional< FileIteratorPrx > openServerStdErr(std::string_view id, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a server stderr file for reading.
std::future< std::optional< FileIteratorPrx > > openServerStdErrAsync(std::string_view id, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a server stderr file for reading.
std::optional< Ice::ObjectPrx > getAdminCallbackTemplate(const Ice::Context &context=Ice::noExplicitContext) const
Gets a "template" proxy for admin callback objects.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
std::string getReplicaName(const Ice::Context &context=Ice::noExplicitContext) const
Gets the name of the registry replica hosting this session.
std::function< void()> openServerStdOutAsync(std::string_view id, std::int32_t count, std::function< void(std::optional<::IceGrid::FileIteratorPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Opens a server stdout file for reading.
std::future< std::int32_t > startUpdateAsync(const Ice::Context &context=Ice::noExplicitContext) const
Acquires an exclusive lock to start updating the registry applications.
std::function< void()> openNodeStdErrAsync(std::string_view name, std::int32_t count, std::function< void(std::optional<::IceGrid::FileIteratorPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Opens a node stderr file for reading.
std::function< void()> getAdminAsync(std::function< void(std::optional<::IceGrid::AdminPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets a proxy to the IceGrid admin object.
std::function< void()> getAdminCallbackTemplateAsync(std::function< void(std::optional< Ice::ObjectPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets a "template" proxy for admin callback objects.
std::optional< FileIteratorPrx > openRegistryStdOut(std::string_view name, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a registry stdout file for reading.
std::optional< FileIteratorPrx > openServerStdOut(std::string_view id, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a server stdout file for reading.
std::function< void()> openRegistryStdOutAsync(std::string_view name, std::int32_t count, std::function< void(std::optional<::IceGrid::FileIteratorPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Opens a registry stdout file for reading.
AdminSessionPrx(const AdminSessionPrx &other) noexcept
Copy constructor.
void finishUpdate(const Ice::Context &context=Ice::noExplicitContext) const
Finishes updating the registry and releases the exclusive lock.
std::optional< FileIteratorPrx > openRegistryStdErr(std::string_view name, std::int32_t count, const Ice::Context &context=Ice::noExplicitContext) const
Opens a registry stderr file for reading.
std::function< void()> setObserversByIdentityAsync(const ::Ice::Identity ®istryObs, const ::Ice::Identity &nodeObs, const ::Ice::Identity &appObs, const ::Ice::Identity &adptObs, const ::Ice::Identity &objObs, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Sets the observer identities that receive notifications when the state of the registry or nodes chang...
std::future< std::optional< Ice::ObjectPrx > > getAdminCallbackTemplateAsync(const Ice::Context &context=Ice::noExplicitContext) const
Gets a "template" proxy for admin callback objects.
std::future< void > keepAliveAsync(const Ice::Context &context=Ice::noExplicitContext) const
Keeps the session alive.
std::function< void()> getReplicaNameAsync(std::function< void(std::string)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Gets the name of the registry replica hosting this session.
std::int32_t startUpdate(const Ice::Context &context=Ice::noExplicitContext) const
Acquires an exclusive lock to start updating the registry applications.
Represents an administrative session between an admin tool and an IceGrid registry.
std::function< void()> applicationInitAsync(std::int32_t serial, const ApplicationInfoSeq &applications, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial application infos to the observer.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
std::future< void > applicationUpdatedAsync(std::int32_t serial, const ApplicationUpdateInfo &desc, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that an application was updated.
void applicationInit(std::int32_t serial, const ApplicationInfoSeq &applications, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial application infos to the observer.
std::future< void > applicationAddedAsync(std::int32_t serial, const ApplicationInfo &desc, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that an application was added.
std::future< void > applicationRemovedAsync(std::int32_t serial, std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that an application was removed.
std::function< void()> applicationRemovedAsync(std::int32_t serial, std::string_view name, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that an application was removed.
ApplicationObserverPrx & operator=(const ApplicationObserverPrx &rhs) noexcept
Copy assignment operator.
void applicationAdded(std::int32_t serial, const ApplicationInfo &desc, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that an application was added.
ApplicationObserverPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
std::future< void > applicationInitAsync(std::int32_t serial, const ApplicationInfoSeq &applications, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial application infos to the observer.
std::function< void()> applicationAddedAsync(std::int32_t serial, const ApplicationInfo &desc, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that an application was added.
void applicationUpdated(std::int32_t serial, const ApplicationUpdateInfo &desc, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that an application was updated.
ApplicationObserverPrx & operator=(ApplicationObserverPrx &&rhs) noexcept
Move assignment operator.
void applicationRemoved(std::int32_t serial, std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that an application was removed.
std::function< void()> applicationUpdatedAsync(std::int32_t serial, const ApplicationUpdateInfo &desc, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that an application was updated.
ApplicationObserverPrx(ApplicationObserverPrx &&other) noexcept
Move constructor.
ApplicationObserverPrx(const ApplicationObserverPrx &other) noexcept
Copy constructor.
virtual void applicationInit(std::int32_t serial, ApplicationInfoSeq applications, const Ice::Current ¤t)=0
Provides the initial application infos to the observer.
virtual void applicationAdded(std::int32_t serial, ApplicationInfo desc, const Ice::Current ¤t)=0
Notifies the observer that an application was added.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
std::vector< std::string > ice_ids(const Ice::Current ¤t) const override
Gets the Slice interfaces supported by this object as a list of type IDs.
virtual void applicationUpdated(std::int32_t serial, ApplicationUpdateInfo desc, const Ice::Current ¤t)=0
Notifies the observer that an application was updated.
virtual void applicationRemoved(std::int32_t serial, std::string name, const Ice::Current ¤t)=0
Notifies the observer that an application was removed.
std::string ice_id(const Ice::Current ¤t) const override
Gets the type ID of the most-derived Slice interface supported by this object.
void dispatch(Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override
Dispatches an incoming request to one of the member functions of this generated class,...
ApplicationObserverPrx ProxyType
The associated proxy type.
std::future< std::tuple< bool, ::Ice::StringSeq > > readAsync(std::int32_t size, const Ice::Context &context=Ice::noExplicitContext) const
Read lines from the log file.
FileIteratorPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
FileIteratorPrx(FileIteratorPrx &&other) noexcept
Move constructor.
std::function< void()> readAsync(std::int32_t size, std::function< void(bool, ::Ice::StringSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Read lines from the log file.
bool read(std::int32_t size, ::Ice::StringSeq &lines, const Ice::Context &context=Ice::noExplicitContext) const
Read lines from the log file.
std::future< void > destroyAsync(const Ice::Context &context=Ice::noExplicitContext) const
Destroys the iterator.
FileIteratorPrx & operator=(FileIteratorPrx &&rhs) noexcept
Move assignment operator.
FileIteratorPrx(const FileIteratorPrx &other) noexcept
Copy constructor.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
FileIteratorPrx & operator=(const FileIteratorPrx &rhs) noexcept
Copy assignment operator.
void destroy(const Ice::Context &context=Ice::noExplicitContext) const
Destroys the iterator.
std::function< void()> destroyAsync(std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Destroys the iterator.
Iterates over an IceGrid log file.
NodeObserverPrx & operator=(const NodeObserverPrx &rhs) noexcept
Copy assignment operator.
std::future< void > updateServerAsync(std::string_view node, const ServerDynamicInfo &updatedInfo, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that the state of a server changed.
std::function< void()> nodeUpAsync(const NodeDynamicInfo &node, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a node came up.
std::function< void()> updateAdapterAsync(std::string_view node, const AdapterDynamicInfo &updatedInfo, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that the state of an object adapter changed.
NodeObserverPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
std::future< void > nodeInitAsync(const NodeDynamicInfoSeq &nodes, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial state of the nodes to the observer.
void nodeInit(const NodeDynamicInfoSeq &nodes, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial state of the nodes to the observer.
void nodeUp(const NodeDynamicInfo &node, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a node came up.
std::future< void > nodeDownAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a node went down.
std::future< void > nodeUpAsync(const NodeDynamicInfo &node, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a node came up.
NodeObserverPrx & operator=(NodeObserverPrx &&rhs) noexcept
Move assignment operator.
std::function< void()> nodeInitAsync(const NodeDynamicInfoSeq &nodes, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial state of the nodes to the observer.
std::future< void > updateAdapterAsync(std::string_view node, const AdapterDynamicInfo &updatedInfo, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that the state of an object adapter changed.
void updateAdapter(std::string_view node, const AdapterDynamicInfo &updatedInfo, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that the state of an object adapter changed.
NodeObserverPrx(const NodeObserverPrx &other) noexcept
Copy constructor.
std::function< void()> updateServerAsync(std::string_view node, const ServerDynamicInfo &updatedInfo, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that the state of a server changed.
std::function< void()> nodeDownAsync(std::string_view name, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a node went down.
void nodeDown(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a node went down.
NodeObserverPrx(NodeObserverPrx &&other) noexcept
Move constructor.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
void updateServer(std::string_view node, const ServerDynamicInfo &updatedInfo, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that the state of a server changed.
Monitors changes to the state of the nodes.
virtual void nodeUp(NodeDynamicInfo node, const Ice::Current ¤t)=0
Notifies the observer that a node came up.
std::string ice_id(const Ice::Current ¤t) const override
Gets the type ID of the most-derived Slice interface supported by this object.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
void dispatch(Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override
Dispatches an incoming request to one of the member functions of this generated class,...
virtual void nodeInit(NodeDynamicInfoSeq nodes, const Ice::Current ¤t)=0
Provides the initial state of the nodes to the observer.
NodeObserverPrx ProxyType
The associated proxy type.
virtual void nodeDown(std::string name, const Ice::Current ¤t)=0
Notifies the observer that a node went down.
std::vector< std::string > ice_ids(const Ice::Current ¤t) const override
Gets the Slice interfaces supported by this object as a list of type IDs.
virtual void updateAdapter(std::string node, AdapterDynamicInfo updatedInfo, const Ice::Current ¤t)=0
Notifies the observer that the state of an object adapter changed.
virtual void updateServer(std::string node, ServerDynamicInfo updatedInfo, const Ice::Current ¤t)=0
Notifies the observer that the state of a server changed.
Monitors changes to the state of the nodes.
std::function< void()> objectInitAsync(const ObjectInfoSeq &objects, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial list of well-known objects to the observer.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
void objectRemoved(const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a well-known object was removed.
ObjectObserverPrx & operator=(const ObjectObserverPrx &rhs) noexcept
Copy assignment operator.
std::function< void()> objectRemovedAsync(const ::Ice::Identity &id, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a well-known object was removed.
void objectAdded(const ObjectInfo &info, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a well-known object was added.
ObjectObserverPrx(ObjectObserverPrx &&other) noexcept
Move constructor.
std::future< void > objectRemovedAsync(const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a well-known object was removed.
std::future< void > objectInitAsync(const ObjectInfoSeq &objects, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial list of well-known objects to the observer.
ObjectObserverPrx & operator=(ObjectObserverPrx &&rhs) noexcept
Move assignment operator.
std::future< void > objectUpdatedAsync(const ObjectInfo &info, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a well-known object was updated.
std::future< void > objectAddedAsync(const ObjectInfo &info, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a well-known object was added.
std::function< void()> objectUpdatedAsync(const ObjectInfo &info, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a well-known object was updated.
std::function< void()> objectAddedAsync(const ObjectInfo &info, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a well-known object was added.
ObjectObserverPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
void objectUpdated(const ObjectInfo &info, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a well-known object was updated.
ObjectObserverPrx(const ObjectObserverPrx &other) noexcept
Copy constructor.
void objectInit(const ObjectInfoSeq &objects, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial list of well-known objects to the observer.
Monitors well-known objects that are added, updated or removed using AdminPrx.
std::string ice_id(const Ice::Current ¤t) const override
Gets the type ID of the most-derived Slice interface supported by this object.
std::vector< std::string > ice_ids(const Ice::Current ¤t) const override
Gets the Slice interfaces supported by this object as a list of type IDs.
virtual void objectInit(ObjectInfoSeq objects, const Ice::Current ¤t)=0
Provides the initial list of well-known objects to the observer.
void dispatch(Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override
Dispatches an incoming request to one of the member functions of this generated class,...
virtual void objectRemoved(::Ice::Identity id, const Ice::Current ¤t)=0
Notifies the observer that a well-known object was removed.
virtual void objectUpdated(ObjectInfo info, const Ice::Current ¤t)=0
Notifies the observer that a well-known object was updated.
ObjectObserverPrx ProxyType
The associated proxy type.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
virtual void objectAdded(ObjectInfo info, const Ice::Current ¤t)=0
Notifies the observer that a well-known object was added.
Monitors well-known objects that are added, updated or removed using AdminPrx.
std::future< void > registryUpAsync(const RegistryInfo ®istryReplica, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a registry replica came up.
RegistryObserverPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
std::future< void > registryDownAsync(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a registry replica went down.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
void registryDown(std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a registry replica went down.
RegistryObserverPrx(const RegistryObserverPrx &other) noexcept
Copy constructor.
void registryInit(const RegistryInfoSeq ®istries, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial state of the registries to the observer.
std::function< void()> registryInitAsync(const RegistryInfoSeq ®istries, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial state of the registries to the observer.
RegistryObserverPrx & operator=(RegistryObserverPrx &&rhs) noexcept
Move assignment operator.
std::future< void > registryInitAsync(const RegistryInfoSeq ®istries, const Ice::Context &context=Ice::noExplicitContext) const
Provides the initial state of the registries to the observer.
std::function< void()> registryDownAsync(std::string_view name, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a registry replica went down.
std::function< void()> registryUpAsync(const RegistryInfo ®istryReplica, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a registry replica came up.
void registryUp(const RegistryInfo ®istryReplica, const Ice::Context &context=Ice::noExplicitContext) const
Notifies the observer that a registry replica came up.
RegistryObserverPrx & operator=(const RegistryObserverPrx &rhs) noexcept
Copy assignment operator.
RegistryObserverPrx(RegistryObserverPrx &&other) noexcept
Move constructor.
Monitors changes to the state of the registries.
RegistryObserverPrx ProxyType
The associated proxy type.
virtual void registryInit(RegistryInfoSeq registries, const Ice::Current ¤t)=0
Provides the initial state of the registries to the observer.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
std::vector< std::string > ice_ids(const Ice::Current ¤t) const override
Gets the Slice interfaces supported by this object as a list of type IDs.
std::string ice_id(const Ice::Current ¤t) const override
Gets the type ID of the most-derived Slice interface supported by this object.
virtual void registryUp(RegistryInfo registryReplica, const Ice::Current ¤t)=0
Notifies the observer that a registry replica came up.
void dispatch(Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override
Dispatches an incoming request to one of the member functions of this generated class,...
virtual void registryDown(std::string name, const Ice::Current ¤t)=0
Notifies the observer that a registry replica went down.
Monitors changes to the state of the registries.
Represents the main entry point into the IceGrid registry service.
Represents a request received by a connection.
ObjectPrx & operator=(const ObjectPrx &rhs) noexcept=default
Copy assignment operator.
The base class for all Ice proxies.
Object() noexcept=default
Default constructor.
The base class for servants.
Represents the response to an incoming request.
Provides typed proxy functions.
Communicate through firewalls and across NATs.
std::shared_ptr< AdminSession > AdminSessionPtr
A shared pointer to an AdminSession.
std::shared_ptr< ApplicationObserver > ApplicationObserverPtr
A shared pointer to an ApplicationObserver.
std::ostream & operator<<(std::ostream &os, ServerState value)
Outputs the enumerator name or underlying value of a ServerState to a stream.
std::vector< AdapterDynamicInfo > AdapterDynamicInfoSeq
A sequence of AdapterDynamicInfo.
std::shared_ptr< AdapterObserver > AdapterObserverPtr
A shared pointer to an AdapterObserver.
std::vector< AdapterInfo > AdapterInfoSeq
A sequence of AdapterInfo.
std::vector< NodeDynamicInfo > NodeDynamicInfoSeq
A sequence of NodeDynamicInfo.
ServerState
Represents the state of a server.
@ Deactivating
The server is being deactivated.
@ Inactive
The server is not running.
@ Active
The server is running.
@ Destroying
The server is being destroyed.
@ ActivationTimedOut
The server activation timed out.
@ Destroyed
The server is destroyed.
@ Activating
The server is being activated and will change to the active state when the registered server object a...
std::shared_ptr< FileIterator > FileIteratorPtr
A shared pointer to a FileIterator.
std::vector< RegistryInfo > RegistryInfoSeq
A sequence of RegistryInfo.
std::shared_ptr< ServerDescriptor > ServerDescriptorPtr
A shared pointer to a ServerDescriptor.
std::shared_ptr< RegistryObserver > RegistryObserverPtr
A shared pointer to a RegistryObserver.
std::map< std::string, std::optional< Ice::ObjectPrx > > StringObjectProxyDict
A dictionary of string to proxies.
std::shared_ptr< NodeObserver > NodeObserverPtr
A shared pointer to a NodeObserver.
std::shared_ptr< Admin > AdminPtr
A shared pointer to an Admin.
std::shared_ptr< ObjectObserver > ObjectObserverPtr
A shared pointer to an ObjectObserver.
std::vector< ServerDynamicInfo > ServerDynamicInfoSeq
A sequence of ServerDynamicInfo.
std::vector< ObjectInfo > ObjectInfoSeq
A sequence of ObjectInfo.
std::vector< ApplicationInfo > ApplicationInfoSeq
A sequence of ApplicationInfo.
Deploy and manage Ice servers.
std::shared_ptr< Communicator > CommunicatorPtr
A shared pointer to a Communicator.
const Context noExplicitContext
Marker value used to indicate that no explicit request context was passed to a proxy invocation.
int StreamHelperCategory
The stream helper category allows to select a StreamHelper specialization for a specific category of ...
std::vector< std::string > StringSeq
A sequence of strings.
constexpr StreamHelperCategory StreamHelperCategoryStruct
Generated struct types.
std::map< std::string, std::string, std::less<> > Context
Represents additional information carried by an Ice request.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
std::tuple< const std::string &, const std::optional< Ice::ObjectPrx > & > ice_tuple() const
Creates a tuple with all the fields of this struct.
std::optional< Ice::ObjectPrx > proxy
The direct proxy containing the adapter endpoints. This proxy is never null.
std::string id
The id of the adapter.
Dynamic information about the state of an adapter.
std::string replicaGroupId
The replica group ID of the object adapter, or empty if the adapter doesn't belong to a replica group...
std::string id
The ID of the adapter.
std::tuple< const std::string &, const std::optional< Ice::ObjectPrx > &, const std::string & > ice_tuple() const
Creates a tuple with all the fields of this struct.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
std::optional< Ice::ObjectPrx > proxy
A dummy direct proxy that contains the adapter endpoints.
Information about an adapter registered with the IceGrid registry.
Describes an application.
std::int64_t updateTime
The last update time.
std::int64_t createTime
The creation time.
std::string updateUser
The user who updated the application.
std::string createUser
The user who created the application.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
::IceGrid::ApplicationDescriptor descriptor
The application descriptor.
std::tuple< const std::string &, const std::int64_t &, const std::string &, const std::int64_t &, const std::string &, const std::int32_t &, const ::IceGrid::ApplicationDescriptor & > ice_tuple() const
Creates a tuple with all the fields of this struct.
std::string uuid
Unique application identifier.
std::int32_t revision
The application revision number.
Information about an IceGrid application.
An application update descriptor to describe the updates to apply to a deployed application.
::IceGrid::ApplicationUpdateDescriptor descriptor
The update descriptor.
std::int32_t revision
The application revision number.
std::tuple< const std::int64_t &, const std::string &, const std::int32_t &, const ::IceGrid::ApplicationUpdateDescriptor & > ice_tuple() const
Creates a tuple with all the fields of this struct.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
std::int64_t updateTime
The update time.
std::string updateUser
The user who updated the application.
Information about updates to an IceGrid application.
float avg5
The load average over the past 5 minutes.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
std::tuple< const float &, const float &, const float & > ice_tuple() const
Creates a tuple with all the fields of this struct.
float avg15
The load average over the past 15 minutes.
float avg1
The load average over the past minute.
Information about the load of a node.
::IceGrid::NodeInfo info
Some static information about the node.
::IceGrid::AdapterDynamicInfoSeq adapters
The dynamic information of the adapters deployed on this node.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
std::tuple< const ::IceGrid::NodeInfo &, const ::IceGrid::ServerDynamicInfoSeq &, const ::IceGrid::AdapterDynamicInfoSeq & > ice_tuple() const
Creates a tuple with all the fields of this struct.
::IceGrid::ServerDynamicInfoSeq servers
The dynamic information of the servers deployed on this node.
Dynamic information about the state of a node.
std::string release
The operation system release level.
std::tuple< const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, const std::int32_t &, const std::string & > ice_tuple() const
Creates a tuple with all the fields of this struct.
std::string machine
The machine hardware type.
std::string hostname
The network name of the host running this node.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
std::string os
The operating system name.
std::string version
The operation system version.
std::string name
The name of the node.
std::int32_t nProcessors
The number of processor threads on the node.
std::string dataDir
The path to the node data directory.
Information about an IceGrid node.
std::tuple< const std::optional< Ice::ObjectPrx > &, const std::string & > ice_tuple() const
Creates a tuple with all the fields of this struct.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
std::string type
The type of the object.
std::optional< Ice::ObjectPrx > proxy
The proxy of the object.
Information about an Ice well-known object.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
std::tuple< const std::string &, const std::string & > ice_tuple() const
Creates a tuple with all the fields of this struct.
std::string name
The name of the registry.
std::string hostname
The network name of the host running this registry.
Information about an IceGrid registry replica.
::IceGrid::ServerState state
The state of the server.
std::string id
The ID of the server.
std::int32_t pid
The process ID of the server.
std::tuple< const std::string &, const ::IceGrid::ServerState &, const std::int32_t &, const bool & > ice_tuple() const
Creates a tuple with all the fields of this struct.
bool enabled
Indicates whether the server is enabled.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
Dynamic information about the state of a server.
::IceGrid::ServerDescriptorPtr descriptor
The server descriptor.
std::string application
The application to which this server belongs.
std::string uuid
The application UUID.
void ice_printFields(std::ostream &os) const
Outputs the name and value of each field of this instance to the stream.
std::tuple< const std::string &, const std::string &, const std::int32_t &, const std::string &, const ::IceGrid::ServerDescriptorPtr &, const std::string & > ice_tuple() const
Creates a tuple with all the fields of this struct.
std::string sessionId
The ID of the session which allocated the server.
std::string node
The IceGrid node where this server is deployed.
std::int32_t revision
The application revision.
Information about a server managed by an IceGrid node.
Describes a template instantiation that creates a server.
Provides information about an incoming request being dispatched.
Represents the identity of an Ice object.