5[[
"cpp:dll-export:ICEGRID_API"]]
6[[
"cpp:doxygen:include:IceGrid/IceGrid.h"]]
9[[
"cpp:include:IceGrid/Config.h"]]
11[[
"js:module:@zeroc/ice"]]
13#include "Descriptor.ice"
14#include "Exception.ice"
15#include "Glacier2/Session.ice"
16#include "Ice/BuiltinSequences.ice"
17#include "Ice/Identity.ice"
19[
"java:identifier:com.zeroc.IceGrid"]
28 [
"swift:identifier:inactive"]
33 [
"swift:identifier:activating"]
37 [
"swift:identifier:activationTimedOut"]
41 [
"swift:identifier:active"]
45 [
"swift:identifier:deactivating"]
49 [
"swift:identifier:destroying"]
53 [
"swift:identifier:destroyed"]
192 [
"java:type:java.util.LinkedList<ApplicationInfo>"]
620 [
"java:type:java.util.LinkedList<ServerDynamicInfo>"]
634 [
"java:type:java.util.LinkedList<AdapterDynamicInfo>"]
765 [
"deprecated:As of Ice 3.8, there is no need to call this operation, and its implementation does nothing."]
The exception that is thrown when the registry update lock cannot be acquired.
The exception that is thrown when IceGrid does not know an object adapter with the provided adapter I...
The exception that is thrown when IceGrid does not know an application with the provided name.
The exception that is thrown when an unknown signal is sent to a server.
The exception that is thrown when IceGrid cannot deploy a server.
The exception that is thrown when a log file is not available.
The exception that is thrown when IceGrid does not know a node with the provided name.
The exception that is thrown when IceGrid cannot reach a node.
The exception that is thrown when a well-known object is already registered.
The exception that is thrown when a well-known object is not registered.
The exception that is thrown when an observer is already registered with the registry.
The exception that is thrown when IceGrid does not know a registry with the provided name.
The exception that is thrown when IceGrid cannot reach a registry.
The exception that is thrown when IceGrid does not know a server with the provided server ID.
The exception that is thrown when a server failed to start.
The exception that is thrown when a server failed to stop.
Represents a session between a client application and the Glacier2 router.
void adapterInit(AdapterInfoSeq adpts)
Provides the initial list of dynamically registered adapters to the observer.
void adapterRemoved(string id)
Notifies the observer that a dynamically-registered adapter was removed.
void adapterAdded(AdapterInfo info)
Notifies the observer that a dynamically-registered adapter was added.
void adapterUpdated(AdapterInfo info)
Monitors dynamically-registered object adapters.
FileIterator * openNodeStdOut(string name, int count)
Opens a node stdout file for reading.
idempotent Object * getAdminCallbackTemplate()
Gets a "template" proxy for admin callback objects.
int startUpdate()
Acquires an exclusive lock to start updating the registry applications.
FileIterator * openServerLog(string id, string path, int count)
Opens a server log file for reading.
idempotent string getReplicaName()
Gets the name of the registry replica hosting this session.
FileIterator * openRegistryStdErr(string name, int count)
Opens a registry stderr file for reading.
FileIterator * openServerStdErr(string id, int count)
Opens a server stderr file for reading.
idempotent void setObservers(RegistryObserver *registryObs, NodeObserver *nodeObs, ApplicationObserver *appObs, AdapterObserver *adptObs, ObjectObserver *objObs)
Sets the observer proxies that receive notifications when the state of the registry or nodes changes.
FileIterator * openRegistryStdOut(string name, int count)
Opens a registry stdout file for reading.
idempotent void setObserversByIdentity(Ice::Identity registryObs, Ice::Identity nodeObs, Ice::Identity appObs, Ice::Identity adptObs, Ice::Identity objObs)
Sets the observer identities that receive notifications when the state of the registry or nodes chang...
FileIterator * openNodeStdErr(string name, int count)
Opens a node stderr file for reading.
void finishUpdate()
Finishes updating the registry and releases the exclusive lock.
idempotent Admin * getAdmin()
Gets a proxy to the IceGrid admin object.
FileIterator * openServerStdOut(string id, int count)
Opens a server stdout file for reading.
Represents an administrative session between an admin tool and an IceGrid registry.
idempotent void keepAlive()
Keeps the session alive.
void removeObject(Ice::Identity id)
Removes an object from the object registry.
idempotent RegistryInfo getRegistryInfo(string name)
Gets the registry information of an IceGrid registry.
idempotent ApplicationDescriptor getDefaultApplicationDescriptor()
Gets the default application descriptor.
idempotent ObjectInfoSeq getAllObjectInfos(string expr)
Gets the object info of all the registered objects whose stringified identities match the given expre...
idempotent int getNodeProcessorSocketCount(string name)
Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.
idempotent Ice::StringSeq getAllRegistryNames()
Gets the names of all the IceGrid registries currently registered.
idempotent Object * getNodeAdmin(string name)
Gets a proxy to the admin object of an IceGrid node.
idempotent string getNodeHostname(string name)
Get the hostname of a node.
idempotent Object * getServerAdmin(string id)
Gets a proxy to the admin object of a server.
idempotent Ice::StringSeq getAllServerIds()
Gets the IDs of all the servers registered with IceGrid.
void removeAdapter(string id)
Removes the adapter with the given ID.
idempotent bool isServerEnabled(string id)
Checks if the server is enabled or disabled.
idempotent void enableServer(string id, bool enabled)
Enables or disables a server.
void updateObject(Object *obj)
Updates an object in the object registry.
void updateApplication(ApplicationUpdateDescriptor descriptor)
Updates a deployed application.
idempotent bool pingNode(string name)
Pings an IceGrid node to see if it is active.
void instantiateServer(string application, string node, ServerInstanceDescriptor desc)
Instantiates a server template.
idempotent ServerState getServerState(string id)
Gets the state of a server.
idempotent bool pingRegistry(string name)
Pings an IceGrid registry to see if it is active.
void startServer(string id)
Starts a server and waits for its activation.
idempotent NodeInfo getNodeInfo(string name)
Gets the node information of a node.
void syncApplication(ApplicationDescriptor descriptor)
Synchronizes a deployed application.
void addObjectWithType(Object *obj, string type)
Adds an object to the object registry and explicitly specifies its type.
idempotent ServerInfo getServerInfo(string id)
Gets information about a server.
idempotent string getServerAdminCategory()
Gets the category for server admin objects.
void removeApplication(string name)
Removes an application from IceGrid.
idempotent ApplicationInfo getApplicationInfo(string name)
Gets an application descriptor.
idempotent ObjectInfoSeq getObjectInfosByType(string type)
Gets the object info of all the registered objects with a given type.
void addObject(Object *obj)
Adds an object to the object registry.
idempotent AdapterInfoSeq getAdapterInfo(string id)
Gets adapter information for the replica group or adapter with the given ID.
void updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor)
Updates a deployed application.
void addApplication(ApplicationDescriptor descriptor)
Adds an application to IceGrid.
idempotent Ice::StringSeq getAllApplicationNames()
Gets all the IceGrid applications currently registered.
idempotent int getServerPid(string id)
Gets the system process ID of a server.
idempotent void shutdownRegistry(string name)
Shuts down an IceGrid registry.
void shutdownNode(string name)
Shuts down an IceGrid node.
idempotent ObjectInfo getObjectInfo(Ice::Identity id)
Gets the object info for the object.
void syncApplicationWithoutRestart(ApplicationDescriptor descriptor)
Synchronizes a deployed application.
void sendSignal(string id, string signal)
Sends a signal to a server.
void stopServer(string id)
Stops a server.
idempotent Ice::StringSeq getAllAdapterIds()
Gets the IDs of all adapters registered with IceGrid.
idempotent LoadInfo getNodeLoad(string name)
Gets the load averages of a node.
idempotent Ice::StringSeq getAllNodeNames()
Gets the names of all IceGrid nodes currently registered.
idempotent Object * getRegistryAdmin(string name)
Gets a proxy to the admin object of an IceGrid registry.
Provides administrative access to an IceGrid deployment.
void shutdown()
Shuts down the IceGrid registry.
void applicationAdded(int serial, ApplicationInfo desc)
Notifies the observer that an application was added.
void applicationUpdated(int serial, ApplicationUpdateInfo desc)
Notifies the observer that an application was updated.
void applicationInit(int serial, ApplicationInfoSeq applications)
Provides the initial application infos to the observer.
void applicationRemoved(int serial, string name)
Notifies the observer that an application was removed.
bool read(int size, out Ice::StringSeq lines)
Read lines from the log file.
Iterates over an IceGrid log file.
void destroy()
Destroys the iterator.
void updateServer(string node, ServerDynamicInfo updatedInfo)
Notifies the observer that the state of a server changed.
void nodeInit(NodeDynamicInfoSeq nodes)
Provides the initial state of the nodes to the observer.
void updateAdapter(string node, AdapterDynamicInfo updatedInfo)
Notifies the observer that the state of an object adapter changed.
void nodeUp(NodeDynamicInfo node)
Notifies the observer that a node came up.
void nodeDown(string name)
Notifies the observer that a node went down.
Monitors changes to the state of the nodes.
void objectAdded(ObjectInfo info)
Notifies the observer that a well-known object was added.
void objectUpdated(ObjectInfo info)
Notifies the observer that a well-known object was updated.
void objectInit(ObjectInfoSeq objects)
Provides the initial list of well-known objects to the observer.
void objectRemoved(Ice::Identity id)
Notifies the observer that a well-known object was removed.
Monitors well-known objects that are added, updated or removed using Admin.
void registryUp(RegistryInfo registryReplica)
Notifies the observer that a registry replica came up.
void registryInit(RegistryInfoSeq registries)
Provides the initial state of the registries to the observer.
void registryDown(string name)
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.
sequence< NodeDynamicInfo > NodeDynamicInfoSeq
A sequence of NodeDynamicInfo.
dictionary< string, Object > StringObjectProxyDict
A dictionary of string to proxies.
sequence< AdapterDynamicInfo > AdapterDynamicInfoSeq
A sequence of AdapterDynamicInfo.
ServerState
Represents the state of a server.
@ Destroyed
The server is destroyed.
@ ActivationTimedOut
The server activation timed out.
@ Activating
The server is being activated and will change to the active state when the registered server object a...
@ Deactivating
The server is being deactivated.
@ Active
The server is running.
@ Destroying
The server is being destroyed.
@ Inactive
The server is not running.
sequence< ApplicationInfo > ApplicationInfoSeq
A sequence of ApplicationInfo.
sequence< AdapterInfo > AdapterInfoSeq
A sequence of AdapterInfo.
sequence< RegistryInfo > RegistryInfoSeq
A sequence of RegistryInfo.
sequence< ObjectInfo > ObjectInfoSeq
A sequence of ObjectInfo.
sequence< ServerDynamicInfo > ServerDynamicInfoSeq
A sequence of ServerDynamicInfo.
Deploy and manage Ice servers.
sequence< string > StringSeq
A sequence of strings.
string id
The id of the adapter.
Object * proxy
The direct proxy containing the adapter endpoints. This proxy is never null.
Dynamic information about the state of an adapter.
Object * proxy
A dummy direct proxy that contains the adapter endpoints.
string id
The ID of the adapter.
string replicaGroupId
The replica group ID of the object adapter, or empty if the adapter doesn't belong to a replica group...
Information about an adapter registered with the IceGrid registry.
Describes an application.
string uuid
Unique application identifier.
long updateTime
The last update time.
ApplicationDescriptor descriptor
The application descriptor.
string createUser
The user who created the application.
string updateUser
The user who updated the application.
int revision
The application revision number.
long createTime
The creation time.
Information about an IceGrid application.
An application update descriptor to describe the updates to apply to a deployed application.
ApplicationUpdateDescriptor descriptor
The update descriptor.
string updateUser
The user who updated the application.
int revision
The application revision number.
long updateTime
The update time.
Information about updates to an IceGrid application.
float avg5
The load average over the past 5 minutes.
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.
ServerDynamicInfoSeq servers
The dynamic information of the servers deployed on this node.
NodeInfo info
Some static information about the node.
AdapterDynamicInfoSeq adapters
The dynamic information of the adapters deployed on this node.
Dynamic information about the state of a node.
string release
The operation system release level.
string version
The operation system version.
string dataDir
The path to the node data directory.
string name
The name of the node.
int nProcessors
The number of processor threads on the node.
string hostname
The network name of the host running this node.
string os
The operating system name.
string machine
The machine hardware type.
Information about an IceGrid node.
Object * proxy
The proxy of the object.
string type
The type of the object.
Information about an Ice well-known object.
string hostname
The network name of the host running this registry.
string name
The name of the registry.
Information about an IceGrid registry replica.
bool enabled
Indicates whether the server is enabled.
ServerState state
The state of the server.
int pid
The process ID of the server.
string id
The ID of the server.
Dynamic information about the state of a server.
string node
The IceGrid node where this server is deployed.
string uuid
The application UUID.
int revision
The application revision.
ServerDescriptor descriptor
The server descriptor.
string sessionId
The ID of the session which allocated the server.
string application
The application to which this server belongs.
Information about a server managed by an IceGrid node.
Describes a template instantiation that creates a server.
Represents the identity of an Ice object.