|
Ice 3.7 C++98 API Reference
|
The IceGrid administrative interface. More...
#include <IceGrid/IceGrid.h>


Public Types | |
| typedef AdminPtr | PointerType |
| typedef AdminPrx | ProxyType |
Public Member Functions | |
| virtual void | addApplication (const ApplicationDescriptor &descriptor, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Add an application to IceGrid. | |
| virtual void | addObject (const ::Ice::ObjectPrx &obj, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Add an object to the object registry. | |
| virtual void | addObjectWithType (const ::Ice::ObjectPrx &obj, const ::std::string &type, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Add an object to the object registry and explicitly specify its type. | |
| virtual void | enableServer (const ::std::string &id, bool enabled, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Enable or disable a server. | |
| virtual AdapterInfoSeq | getAdapterInfo (const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the adapter information for the replica group or adapter with the given id. | |
| virtual::Ice::StringSeq | getAllAdapterIds (const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get all the adapter ids registered with IceGrid. | |
| virtual::Ice::StringSeq | getAllApplicationNames (const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get all the IceGrid applications currently registered. | |
| virtual::Ice::StringSeq | getAllNodeNames (const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get all the IceGrid nodes currently registered. | |
| virtual ObjectInfoSeq | getAllObjectInfos (const ::std::string &expr, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the object info of all the registered objects whose stringified identities match the given expression. | |
| virtual::Ice::StringSeq | getAllRegistryNames (const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get all the IceGrid registries currently registered. | |
| virtual::Ice::StringSeq | getAllServerIds (const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get all the server ids registered with IceGrid. | |
| virtual ApplicationInfo | getApplicationInfo (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get an application descriptor. | |
| virtual ApplicationDescriptor | getDefaultApplicationDescriptor (const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the default application descriptor. | |
| virtual::Ice::ObjectPrx | getNodeAdmin (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get a proxy to the IceGrid node's admin object. | |
| virtual::std::string | getNodeHostname (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the hostname of this node. | |
| virtual NodeInfo | getNodeInfo (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the node information for the node with the given name. | |
| virtual LoadInfo | getNodeLoad (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the load averages of the node. | |
| virtual::Ice::Int | getNodeProcessorSocketCount (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the number of physical processor sockets for the machine running the node with the given name. | |
| virtual ObjectInfo | getObjectInfo (const ::Ice::Identity &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the object info for the object with the given identity. | |
| virtual ObjectInfoSeq | getObjectInfosByType (const ::std::string &type, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the object info of all the registered objects with the given type. | |
| virtual::Ice::ObjectPrx | getRegistryAdmin (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get a proxy to the IceGrid registry's admin object. | |
| virtual RegistryInfo | getRegistryInfo (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the registry information for the registry with the given name. | |
| virtual::Ice::ObjectPrx | getServerAdmin (const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get a proxy to the server's admin object. | |
| virtual::std::string | getServerAdminCategory (const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the category for server admin objects. | |
| virtual ServerInfo | getServerInfo (const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get the server information for the server with the given id. | |
| virtual::Ice::Int | getServerPid (const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get a server's system process id. | |
| virtual ServerState | getServerState (const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Get a server's state. | |
| virtual::Ice::SliceChecksumDict | getSliceChecksums (const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Returns the checksums for the IceGrid Slice definitions. | |
| virtual const ::std::string & | ice_id (const ::Ice::Current ¤t=::Ice::emptyCurrent) const |
| Obtains a Slice type ID representing the most-derived interface supported by this object. | |
| virtual ::std::vector< ::std::string > | ice_ids (const ::Ice::Current ¤t=::Ice::emptyCurrent) const |
| Obtains a list of the Slice type IDs representing the interfaces supported by this object. | |
| virtual bool | ice_isA (const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const |
| Determines whether this object supports an interface with the given Slice type ID. | |
| virtual void | instantiateServer (const ::std::string &application, const ::std::string &node, const ServerInstanceDescriptor &desc, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Instantiate a server template from an application on the given node. | |
| virtual bool | isServerEnabled (const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Check if the server is enabled or disabled. | |
| virtual void | patchApplication_async (const ::IceGrid::AMD_Admin_patchApplicationPtr &cb, const ::std::string &name, bool shutdown, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Patch the given application data. | |
| virtual void | patchServer_async (const ::IceGrid::AMD_Admin_patchServerPtr &cb, const ::std::string &id, bool shutdown, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Patch a server. | |
| virtual bool | pingNode (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Ping an IceGrid node to see if it is active. | |
| virtual bool | pingRegistry (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent) const =0 |
| Ping an IceGrid registry to see if it is active. | |
| virtual void | removeAdapter (const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Remove the adapter with the given id. | |
| virtual void | removeApplication (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Remove an application from IceGrid. | |
| virtual void | removeObject (const ::Ice::Identity &id, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Remove an object from the object registry. | |
| virtual void | sendSignal (const ::std::string &id, const ::std::string &signal, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Send signal to a server. | |
| virtual void | shutdown (const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Shut down the IceGrid registry. | |
| virtual void | shutdownNode (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Shutdown an IceGrid node. | |
| virtual void | shutdownRegistry (const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Shutdown an IceGrid registry. | |
| virtual void | startServer_async (const ::IceGrid::AMD_Admin_startServerPtr &cb, const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Start a server and wait for its activation. | |
| virtual void | stopServer_async (const ::IceGrid::AMD_Admin_stopServerPtr &cb, const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Stop a server. | |
| virtual void | syncApplication (const ApplicationDescriptor &descriptor, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Synchronize a deployed application with the given application descriptor. | |
| virtual void | syncApplicationWithoutRestart (const ApplicationDescriptor &descriptor, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Synchronize a deployed application with the given application descriptor. | |
| virtual void | updateApplication (const ApplicationUpdateDescriptor &descriptor, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Update a deployed application with the given update application descriptor. | |
| virtual void | updateApplicationWithoutRestart (const ApplicationUpdateDescriptor &descriptor, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Update a deployed application with the given update application descriptor only if no server restarts are necessary for the update of the application. | |
| virtual void | updateObject (const ::Ice::ObjectPrx &obj, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0 |
| Update an object in the object registry. | |
| virtual | ~Admin () |
| Public Member Functions inherited from Ice::Object | |
| virtual ObjectPtr | ice_clone () const |
| Returns a shallow copy of the object. | |
| virtual void | ice_collectable (bool b) |
| Determines whether this object, and by extension the graph of all objects reachable from this object, are eligible for garbage collection when all external references to the graph have been released. | |
| virtual bool | ice_dispatch (Ice::Request &request, const DispatchInterceptorAsyncCallbackPtr &cb=0) |
| Dispatches an invocation to a servant. | |
| virtual SlicedDataPtr | ice_getSlicedData () const |
| Obtains the sliced data associated with this instance. | |
| virtual const std::string & | ice_id (const Current ¤t=Ice::emptyCurrent) const |
| Returns the Slice type ID of the most-derived interface supported by this object. | |
| virtual std::vector< std::string > | ice_ids (const Current ¤t=Ice::emptyCurrent) const |
| Returns the Slice type IDs of the interfaces supported by this object. | |
| virtual bool | ice_isA (const std::string &s, const Current ¤t=Ice::emptyCurrent) const |
| Tests whether this object supports a specific Slice interface. | |
| virtual Int | ice_operationAttributes (const std::string &operation) const |
| Returns the Freeze metadata attributes for an operation. | |
| virtual void | ice_ping (const Current ¤t=Ice::emptyCurrent) const |
| Tests whether this object can be reached. | |
| virtual void | ice_postUnmarshal () |
| The Ice run time invokes this method vafter unmarshaling an object's data members. | |
| virtual void | ice_preMarshal () |
| The Ice run time invokes this method prior to marshaling an object's data members. | |
| virtual bool | operator< (const Object &) const |
| virtual bool | operator== (const Object &) const |
| Public Member Functions inherited from IceUtil::Shared | |
| void | __clearFlag (unsigned char flag) |
| virtual void | __decRef () |
| virtual int | __getRef () const |
| bool | __hasFlag (unsigned char flag) |
| virtual void | __incRef () |
| void | __setFlag (unsigned char flag) |
| virtual void | __setNoDelete (bool) |
| Shared & | operator= (const Shared &) |
| Shared () | |
| Shared (const Shared &) | |
| virtual | ~Shared () |
Static Public Member Functions | |
| static const ::std::string & | ice_staticId () |
| Obtains the Slice type ID corresponding to this class. | |
| Static Public Member Functions inherited from Ice::Object | |
| static const std::string & | ice_staticId () |
| Obtains the Slice type ID of this type. | |
Additional Inherited Members | |
| Static Public Attributes inherited from IceUtil::Shared | |
| static const unsigned char | NoDelete |
| Protected Member Functions inherited from Ice::Object | |
| Object () | |
| virtual | ~Object () |
| Protected Attributes inherited from IceUtil::Shared | |
| unsigned char | _flags |
| IceUtilInternal::Atomic | _ref |
The IceGrid administrative interface.
Allowing access to this interface is a security risk! Please see the IceGrid documentation for further information.
| typedef AdminPtr IceGrid::Admin::PointerType |
| typedef AdminPrx IceGrid::Admin::ProxyType |
|
virtual |
|
pure virtual |
Add an application to IceGrid.
| descriptor | The application descriptor. |
| current | The Current object for the invocation. |
| IceGrid::AccessDeniedException | Raised if the session doesn't hold the exclusive lock or if another session is holding the lock. |
| IceGrid::DeploymentException | Raised if application deployment failed. |
|
pure virtual |
Add an object to the object registry.
IceGrid will get the object type by calling ice_id on the given proxy. The object must be reachable.
| obj | The object to be added to the registry. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the object can't be added. This might be raised if the invocation on the proxy to get the object type failed. |
| IceGrid::ObjectExistsException | Raised if the object is already registered. |
|
pure virtual |
Add an object to the object registry and explicitly specify its type.
| obj | The object to be added to the registry. |
| type | The object type. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if application deployment failed. |
| IceGrid::ObjectExistsException | Raised if the object is already registered. |
|
pure virtual |
Enable or disable a server.
A disabled server can't be started on demand or administratively. The enable state of the server is not persistent: if the node is shut down and restarted, the server will be enabled by default.
| id | The server id. |
| enabled | True to enable the server, false to disable it. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the server couldn't be deployed on the node. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
|
pure virtual |
Get the adapter information for the replica group or adapter with the given id.
| id | The adapter id. |
| current | The Current object for the invocation. |
| IceGrid::AdapterNotExistException | Raised if the adapter or replica group doesn't exist. |
|
pure virtual |
Get all the adapter ids registered with IceGrid.
| current | The Current object for the invocation. |
|
pure virtual |
Get all the IceGrid applications currently registered.
| current | The Current object for the invocation. |
|
pure virtual |
Get all the IceGrid nodes currently registered.
| current | The Current object for the invocation. |
|
pure virtual |
Get the object info of all the registered objects whose stringified identities match the given expression.
| expr | The expression to match against the stringified identities of registered objects. The expression may contain a trailing wildcard (*) character. |
| current | The Current object for the invocation. |
|
pure virtual |
Get all the IceGrid registries currently registered.
| current | The Current object for the invocation. |
|
pure virtual |
Get all the server ids registered with IceGrid.
| current | The Current object for the invocation. |
|
pure virtual |
Get an application descriptor.
| name | The application name. |
| current | The Current object for the invocation. |
| IceGrid::ApplicationNotExistException | Raised if the application doesn't exist. |
|
pure virtual |
Get the default application descriptor.
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the default application descriptor can't be accessed or is invalid. |
|
pure virtual |
Get a proxy to the IceGrid node's admin object.
| name | The IceGrid node name |
| current | The Current object for the invocation. |
| IceGrid::NodeNotExistException | Raised if the node doesn't exist. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
|
pure virtual |
Get the hostname of this node.
| name | The node name. |
| current | The Current object for the invocation. |
| IceGrid::NodeNotExistException | Raised if the node doesn't exist. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
|
pure virtual |
Get the node information for the node with the given name.
| name | The node name. |
| current | The Current object for the invocation. |
| IceGrid::NodeNotExistException | Raised if the node doesn't exist. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
|
pure virtual |
Get the load averages of the node.
| name | The node name. |
| current | The Current object for the invocation. |
| IceGrid::NodeNotExistException | Raised if the node doesn't exist. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
|
pure virtual |
Get the number of physical processor sockets for the machine running the node with the given name.
Note that this method will return 1 on operating systems where this can't be automatically determined and where the IceGrid.Node.ProcessorSocketCount property for the node is not set.
| name | The node name. |
| current | The Current object for the invocation. |
| IceGrid::NodeNotExistException | Raised if the node doesn't exist. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
|
pure virtual |
Get the object info for the object with the given identity.
| id | The identity of the object. |
| current | The Current object for the invocation. |
| IceGrid::ObjectNotRegisteredException | Raised if the object isn't registered with the registry. |
|
pure virtual |
Get the object info of all the registered objects with the given type.
| type | The type of the object. |
| current | The Current object for the invocation. |
|
pure virtual |
Get a proxy to the IceGrid registry's admin object.
| name | The registry name |
| current | The Current object for the invocation. |
| IceGrid::RegistryNotExistException | Raised if the registry doesn't exist. |
|
pure virtual |
Get the registry information for the registry with the given name.
| name | The registry name. |
| current | The Current object for the invocation. |
| IceGrid::RegistryNotExistException | Raised if the registry doesn't exist. |
| IceGrid::RegistryUnreachableException | Raised if the registry could not be reached. |
|
pure virtual |
Get a proxy to the server's admin object.
| id | The server id. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the server couldn't be deployed on the node. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
|
pure virtual |
Get the category for server admin objects.
You can manufacture a server admin proxy from the admin proxy by changing its identity: use the server ID as name and the returned category as category.
| current | The Current object for the invocation. |
|
pure virtual |
Get the server information for the server with the given id.
| id | The server id. |
| current | The Current object for the invocation. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
|
pure virtual |
Get a server's system process id.
The process id is operating system dependent.
| id | The server id. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the server couldn't be deployed on the node. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
|
pure virtual |
Get a server's state.
| id | The server id. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the server couldn't be deployed on the node. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
|
pure virtual |
Returns the checksums for the IceGrid Slice definitions.
| current | The Current object for the invocation. |
|
virtual |
Obtains a Slice type ID representing the most-derived interface supported by this object.
| current | The Current object for the invocation. |
| virtual ::std::vector< ::std::string > IceGrid::Admin::ice_ids | ( | const ::Ice::Current & | current = ::Ice::emptyCurrent | ) | const |
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
| current | The Current object for the invocation. |
|
virtual |
Determines whether this object supports an interface with the given Slice type ID.
| id | The fully-scoped Slice type ID. |
| current | The Current object for the invocation. |
|
static |
Obtains the Slice type ID corresponding to this class.
|
pure virtual |
Instantiate a server template from an application on the given node.
| application | The application name. |
| node | The name of the node where the server will be deployed. |
| desc | The descriptor of the server instance to deploy. |
| current | The Current object for the invocation. |
| IceGrid::AccessDeniedException | Raised if the session doesn't hold the exclusive lock or if another session is holding the lock. |
| IceGrid::ApplicationNotExistException | Raised if the application doesn't exist. |
| IceGrid::DeploymentException | Raised if server instantiation failed. |
|
pure virtual |
Check if the server is enabled or disabled.
| id | The server id. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the server couldn't be deployed on the node. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
|
pure virtual |
Patch the given application data.
| cb | The AMD callback object for the invocation. |
| name | The application name. |
| shutdown | If true, the servers depending on the data to patch will be shut down if necessary. |
| current | The Current object for the invocation. |
| IceGrid::ApplicationNotExistException | Raised if the application doesn't exist. |
| IceGrid::PatchException | Raised if the patch failed. |
|
pure virtual |
Patch a server.
| cb | The AMD callback object for the invocation. |
| id | The server id. |
| shutdown | If true, servers depending on the data to patch will be shut down if necessary. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the server couldn't be deployed on the node. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
| IceGrid::PatchException | Raised if the patch failed. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
|
pure virtual |
Ping an IceGrid node to see if it is active.
| name | The node name. |
| current | The Current object for the invocation. |
| IceGrid::NodeNotExistException | Raised if the node doesn't exist. |
|
pure virtual |
Ping an IceGrid registry to see if it is active.
| name | The registry name. |
| current | The Current object for the invocation. |
| IceGrid::RegistryNotExistException | Raised if the registry doesn't exist. |
|
pure virtual |
Remove the adapter with the given id.
| id | The adapter id. |
| current | The Current object for the invocation. |
| IceGrid::AdapterNotExistException | Raised if the adapter doesn't exist. |
| IceGrid::DeploymentException | Raised if application deployment failed. |
|
pure virtual |
Remove an application from IceGrid.
| name | The application name. |
| current | The Current object for the invocation. |
| IceGrid::AccessDeniedException | Raised if the session doesn't hold the exclusive lock or if another session is holding the lock. |
| IceGrid::ApplicationNotExistException | Raised if the application doesn't exist. |
| IceGrid::DeploymentException | Raised if application deployment failed. |
|
pure virtual |
Remove an object from the object registry.
Only objects added with this interface can be removed with this operation. Objects added with deployment descriptors should be removed with the deployment mechanism.
| id | The identity of the object to be removed from the registry. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the object can't be removed. This might happen if the object was added with a deployment descriptor. |
| IceGrid::ObjectNotRegisteredException | Raised if the object isn't registered with the registry. |
|
pure virtual |
Send signal to a server.
| id | The server id. |
| signal | The signal, for example SIGTERM or 15. |
| current | The Current object for the invocation. |
| IceGrid::BadSignalException | Raised if the signal is not recognized by the target server. |
| IceGrid::DeploymentException | Raised if the server couldn't be deployed on the node. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
|
pure virtual |
Shut down the IceGrid registry.
| current | The Current object for the invocation. |
|
pure virtual |
Shutdown an IceGrid node.
| name | The node name. |
| current | The Current object for the invocation. |
| IceGrid::NodeNotExistException | Raised if the node doesn't exist. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
|
pure virtual |
Shutdown an IceGrid registry.
| name | The registry name. |
| current | The Current object for the invocation. |
| IceGrid::RegistryNotExistException | Raised if the registry doesn't exist. |
| IceGrid::RegistryUnreachableException | Raised if the registry could not be reached. |
|
pure virtual |
Start a server and wait for its activation.
| cb | The AMD callback object for the invocation. |
| id | The server id. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the server couldn't be deployed on the node. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
| IceGrid::ServerStartException | Raised if the server couldn't be started. |
|
pure virtual |
Stop a server.
| cb | The AMD callback object for the invocation. |
| id | The server id. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the server couldn't be deployed on the node. |
| IceGrid::NodeUnreachableException | Raised if the node could not be reached. |
| IceGrid::ServerNotExistException | Raised if the server doesn't exist. |
| IceGrid::ServerStopException | Raised if the server couldn't be stopped. |
|
pure virtual |
Synchronize a deployed application with the given application descriptor.
This operation will replace the current descriptor with this new descriptor.
| descriptor | The application descriptor. |
| current | The Current object for the invocation. |
| IceGrid::AccessDeniedException | Raised if the session doesn't hold the exclusive lock or if another session is holding the lock. |
| IceGrid::ApplicationNotExistException | Raised if the application doesn't exist. |
| IceGrid::DeploymentException | Raised if application deployment failed. |
|
pure virtual |
Synchronize a deployed application with the given application descriptor.
This operation will replace the current descriptor with this new descriptor only if no server restarts are necessary for the update of the application. If some servers need to be restarted, the synchronization is rejected with a DeploymentException.
| descriptor | The application descriptor. |
| current | The Current object for the invocation. |
| IceGrid::AccessDeniedException | Raised if the session doesn't hold the exclusive lock or if another session is holding the lock. |
| IceGrid::ApplicationNotExistException | Raised if the application doesn't exist. |
| IceGrid::DeploymentException | Raised if application deployment failed. |
|
pure virtual |
Update a deployed application with the given update application descriptor.
| descriptor | The update descriptor. |
| current | The Current object for the invocation. |
| IceGrid::AccessDeniedException | Raised if the session doesn't hold the exclusive lock or if another session is holding the lock. |
| IceGrid::ApplicationNotExistException | Raised if the application doesn't exist. |
| IceGrid::DeploymentException | Raised if application deployment failed. |
|
pure virtual |
Update a deployed application with the given update application descriptor only if no server restarts are necessary for the update of the application.
If some servers need to be restarted, the synchronization is rejected with a DeploymentException.
| descriptor | The update descriptor. |
| current | The Current object for the invocation. |
| IceGrid::AccessDeniedException | Raised if the session doesn't hold the exclusive lock or if another session is holding the lock. |
| IceGrid::ApplicationNotExistException | Raised if the application doesn't exist. |
| IceGrid::DeploymentException | Raised if application deployment failed. |
|
pure virtual |
Update an object in the object registry.
Only objects added with this interface can be updated with this operation. Objects added with deployment descriptors should be updated with the deployment mechanism.
| obj | The object to be updated to the registry. |
| current | The Current object for the invocation. |
| IceGrid::DeploymentException | Raised if the object can't be updated. This might happen if the object was added with a deployment descriptor. |
| IceGrid::ObjectNotRegisteredException | Raised if the object isn't registered with the registry. |