Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::commandcenter::meta::GuiMaciSupervisor Class Reference

Inheritance diagram for alma::acs::commandcenter::meta::GuiMaciSupervisor:

Inheritance graph
[legend]
Collaboration diagram for alma::acs::commandcenter::meta::GuiMaciSupervisor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GuiMaciSupervisor (String clientName, String managerLoc, ORB orb, Logger log)
void managerPing () throws NotConnectedToManagerException, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void managerShutdown () throws NotConnectedToManagerException, CorbaNoPermissionException, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void managerLogout (ContainerInfo info) throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void managerLogout (ClientInfo info) throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
org.omg.CORBA.Object managerGetComponent (String curl) throws ComponentNotAlreadyActivatedEx, CannotGetComponentEx, ComponentConfigurationNotFoundEx, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void managerReleaseComponents (String[] curls) throws UnknownErrorException, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, CorbaUnknownException
void managerForceReleaseComponent (String curl) throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
void containerDisconnect (ContainerInfo info) throws CorbaTransientException, UnknownErrorException
void containerPing (ContainerInfo info) throws CorbaTransientException, UnknownErrorException
void containerShutdown (ContainerInfo info) throws CorbaTransientException, UnknownErrorException
void containerMessage (ContainerInfo info, short msgType, String msg) throws CorbaTransientException, UnknownErrorException
void containersShutdown () throws CorbaTransientException, UnknownErrorException
void clientDisconnect (ClientInfo info) throws CorbaTransientException, UnknownErrorException
void clientPing (ClientInfo info) throws CorbaTransientException, UnknownErrorException
void clientMessage (ClientInfo info, short msgType, String msg) throws CorbaTransientException, UnknownErrorException

Detailed Description

This MaciSupervisor sub class is particularly suitable for Guis like the DeploymentTree, it offers various convenience methods that do not exist in the standard MaciSupervisor.

Like the standard MaciSupervisor it translates various unchecked exceptions (= RuntimeExceptions) coming from the Orb into checked exceptions so a client of this class knows what it has to handle.

Author:
mschilli


Constructor & Destructor Documentation

alma::acs::commandcenter::meta::GuiMaciSupervisor::GuiMaciSupervisor String  clientName,
String  managerLoc,
ORB  orb,
Logger  log
[inline]
 


Member Function Documentation

void alma::acs::commandcenter::meta::GuiMaciSupervisor::clientDisconnect ClientInfo  info  )  throws CorbaTransientException, UnknownErrorException [inline]
 

Sends a disconnect request to a client.

Parameters:
info the ClientInfo
Exceptions:
CorbaTransientException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::clientMessage ClientInfo  info,
short  msgType,
String  msg
throws CorbaTransientException, UnknownErrorException [inline]
 

Sends a message to a client.

Parameters:
info the ClientInfo
msgType one of MSG_ERROR, MSG_INFORMATION
msg the message
Exceptions:
CorbaTransientException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::clientPing ClientInfo  info  )  throws CorbaTransientException, UnknownErrorException [inline]
 

Sends a ping request to a client.

Parameters:
info the ClientInfo
Exceptions:
CorbaTransientException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::containerDisconnect ContainerInfo  info  )  throws CorbaTransientException, UnknownErrorException [inline]
 

Sends a disconnect request to a container.

Exceptions:
CorbaTransientException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::containerMessage ContainerInfo  info,
short  msgType,
String  msg
throws CorbaTransientException, UnknownErrorException [inline]
 

Sends a message to a container.

Parameters:
info the ContainerInfo
msgType one of MSG_ERROR, MSG_INFORMATION
msg the message
Exceptions:
CorbaTransientException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::containerPing ContainerInfo  info  )  throws CorbaTransientException, UnknownErrorException [inline]
 

Sends a ping request to a container.

Exceptions:
CorbaTransientException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::containerShutdown ContainerInfo  info  )  throws CorbaTransientException, UnknownErrorException [inline]
 

Sends a shutdown request to a container. Note that the request is asynchronous: when this method returns the container is likely to not have terminated yet.

Exceptions:
CorbaTransientException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::containersShutdown  )  throws CorbaTransientException, UnknownErrorException [inline]
 

Sends a shutdown request to every container. Note that the request is asynchronous: when this method returns the container is likely to not have terminated yet.

Exceptions:
UnknownErrorException 
CorbaTransientException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::managerForceReleaseComponent String  curl  )  throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException [inline]
 

Force-release component by name.

Exceptions:
NotConnectedToManagerException 
NoPermissionEx 
CorbaTransientException 
CorbaNotExistException 
UnknownErrorException 
CorbaNotExistException 
UnknownErrorException 

org.omg.CORBA.Object alma::acs::commandcenter::meta::GuiMaciSupervisor::managerGetComponent String  curl  )  throws ComponentNotAlreadyActivatedEx, CannotGetComponentEx, ComponentConfigurationNotFoundEx, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException [inline]
 

Retrieve Component by name.

Returns:
a component
Exceptions:
ComponentConfigurationNotFoundEx 
CannotGetComponentEx 
ComponentNotAlreadyActivatedEx 
NotConnectedToManagerException 
NoPermissionEx 
CorbaTransientException 
CorbaNotExistException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::managerLogout ClientInfo  info  )  throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException [inline]
 

Logout Client.

Exceptions:
NotConnectedToManagerException 
NoPermissionEx 
CorbaTransientException 
CorbaNotExistException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::managerLogout ContainerInfo  info  )  throws NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException [inline]
 

Logout Container.

Exceptions:
NotConnectedToManagerException 
NoPermissionEx 
CorbaTransientException 
CorbaNotExistException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::managerPing  )  throws NotConnectedToManagerException, CorbaTransientException, CorbaNotExistException, UnknownErrorException [inline]
 

Ping Manager.

Exceptions:
NotConnectedToManagerException 
CorbaTransientException 
CorbaNotExistException 
UnknownErrorException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::managerReleaseComponents String[]  curls  )  throws UnknownErrorException, NotConnectedToManagerException, NoPermissionEx, CorbaTransientException, CorbaNotExistException, CorbaUnknownException [inline]
 

Release components by name.

Exceptions:
UnknownErrorException 
NotConnectedToManagerException 
NoPermissionEx 
CorbaTransientException 
CorbaNotExistException 
CorbaUnknownException 

void alma::acs::commandcenter::meta::GuiMaciSupervisor::managerShutdown  )  throws NotConnectedToManagerException, CorbaNoPermissionException, CorbaTransientException, CorbaNotExistException, UnknownErrorException [inline]
 

Shutdown Manager.

Exceptions:
NotConnectedToManagerException 
CorbaNoPermissionException 
CorbaTransientException 
CorbaNotExistException 
UnknownErrorException 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:52:08 2009 for ACS Java API by doxygen 1.3.8