Provides administrative access to an IceGrid deployment. More...
#include <IceGrid/IceGrid.h>
Public Member Functions | |
AdminPrx (AdminPrx &&other) noexcept | |
Move constructor. | |
AdminPrx (const AdminPrx &other) noexcept | |
Copy constructor. | |
AdminPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
void | addApplication (const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Adds an application to IceGrid. | |
std::future< void > | addApplicationAsync (const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Adds an application to IceGrid. | |
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. | |
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()> | 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. | |
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::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::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 | enableServer (std::string_view id, bool enabled, const Ice::Context &context=Ice::noExplicitContext) const |
Enables or disables a server. | |
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()> | 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. | |
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. | |
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()> | 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. | |
::Ice::StringSeq | getAllAdapterIds (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the IDs of all adapters registered with IceGrid. | |
std::future<::Ice::StringSeq > | getAllAdapterIdsAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the IDs of all adapters registered with IceGrid. | |
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. | |
::Ice::StringSeq | getAllApplicationNames (const Ice::Context &context=Ice::noExplicitContext) const |
Gets all the IceGrid applications currently registered. | |
std::future<::Ice::StringSeq > | getAllApplicationNamesAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Gets all the IceGrid applications currently registered. | |
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. | |
::Ice::StringSeq | getAllNodeNames (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the names of all IceGrid nodes currently registered. | |
std::future<::Ice::StringSeq > | getAllNodeNamesAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the names of all IceGrid nodes currently registered. | |
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. | |
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 expression. | |
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 expression. | |
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 expression. | |
::Ice::StringSeq | getAllRegistryNames (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the names of all the IceGrid registries currently registered. | |
std::future<::Ice::StringSeq > | getAllRegistryNamesAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the names of all the IceGrid registries currently registered. | |
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. | |
::Ice::StringSeq | getAllServerIds (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the IDs of all the servers registered with IceGrid. | |
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()> | 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. | |
ApplicationInfo | getApplicationInfo (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Gets an application descriptor. | |
std::future< ApplicationInfo > | getApplicationInfoAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Gets an application descriptor. | |
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. | |
ApplicationDescriptor | getDefaultApplicationDescriptor (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the default application descriptor. | |
std::future< ApplicationDescriptor > | getDefaultApplicationDescriptorAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the default application descriptor. | |
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::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::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::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. | |
std::string | getNodeHostname (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Get the hostname of a node. | |
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()> | 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. | |
NodeInfo | getNodeInfo (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the node information of a node. | |
std::future< NodeInfo > | getNodeInfoAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the node information 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. | |
LoadInfo | getNodeLoad (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the load averages of a node. | |
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()> | 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::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< 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()> | 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. | |
ObjectInfo | getObjectInfo (const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the object info for the object. | |
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()> | 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. | |
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. | |
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()> | 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. | |
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::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::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. | |
RegistryInfo | getRegistryInfo (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the registry information of an IceGrid registry. | |
std::future< RegistryInfo > | getRegistryInfoAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the registry information of an IceGrid 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::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::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()> | 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::string | getServerAdminCategory (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the category for server admin objects. | |
std::future< std::string > | getServerAdminCategoryAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Gets the category for server admin objects. | |
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. | |
ServerInfo | getServerInfo (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Gets information about a server. | |
std::future< ServerInfo > | getServerInfoAsync (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Gets information about a server. | |
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::int32_t | getServerPid (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the system process ID of a server. | |
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()> | 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. | |
ServerState | getServerState (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the state of a server. | |
std::future< ServerState > | getServerStateAsync (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Gets the state of 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. | |
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::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()> | 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. | |
bool | isServerEnabled (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Checks if the server is enabled or disabled. | |
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()> | 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. | |
AdminPrx & | operator= (AdminPrx &&rhs) noexcept |
Move assignment operator. | |
AdminPrx & | operator= (const AdminPrx &rhs) noexcept |
Copy assignment operator. | |
bool | pingNode (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Pings an IceGrid node to see if it is active. | |
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::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. | |
bool | pingRegistry (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Pings an IceGrid registry to see if it is active. | |
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::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. | |
void | removeAdapter (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Removes the adapter with the given ID. | |
std::future< void > | removeAdapterAsync (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Removes the adapter with the given ID. | |
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. | |
void | removeApplication (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Removes an application from IceGrid. | |
std::future< void > | removeApplicationAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Removes an application from IceGrid. | |
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. | |
void | removeObject (const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const |
Removes an object from the object registry. | |
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()> | 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. | |
void | sendSignal (std::string_view id, std::string_view signal, const Ice::Context &context=Ice::noExplicitContext) const |
Sends a signal to a server. | |
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()> | 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. | |
void | shutdown (const Ice::Context &context=Ice::noExplicitContext) const |
Shuts down the IceGrid registry. | |
std::future< void > | shutdownAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Shuts down the IceGrid registry. | |
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. | |
void | shutdownNode (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Shuts down an IceGrid node. | |
std::future< void > | shutdownNodeAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Shuts down an IceGrid node. | |
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. | |
void | shutdownRegistry (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Shuts down an IceGrid registry. | |
std::future< void > | shutdownRegistryAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Shuts down an IceGrid registry. | |
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. | |
void | startServer (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Starts a server and waits for its activation. | |
std::future< void > | startServerAsync (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Starts a server and waits for its activation. | |
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. | |
void | stopServer (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Stops a server. | |
std::future< void > | stopServerAsync (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Stops a server. | |
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. | |
void | syncApplication (const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Synchronizes a deployed application. | |
std::future< void > | syncApplicationAsync (const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Synchronizes a deployed application. | |
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. | |
void | syncApplicationWithoutRestart (const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Synchronizes a deployed application. | |
std::future< void > | syncApplicationWithoutRestartAsync (const ApplicationDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Synchronizes a deployed application. | |
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. | |
void | updateApplication (const ApplicationUpdateDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Updates a deployed application. | |
std::future< void > | updateApplicationAsync (const ApplicationUpdateDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Updates a deployed application. | |
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. | |
void | updateApplicationWithoutRestart (const ApplicationUpdateDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Updates a deployed application. | |
std::future< void > | updateApplicationWithoutRestartAsync (const ApplicationUpdateDescriptor &descriptor, const Ice::Context &context=Ice::noExplicitContext) const |
Updates 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. | |
void | updateObject (const std::optional< Ice::ObjectPrx > &obj, const Ice::Context &context=Ice::noExplicitContext) const |
Updates an object in the object 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::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. | |
Public Member Functions inherited from Ice::Proxy< AdminPrx, Ice::ObjectPrx > | |
AdminPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
AdminPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
AdminPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
AdminPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
AdminPrx | ice_compress (bool b) const |
Creates a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints. | |
AdminPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
AdminPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
AdminPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
AdminPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
AdminPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
AdminPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
AdminPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
AdminPrx | ice_fixed (ConnectionPtr connection) const |
Creates a proxy that is identical to this proxy, except it's a fixed proxy bound to the given connection. | |
AdminPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
AdminPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
AdminPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
AdminPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
AdminPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
AdminPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const AdminPrx * | operator-> () const noexcept |
The arrow operator. |
Static Public Member Functions | |
static const char * | ice_staticId () noexcept |
Gets the type ID of the associated Slice interface. |