7[[
"cpp:dll-export:ICEGRID_API"]]
8[[
"cpp:doxygen:include:IceGrid/IceGrid.h"]]
10[[
"cpp:include:IceGrid/Config.h"]]
17[[
"objc:dll-export:ICEGRID_API"]]
18[[
"objc:header-dir:objc"]]
20[[
"python:pkgdir:IceGrid"]]
30#ifndef __SLICE2JAVA_COMPAT__
31[[
"java:package:com.zeroc"]]
34[
"objc:prefix:ICEGRID"]
1020 [
"nonmutating",
"cpp:const"] idempotent
bool pingNode(
string name)
An Ice server descriptor.
Definition Descriptor.ice:337
This exception is raised if a registry lock wasn't acquired or is already held by a session.
Definition Exception.ice:305
This exception is raised if an adapter does not exist.
Definition Exception.ice:117
This exception is raised if an application does not exist.
Definition Exception.ice:43
This exception is raised if an unknown signal was sent to to a server.
Definition Exception.ice:274
An exception for deployment errors.
Definition Exception.ice:192
This exception is raised if a file is not available.
Definition Exception.ice:387
This exception is raised if a node does not exist.
Definition Exception.ice:162
This exception is raised if a node could not be reached.
Definition Exception.ice:207
This exception is raised if an object already exists.
Definition Exception.ice:132
This exception is raised if an object is not registered.
Definition Exception.ice:147
This exception is raised if an observer is already registered with the registry.
Definition Exception.ice:365
This exception is raised if a patch failed.
Definition Exception.ice:289
This exception is raised if a registry does not exist.
Definition Exception.ice:177
This exception is raised if a registry could not be reached.
Definition Exception.ice:251
This exception is raised if a server does not exist.
Definition Exception.ice:58
This exception is raised if a server failed to start.
Definition Exception.ice:73
This exception is raised if a server failed to stop.
Definition Exception.ice:95
A client-visible session object, which is tied to the lifecycle of a Router.
Definition Session.ice:57
This interface allows applications to monitor the state of object adapters that are registered with I...
Definition Admin.ice:1542
void adapterInit(AdapterInfoSeq adpts)
adapterInit is called after registration of an observer to indicate the state of the registry.
void adapterRemoved(string id)
The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter wa...
void adapterAdded(AdapterInfo info)
The adapterAdded operation is called to notify an observer when a dynamically-registered adapter was ...
void adapterUpdated(AdapterInfo info)
The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter wa...
Used by administrative clients to view, update, and receive observer updates from the IceGrid registr...
Definition Admin.ice:1644
FileIterator * openNodeStdOut(string name, int count)
Open the given node stdout file for reading.
idempotent Object * getAdminCallbackTemplate()
Get 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)
Open the given server log file for reading.
idempotent string getReplicaName()
Get the name of the registry replica hosting this session.
FileIterator * openRegistryStdErr(string name, int count)
Open the given registry stderr file for reading.
FileIterator * openServerStdErr(string id, int count)
Open the given server stderr file for reading.
idempotent void setObservers(RegistryObserver *registryObs, NodeObserver *nodeObs, ApplicationObserver *appObs, AdapterObserver *adptObs, ObjectObserver *objObs)
Set the observer proxies that receive notifications when the state of the registry or nodes changes.
FileIterator * openRegistryStdOut(string name, int count)
Open the given registry stdout file for reading.
idempotent void keepAlive()
Keep the session alive.
idempotent void setObserversByIdentity(Ice::Identity registryObs, Ice::Identity nodeObs, Ice::Identity appObs, Ice::Identity adptObs, Ice::Identity objObs)
Set the observer identities that receive notifications the state of the registry or nodes changes.
FileIterator * openNodeStdErr(string name, int count)
Open the given node stderr file for reading.
void finishUpdate()
Finish updating the registry and release the exclusive lock.
idempotent Admin * getAdmin()
Get the admin interface.
FileIterator * openServerStdOut(string id, int count)
Open the given server stdout file for reading.
The IceGrid administrative interface.
Definition Admin.ice:403
void removeObject(Ice::Identity id)
Remove an object from the object registry.
idempotent RegistryInfo getRegistryInfo(string name)
Get the registry information for the registry with the given name.
idempotent ApplicationDescriptor getDefaultApplicationDescriptor()
Get the default application descriptor.
idempotent ObjectInfoSeq getAllObjectInfos(string expr)
Get the object info of all the registered objects whose stringified identities match the given expres...
idempotent int getNodeProcessorSocketCount(string name)
Get the number of physical processor sockets for the machine running the node with the given name.
idempotent Ice::StringSeq getAllRegistryNames()
Get all the IceGrid registries currently registered.
idempotent Object * getNodeAdmin(string name)
Get a proxy to the IceGrid node's admin object.
idempotent string getNodeHostname(string name)
Get the hostname of this node.
idempotent Object * getServerAdmin(string id)
Get a proxy to the server's admin object.
idempotent Ice::StringSeq getAllServerIds()
Get all the server ids registered with IceGrid.
void removeAdapter(string id)
Remove the adapter with the given id.
idempotent bool isServerEnabled(string id)
Check if the server is enabled or disabled.
idempotent void enableServer(string id, bool enabled)
Enable or disable a server.
void updateObject(Object *obj)
Update an object in the object registry.
void updateApplication(ApplicationUpdateDescriptor descriptor)
Update a deployed application with the given update application descriptor.
idempotent bool pingNode(string name)
Ping an IceGrid node to see if it is active.
void instantiateServer(string application, string node, ServerInstanceDescriptor desc)
Instantiate a server template from an application on the given node.
idempotent ServerState getServerState(string id)
Get a server's state.
void patchServer(string id, bool shutdown)
Patch a server.
idempotent bool pingRegistry(string name)
Ping an IceGrid registry to see if it is active.
void startServer(string id)
Start a server and wait for its activation.
idempotent NodeInfo getNodeInfo(string name)
Get the node information for the node with the given name.
void syncApplication(ApplicationDescriptor descriptor)
Synchronize a deployed application with the given application descriptor.
void addObjectWithType(Object *obj, string type)
Add an object to the object registry and explicitly specify its type.
idempotent ServerInfo getServerInfo(string id)
Get the server information for the server with the given id.
idempotent string getServerAdminCategory()
Get the category for server admin objects.
void removeApplication(string name)
Remove an application from IceGrid.
idempotent ApplicationInfo getApplicationInfo(string name)
Get an application descriptor.
idempotent ObjectInfoSeq getObjectInfosByType(string type)
Get the object info of all the registered objects with the given type.
void addObject(Object *obj)
Add an object to the object registry.
idempotent AdapterInfoSeq getAdapterInfo(string id)
Get the adapter information for the replica group or adapter with the given id.
idempotent Ice::SliceChecksumDict getSliceChecksums()
Returns the checksums for the IceGrid Slice definitions.
void updateApplicationWithoutRestart(ApplicationUpdateDescriptor descriptor)
Update a deployed application with the given update application descriptor only if no server restarts...
void addApplication(ApplicationDescriptor descriptor)
Add an application to IceGrid.
idempotent Ice::StringSeq getAllApplicationNames()
Get all the IceGrid applications currently registered.
idempotent int getServerPid(string id)
Get a server's system process id.
idempotent void shutdownRegistry(string name)
Shutdown an IceGrid registry.
void shutdownNode(string name)
Shutdown an IceGrid node.
idempotent ObjectInfo getObjectInfo(Ice::Identity id)
Get the object info for the object with the given identity.
void syncApplicationWithoutRestart(ApplicationDescriptor descriptor)
Synchronize a deployed application with the given application descriptor.
void sendSignal(string id, string signal)
Send signal to a server.
void stopServer(string id)
Stop a server.
idempotent Ice::StringSeq getAllAdapterIds()
Get all the adapter ids registered with IceGrid.
void patchApplication(string name, bool shutdown)
Patch the given application data.
idempotent LoadInfo getNodeLoad(string name)
Get the load averages of the node.
idempotent Ice::StringSeq getAllNodeNames()
Get all the IceGrid nodes currently registered.
void shutdown()
Shut down the IceGrid registry.
idempotent Object * getRegistryAdmin(string name)
Get a proxy to the IceGrid registry's admin object.
The database observer interface.
Definition Admin.ice:1482
void applicationAdded(int serial, ApplicationInfo desc)
The applicationAdded operation is called to notify an observer that an application was added.
void applicationUpdated(int serial, ApplicationUpdateInfo desc)
The applicationUpdated operation is called to notify an observer that an application was updated.
void applicationInit(int serial, ApplicationInfoSeq applications)
applicationInit is called after the registration of an observer to indicate the state of the registry...
void applicationRemoved(int serial, string name)
The applicationRemoved operation is called to notify an observer that an application was removed.
This interface provides access to IceGrid log file contents.
Definition Admin.ice:1231
bool read(int size, out Ice::StringSeq lines)
Read lines from the log file.
void destroy()
Destroy the iterator.
The node observer interface.
Definition Admin.ice:1418
void updateServer(string node, ServerDynamicInfo updatedInfo)
The updateServer operation is called to notify an observer that the state of a server changed.
void nodeInit(NodeDynamicInfoSeq nodes)
The nodeInit operation indicates the current state of nodes.
void updateAdapter(string node, AdapterDynamicInfo updatedInfo)
The updateAdapter operation is called to notify an observer that the state of an adapter changed.
void nodeUp(NodeDynamicInfo node)
The nodeUp operation is called to notify an observer that a node came up.
void nodeDown(string name)
The nodeDown operation is called to notify an observer that a node went down.
This interface allows applications to monitor IceGrid well-known objects.
Definition Admin.ice:1590
void objectAdded(ObjectInfo info)
The objectAdded operation is called to notify an observer when an object was added to the Admin inter...
void objectUpdated(ObjectInfo info)
objectUpdated is called to notify an observer when an object registered with the Admin interface was ...
void objectInit(ObjectInfoSeq objects)
objectInit is called after the registration of an observer to indicate the state of the registry.
void objectRemoved(Ice::Identity id)
objectRemoved is called to notify an observer when an object registered with the Admin interface was ...
This interface allows applications to monitor changes the state of the registry.
Definition Admin.ice:1371
void registryUp(RegistryInfo node)
The nodeUp operation is called to notify an observer that a node came up.
void registryInit(RegistryInfoSeq registries)
The registryInit operation is called after registration of an observer to indicate the state of the r...
void registryDown(string name)
The nodeDown operation is called to notify an observer that a node went down.
sequence< NodeDynamicInfo > NodeDynamicInfoSeq
A sequence of node dynamic information structures.
Definition Admin.ice:1408
dictionary< string, Object > StringObjectProxyDict
A dictionary of proxies.
Definition Admin.ice:104
sequence< AdapterDynamicInfo > AdapterDynamicInfoSeq
A sequence of adapter dynamic information structures.
Definition Admin.ice:1333
ServerState
An enumeration representing the state of the server.
Definition Admin.ice:44
@ Destroyed
The server is destroyed.
Definition Admin.ice:96
@ ActivationTimedOut
The activation timed out state indicates that the server activation timed out.
Definition Admin.ice:68
@ Activating
The server is being activated and will change to the active state when the registered server object a...
Definition Admin.ice:60
@ Deactivating
The server is being deactivated.
Definition Admin.ice:82
@ Active
The server is running.
Definition Admin.ice:75
@ Destroying
The server is being destroyed.
Definition Admin.ice:89
@ Inactive
The server is not running.
Definition Admin.ice:50
sequence< ApplicationInfo > ApplicationInfoSeq
A sequence of ApplicationInfo structures.
Definition Admin.ice:372
sequence< AdapterInfo > AdapterInfoSeq
A sequence of adapter information structures.
Definition Admin.ice:172
sequence< RegistryInfo > RegistryInfoSeq
A sequence of RegistryInfo structures.
Definition Admin.ice:319
sequence< ObjectInfo > ObjectInfoSeq
A sequence of object information structures.
Definition Admin.ice:134
sequence< ServerDynamicInfo > ServerDynamicInfoSeq
A sequence of server dynamic information structures.
Definition Admin.ice:1304
The Ice core library.
Definition BuiltinSequences.ice:27
sequence< string > StringSeq
A sequence of strings.
Definition BuiltinSequences.ice:51
Dynamic information about the state of an adapter.
Definition Admin.ice:1312
string id
The id of the adapter.
Definition Admin.ice:1318
Object * proxy
The direct proxy containing the adapter endpoints.
Definition Admin.ice:1325
Information about an adapter registered with the IceGrid registry.
Definition Admin.ice:143
Object * proxy
A dummy direct proxy that contains the adapter endpoints.
Definition Admin.ice:156
string id
The id of the adapter.
Definition Admin.ice:149
string replicaGroupId
The replica group id of the object adapter, or empty if the adapter doesn't belong to a replica group...
Definition Admin.ice:164
An application descriptor.
Definition Descriptor.ice:797
Information about an IceGrid application.
Definition Admin.ice:344
string uuid
Unique application identifier.
Definition Admin.ice:346
long updateTime
The update time.
Definition Admin.ice:355
ApplicationDescriptor descriptor
The application descriptor.
Definition Admin.ice:364
string createUser
The user who created the application.
Definition Admin.ice:352
string updateUser
The user who updated the application.
Definition Admin.ice:358
int revision
The application revision number.
Definition Admin.ice:361
long createTime
The creation time.
Definition Admin.ice:349
An application update descriptor to describe the updates to apply to a deployed application.
Definition Descriptor.ice:986
Information about updates to an IceGrid application.
Definition Admin.ice:380
ApplicationUpdateDescriptor descriptor
The update descriptor.
Definition Admin.ice:391
string updateUser
The user who updated the application.
Definition Admin.ice:385
int revision
The application revision number.
Definition Admin.ice:388
long updateTime
The update time.
Definition Admin.ice:382
Information about the load of a node.
Definition Admin.ice:327
float avg5
The load average over the past 5 minutes.
Definition Admin.ice:332
float avg15
The load average over the past 15 minutes.
Definition Admin.ice:335
float avg1
The load average over the past minute.
Definition Admin.ice:329
Dynamic information about the state of a node.
Definition Admin.ice:1341
ServerDynamicInfoSeq servers
The dynamic information of the servers deployed on this node.
Definition Admin.ice:1354
NodeInfo info
Some static information about the node.
Definition Admin.ice:1347
AdapterDynamicInfoSeq adapters
The dynamic information of the adapters deployed on this node.
Definition Admin.ice:1361
Information about an IceGrid node.
Definition Admin.ice:230
string release
The operation system release level (as defined in uname()).
Definition Admin.ice:258
string version
The operation system version (as defined in uname()).
Definition Admin.ice:265
string dataDir
The path to the node data directory.
Definition Admin.ice:288
string name
The name of the node.
Definition Admin.ice:236
int nProcessors
The number of processor threads on the node.
Definition Admin.ice:281
string hostname
The network name of the host running this node (as defined in uname()).
Definition Admin.ice:251
string os
The operating system name.
Definition Admin.ice:243
string machine
The machine hardware type (as defined in uname()).
Definition Admin.ice:272
Information about an Ice object.
Definition Admin.ice:113
Object * proxy
The proxy of the object.
Definition Admin.ice:119
string type
The type of the object.
Definition Admin.ice:126
Information about an IceGrid registry replica.
Definition Admin.ice:297
string hostname
The network name of the host running this registry (as defined in uname()).
Definition Admin.ice:311
string name
The name of the registry.
Definition Admin.ice:303
Dynamic information about the state of a server.
Definition Admin.ice:1269
bool enabled
Indicates whether the server is enabled.
Definition Admin.ice:1296
ServerState state
The state of the server.
Definition Admin.ice:1282
int pid
The process id of the server.
Definition Admin.ice:1289
string id
The id of the server.
Definition Admin.ice:1275
Information about a server managed by an IceGrid node.
Definition Admin.ice:180
string node
The server node.
Definition Admin.ice:207
string uuid
The application uuid.
Definition Admin.ice:193
int revision
The application revision.
Definition Admin.ice:200
ServerDescriptor descriptor
The server descriptor.
Definition Admin.ice:214
string sessionId
The id of the session which allocated the server.
Definition Admin.ice:221
string application
The server application.
Definition Admin.ice:186
A server template instance descriptor.
Definition Descriptor.ice:481
The identity of an Ice object.
Definition Identity.ice:40