Ice Reference Documentation | ||
---|---|---|
<<< Previous | Slice Documentation | Next >>> |
interface Admin |
The IcePack administrative interface.
![]() | Allowing access to this interface is a security risk! Please see the IcePack documentation for further information. |
Add an application to IcePack.
Add an object to the object registry.
Add an object to the object registry and explicitly specify its type.
Add a server to an IcePack node.
Get the list of endpoints for an adapter.
Get all the adapter ids registered with IcePack.
Get all the IcePack applications currently registered.
Get all the IcePack nodes currently registered.
Get the descriptors of all registered objects whose stringified identities match the given expression.
Get all the server names registered with IcePack.
Get an application descriptor.
Get the hostname of this node.
Get the object descriptor if the object with the given identity.
Get the server's activation mode.
Get a server descriptor.
Get a server's system process id.
Get a server's state.
Returns the checksums for the IcePack Slice definitions.
Ping an IcePack node to see if it is active.
Remove an application from IcePack.
Remove the given node and associated servers from the IcePack registry.
Remove an object from the object registry.
Remove a server from an IcePack node.
Send signal to a server.
Set the server's activation mode.
Shut down the IcePack registry.
Shutdown an IcePack node.
Start a server.
Stop a server.
Update an application.
Update a server.
Write message on server stdout or stderr @param name The name of the server.
void addApplication(ApplicationDescriptor descriptor) throws DeploymentException; |
Add an application to IcePack. An application is a set of servers.
Raised if application deployment failed.
void addObject(Object* obj) throws ObjectExistsException, DeploymentException; |
Add an object to the object registry. IcePack will get the object type by calling ice_id on the given proxy. The object must be reachable.
Raised if the object is already registered.
void addObjectWithType(Object* obj, string type) throws ObjectExistsException; |
Add an object to the object registry and explicitly specify its type.
Raised if the object is already registered.
void addServer(ServerDescriptor server) throws DeploymentException; |
Add a server to an IcePack node.
Raised if server deployment failed.
string getAdapterEndpoints(string id) throws AdapterNotExistException, NodeUnreachableException; |
Get the list of endpoints for an adapter.
Raised if the adapter is not found.
::Ice::StringSeq getAllAdapterIds(); |
Get all the adapter ids registered with IcePack.
::Ice::StringSeq getAllApplicationNames(); |
Get all the IcePack applications currently registered.
ObjectDescriptorSeq getAllObjectDescriptors(string expr); |
Get the descriptors of all registered objects whose stringified identities match the given expression.
::Ice::StringSeq getAllServerNames(); |
Get all the server names registered with IcePack.
ApplicationDescriptor getApplicationDescriptor(string name) throws ApplicationNotExistException; |
Get an application descriptor.
Raised if the application doesn't exist.
string getNodeHostname(string name) throws NodeNotExistException, NodeUnreachableException; |
Get the hostname of this node.
ObjectDescriptor getObjectDescriptor(::Ice::Identity id) throws ObjectNotExistException; |
Get the object descriptor if the object with the given identity.
ServerActivation getServerActivation(string name) throws ServerNotExistException, NodeUnreachableException; |
Get the server's activation mode.
Raised if the server is not found.
Raised if the node could not be reached.
ServerDescriptor getServerDescriptor(string name) throws ServerNotExistException; |
Get a server descriptor.
Raised if the server doesn't exist.
int getServerPid(string name) throws ServerNotExistException, NodeUnreachableException; |
Get a server's system process id. The process id is operating system dependent.
Raised if the server is not found.
Raised if the node could not be reached.
ServerState getServerState(string name) throws ServerNotExistException, NodeUnreachableException; |
Get a server's state.
Raised if the server is not found.
Raised if the node could not be reached.
::Ice::SliceChecksumDict getSliceChecksums(); |
Returns the checksums for the IcePack Slice definitions.
bool pingNode(string name) throws NodeNotExistException; |
Ping an IcePack node to see if it is active.
void removeApplication(string name) throws ApplicationNotExistException; |
Remove an application from IcePack.
void removeNode(string name) throws NodeNotExistException; |
Remove the given node and associated servers from the IcePack registry.
void removeObject(::Ice::Identity id) throws ObjectNotExistException; |
Remove an object from the object registry.
Raised if the object cannot be found.
void removeServer(string name) throws ServerNotExistException, DeploymentException; |
Remove a server from an IcePack node.
Raised if the server doesn't exist.
void sendSignal(string name, string signal) throws ServerNotExistException, NodeUnreachableException, BadSignalException; |
Send signal to a server.
Raised if the server is not found.
Raised if the node could not be reached.
Raised if the signal is not recognized by the target server.
void setServerActivation(string name, ServerActivation mode) throws ServerNotExistException, NodeUnreachableException; |
Set the server's activation mode.
Raised if the server is not found.
Raised if the node could not be reached.
void shutdownNode(string name) throws NodeNotExistException, NodeUnreachableException; |
Shutdown an IcePack node.
bool startServer(string name) throws ServerNotExistException, NodeUnreachableException; |
Start a server.
Raised if the server is not found.
Raised if the node could not be reached.
void stopServer(string name) throws ServerNotExistException, NodeUnreachableException; |
Stop a server.
Raised if the server is not found.
Raised if the node could not be reached.
void updateApplication(ApplicationDescriptor descriptor) throws DeploymentException; |
Update an application. An application is a set of servers.
Raised if application deployment failed.
void updateServer(ServerDescriptor server) throws ServerNotExistException, DeploymentException; |
Update a server.
Raised if server deployment failed.
Raised if the server doesn't exist.
void writeMessage(string name, string message, int fd) throws ServerNotExistException, NodeUnreachableException; |
Write message on server stdout or stderr
Raised if the server is not found.
Raised if the node could not be reached.
<<< Previous | Home | Next >>> |
IcePack::AdapterNotExistException | Up | IcePack::ApplicationDescriptor |