Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceGrid::AsyncAdmin Class Referenceabstract

Provides administrative access to an IceGrid deployment. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::AsyncAdmin:

Public Types

using ProxyType = AdminPrx
 The associated proxy type.

Public Member Functions

virtual void addApplicationAsync (ApplicationDescriptor descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Adds an application to IceGrid.
virtual void addObjectAsync (std::optional< Ice::ObjectPrx > obj, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Adds an object to the object registry.
virtual void addObjectWithTypeAsync (std::optional< Ice::ObjectPrx > obj, std::string type, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Adds an object to the object registry and explicitly specifies its type.
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, based on the operation name carried by the request.
virtual void enableServerAsync (std::string id, bool enabled, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Enables or disables a server.
virtual void getAdapterInfoAsync (std::string id, std::function< void(const AdapterInfoSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets adapter information for the replica group or adapter with the given ID.
virtual void getAllAdapterIdsAsync (std::function< void(const ::Ice::StringSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the IDs of all adapters registered with IceGrid.
virtual void getAllApplicationNamesAsync (std::function< void(const ::Ice::StringSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets all the IceGrid applications currently registered.
virtual void getAllNodeNamesAsync (std::function< void(const ::Ice::StringSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the names of all IceGrid nodes currently registered.
virtual void getAllObjectInfosAsync (std::string expr, std::function< void(const ObjectInfoSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the object info of all the registered objects whose stringified identities match the given expression.
virtual void getAllRegistryNamesAsync (std::function< void(const ::Ice::StringSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the names of all the IceGrid registries currently registered.
virtual void getAllServerIdsAsync (std::function< void(const ::Ice::StringSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the IDs of all the servers registered with IceGrid.
virtual void getApplicationInfoAsync (std::string name, std::function< void(const ApplicationInfo &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets an application descriptor.
virtual void getDefaultApplicationDescriptorAsync (std::function< void(const ApplicationDescriptor &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the default application descriptor.
virtual void getNodeAdminAsync (std::string name, std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets a proxy to the admin object of an IceGrid node.
virtual void getNodeHostnameAsync (std::string name, std::function< void(std::string_view returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Get the hostname of a node.
virtual void getNodeInfoAsync (std::string name, std::function< void(const NodeInfo &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the node information of a node.
virtual void getNodeLoadAsync (std::string name, std::function< void(const LoadInfo &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the load averages of a node.
virtual void getNodeProcessorSocketCountAsync (std::string name, std::function< void(std::int32_t returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.
virtual void getObjectInfoAsync (::Ice::Identity id, std::function< void(const ObjectInfo &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the object info for the object.
virtual void getObjectInfosByTypeAsync (std::string type, std::function< void(const ObjectInfoSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the object info of all the registered objects with a given type.
virtual void getRegistryAdminAsync (std::string name, std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets a proxy to the admin object of an IceGrid registry.
virtual void getRegistryInfoAsync (std::string name, std::function< void(const RegistryInfo &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the registry information of an IceGrid registry.
virtual void getServerAdminAsync (std::string id, std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets a proxy to the admin object of a server.
virtual void getServerAdminCategoryAsync (std::function< void(std::string_view returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the category for server admin objects.
virtual void getServerInfoAsync (std::string id, std::function< void(const ServerInfo &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets information about a server.
virtual void getServerPidAsync (std::string id, std::function< void(std::int32_t returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the system process ID of a server.
virtual void getServerStateAsync (std::string id, std::function< void(ServerState returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the state of a server.
std::string ice_id (const Ice::Current &current) 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 &current) const override
 Gets the Slice interfaces supported by this object as a list of type IDs.
virtual void instantiateServerAsync (std::string application, std::string node, ServerInstanceDescriptor desc, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Instantiates a server template.
virtual void isServerEnabledAsync (std::string id, std::function< void(bool returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Checks if the server is enabled or disabled.
virtual void pingNodeAsync (std::string name, std::function< void(bool returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Pings an IceGrid node to see if it is active.
virtual void pingRegistryAsync (std::string name, std::function< void(bool returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Pings an IceGrid registry to see if it is active.
virtual void removeAdapterAsync (std::string id, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Removes the adapter with the given ID.
virtual void removeApplicationAsync (std::string name, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Removes an application from IceGrid.
virtual void removeObjectAsync (::Ice::Identity id, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Removes an object from the object registry.
virtual void sendSignalAsync (std::string id, std::string signal, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Sends a signal to a server.
virtual void shutdownAsync (std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Shuts down the IceGrid registry.
virtual void shutdownNodeAsync (std::string name, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Shuts down an IceGrid node.
virtual void shutdownRegistryAsync (std::string name, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Shuts down an IceGrid registry.
virtual void startServerAsync (std::string id, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Starts a server and waits for its activation.
virtual void stopServerAsync (std::string id, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Stops a server.
virtual void syncApplicationAsync (ApplicationDescriptor descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Synchronizes a deployed application.
virtual void syncApplicationWithoutRestartAsync (ApplicationDescriptor descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Synchronizes a deployed application.
virtual void updateApplicationAsync (ApplicationUpdateDescriptor descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Updates a deployed application.
virtual void updateApplicationWithoutRestartAsync (ApplicationUpdateDescriptor descriptor, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Updates a deployed application.
virtual void updateObjectAsync (std::optional< Ice::ObjectPrx > obj, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Updates an object in the object registry.
Public Member Functions inherited from Ice::Object
 Object () noexcept=default
 Default constructor.
 Object (const Object &)=delete
 Object (Object &&)=delete
virtual bool ice_isA (std::string typeId, const Current &current) const
 Tests whether this object supports a specific Slice interface.
virtual void ice_ping (const Current &current) const
 Tests whether this object can be reached.
Objectoperator= (const Object &)=delete
Objectoperator= (Object &&)=delete

Static Public Member Functions

static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.
Static Public Member Functions inherited from Ice::Object
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.

Detailed Description

Provides administrative access to an IceGrid deployment.

Definition at line 4786 of file Admin.h.


The documentation for this class was generated from the following file: