

Public Member Functions | |
| AdministratorClient (ORB theOrb, Logger theLogger) | |
| void | client_logged_in (ClientInfo info, long timeStamp, long executionId) |
| void | client_logged_out (int h, long timeStamp) |
| void | component_activated (ComponentInfo info, long timeStamp, long executionId) |
| void | component_deactivated (int h, long timeStamp) |
| void | components_released (int[] clients, int[] components, long timeStamp) |
| void | components_requested (int[] clients, int[] components, long timeStamp) |
| void | container_logged_in (ContainerInfo info, long timeStamp, long executionId) |
| void | container_logged_out (int h, long timeStamp) |
| AuthenticationData | authenticate (long executionId, String question) |
| void | components_available (ComponentInfo[] components) |
| void | components_unavailable (String[] component_names) |
| void | disconnect () |
| void | message (short type, String message) |
| void | taggedmessage (short type, short messageID, String message) |
| String | name () |
| boolean | ping () |
| void | connectToManager () throws Exception |
| String | getManagerLoc () |
| ContainerInfo[] | retrieveContainerInfo (String name_wildcard) throws Exception |
| ClientInfo[] | retrieveClientInfo (String name_wildcard) throws Exception |
| ComponentInfo[] | retrieveComponentInfo (String name_wildcard) throws Exception |
| void | addLogListener (LogLevelListener l) |
| Manager | getManagerRef () |
| void | interruptManagerBusy () |
Private Member Functions | |
| ComponentInfo | getComponentInfo (String name) throws Exception |
| ComponentInfo | getComponentInfo (int handle) throws Exception |
Private Attributes | |
| Manager | managerRef = null |
| String | managerLoc = null |
| ORB | orb = null |
| Logger | logger = null |
| ClientInfo | administratorInfo |
| LogLevelListener | listener = null |
| volatile boolean | interrupted |
| ManagerBusyDlg | busyDlg = null |
| long | startTime = System.currentTimeMillis() |
| long | executionId = 0 |
| alma::acs::gui::loglevel::tree::AdministratorClient::AdministratorClient | ( | ORB | theOrb, | |
| Logger | theLogger | |||
| ) | [inline] |
| void alma::acs::gui::loglevel::tree::AdministratorClient::addLogListener | ( | LogLevelListener | l | ) | [inline] |
Set the listener for login/logout events generated by componets/containers/clients
| l | The listener (can be null) |
References listener.
Referenced by alma::acs::gui::loglevel::tree::LogLvlTreeModel::start(), and alma::acs::gui::loglevel::tree::LogLvlTreeModel::stop().
| AuthenticationData alma::acs::gui::loglevel::tree::AdministratorClient::authenticate | ( | long | executionId, | |
| String | question | |||
| ) | [inline] |
References startTime.
| void alma::acs::gui::loglevel::tree::AdministratorClient::client_logged_in | ( | ClientInfo | info, | |
| long | timeStamp, | |||
| long | executionId | |||
| ) | [inline] |
| void alma::acs::gui::loglevel::tree::AdministratorClient::client_logged_out | ( | int | h, | |
| long | timeStamp | |||
| ) | [inline] |
Implements si::ijs::maci::AdministratorOperations.
References alma::acs::gui::loglevel::tree::LogLevelListener::clientLoggedOut(), and listener.
| void alma::acs::gui::loglevel::tree::AdministratorClient::component_activated | ( | ComponentInfo | info, | |
| long | timeStamp, | |||
| long | executionId | |||
| ) | [inline] |
| void alma::acs::gui::loglevel::tree::AdministratorClient::component_deactivated | ( | int | h, | |
| long | timeStamp | |||
| ) | [inline] |
Implements si::ijs::maci::AdministratorOperations.
| void alma::acs::gui::loglevel::tree::AdministratorClient::components_available | ( | ComponentInfo[] | components | ) | [inline] |
References listener.
| void alma::acs::gui::loglevel::tree::AdministratorClient::components_released | ( | int[] | clients, | |
| int[] | components, | |||
| long | timeStamp | |||
| ) | [inline] |
| void alma::acs::gui::loglevel::tree::AdministratorClient::components_requested | ( | int[] | clients, | |
| int[] | components, | |||
| long | timeStamp | |||
| ) | [inline] |
| void alma::acs::gui::loglevel::tree::AdministratorClient::components_unavailable | ( | String[] | component_names | ) | [inline] |
References listener.
| void alma::acs::gui::loglevel::tree::AdministratorClient::connectToManager | ( | ) | throws Exception [inline] |
Connect to the manager
References si::ijs::maci::AdministratorPOA::_this(), administratorInfo, si::ijs::maci::ClientInfo::h, logger, si::ijs::maci::ManagerOperations::login(), managerLoc, managerRef, si::ijs::maci::ClientInfo::name, and orb.
Referenced by alma::acs::gui::loglevel::tree::LogLvlTreeModel::start().
| void alma::acs::gui::loglevel::tree::AdministratorClient::container_logged_in | ( | ContainerInfo | info, | |
| long | timeStamp, | |||
| long | executionId | |||
| ) | [inline] |
| void alma::acs::gui::loglevel::tree::AdministratorClient::container_logged_out | ( | int | h, | |
| long | timeStamp | |||
| ) | [inline] |
Implements si::ijs::maci::AdministratorOperations.
References alma::acs::gui::loglevel::tree::LogLevelListener::containerLoggedOut(), and listener.
| void alma::acs::gui::loglevel::tree::AdministratorClient::disconnect | ( | ) | [inline] |
Implements si::ijs::maci::ClientOperations.
References administratorInfo, busyDlg, si::ijs::maci::ClientInfo::h, logger, si::ijs::maci::ManagerOperations::logout(), managerLoc, alma::acs::gui::loglevel::tree::ManagerBusyDlg::managerNotBusy(), and managerRef.
Referenced by alma::acs::gui::loglevel::tree::LogLvlTreeModel::stop().
| ComponentInfo alma::acs::gui::loglevel::tree::AdministratorClient::getComponentInfo | ( | int | handle | ) | throws Exception [inline, private] |
Get the ComponentInfo of the component with the given handle
| handle | The handle of the component |
References retrieveComponentInfo().
| ComponentInfo alma::acs::gui::loglevel::tree::AdministratorClient::getComponentInfo | ( | String | name | ) | throws Exception [inline, private] |
Get the ComponentInfo of the component with the given name
| name | The name of the component |
References name(), and retrieveComponentInfo().
Referenced by components_released(), and components_requested().
| String alma::acs::gui::loglevel::tree::AdministratorClient::getManagerLoc | ( | ) | [inline] |
Getter method.
References managerLoc.
Referenced by alma::acs::gui::loglevel::tree::LogLvlTreeModel::buildManagersNode(), and alma::acs::gui::loglevel::tree::LogLvlTreeModel::isManagerNode().
| Manager alma::acs::gui::loglevel::tree::AdministratorClient::getManagerRef | ( | ) | [inline] |
Getter method
References managerRef.
Referenced by alma::acs::gui::loglevel::tree::LogLvlTreeModel::getManagerRef().
| void alma::acs::gui::loglevel::tree::AdministratorClient::interruptManagerBusy | ( | ) | [inline] |
References interrupted.
Referenced by alma::acs::gui::loglevel::tree::ManagerBusyDlg::actionPerformed().
| void alma::acs::gui::loglevel::tree::AdministratorClient::message | ( | short | type, | |
| String | message | |||
| ) | [inline] |
| String alma::acs::gui::loglevel::tree::AdministratorClient::name | ( | ) | [inline] |
Implements si::ijs::maci::ClientOperations.
Referenced by getComponentInfo().
| boolean alma::acs::gui::loglevel::tree::AdministratorClient::ping | ( | ) | [inline] |
Implements si::ijs::maci::ClientOperations.
| ClientInfo [] alma::acs::gui::loglevel::tree::AdministratorClient::retrieveClientInfo | ( | String | name_wildcard | ) | throws Exception [inline] |
| NoPermissionEx | ||
| NotConnectedToManagerException | ||
| SystemException |
References administratorInfo, busyDlg, si::ijs::maci::ManagerOperations::get_client_info(), si::ijs::maci::ClientInfo::h, interrupted, alma::acs::gui::loglevel::tree::ManagerBusyDlg::managerNotBusy(), managerRef, and alma::acs::gui::loglevel::tree::ManagerBusyDlg::updateMessage().
Referenced by alma::acs::gui::loglevel::tree::LogLvlTreeModel::buildClientsNode().
| ComponentInfo [] alma::acs::gui::loglevel::tree::AdministratorClient::retrieveComponentInfo | ( | String | name_wildcard | ) | throws Exception [inline] |
| NoPermissionEx | ||
| NotConnectedToManagerException | ||
| SystemException |
References administratorInfo, si::ijs::maci::ManagerOperations::get_component_info(), si::ijs::maci::ClientInfo::h, and managerRef.
Referenced by alma::acs::gui::loglevel::tree::LogLvlTreeModel::buildComponentsNode(), and getComponentInfo().
| ContainerInfo [] alma::acs::gui::loglevel::tree::AdministratorClient::retrieveContainerInfo | ( | String | name_wildcard | ) | throws Exception [inline] |
The containerHandles argument cannot be specified here. Reason: There's apparently a bug in Manager.get_activator_info() in ACS2.x (nothing known about ACS3.x): The containerHandles argument is not evaluated properly, instead empty (therefore useless) ContainerInfos are returned.
| name_wildcard | not verified to work as expected, recommended to use '*'. |
| NoPermissionEx | ||
| NotConnectedToManagerException | ||
| SystemException |
References administratorInfo, si::ijs::maci::ManagerOperations::get_container_info(), si::ijs::maci::ClientInfo::h, and managerRef.
Referenced by alma::acs::gui::loglevel::tree::LogLvlTreeModel::buildContainersNode().
| void alma::acs::gui::loglevel::tree::AdministratorClient::taggedmessage | ( | short | type, | |
| short | messageID, | |||
| String | message | |||
| ) | [inline] |
Referenced by connectToManager(), disconnect(), retrieveClientInfo(), retrieveComponentInfo(), and retrieveContainerInfo().
Referenced by disconnect(), and retrieveClientInfo().
long alma::acs::gui::loglevel::tree::AdministratorClient::executionId = 0 [private] |
volatile boolean alma::acs::gui::loglevel::tree::AdministratorClient::interrupted [private] |
Referenced by interruptManagerBusy(), and retrieveClientInfo().
Logger alma::acs::gui::loglevel::tree::AdministratorClient::logger = null [private] |
Referenced by AdministratorClient(), connectToManager(), and disconnect().
String alma::acs::gui::loglevel::tree::AdministratorClient::managerLoc = null [private] |
Referenced by connectToManager(), disconnect(), and getManagerLoc().
Manager alma::acs::gui::loglevel::tree::AdministratorClient::managerRef = null [private] |
Referenced by connectToManager(), disconnect(), getManagerRef(), retrieveClientInfo(), retrieveComponentInfo(), and retrieveContainerInfo().
ORB alma::acs::gui::loglevel::tree::AdministratorClient::orb = null [private] |
Referenced by AdministratorClient(), and connectToManager().
long alma::acs::gui::loglevel::tree::AdministratorClient::startTime = System.currentTimeMillis() [private] |
Referenced by authenticate().
1.6.2