

Public Member Functions | |
| TestComponents (Logger logger, String managerLoc, String clientName) throws Exception | |
| Override void | clientLoggedIn (ClientInfo clientInfo) |
| Override void | clientLoggedOut (int clientHandle) |
| Override void | componentLoggedIn (ComponentInfo compInfo) |
| Override void | componentLoggedOut (int comphandle) |
| Override void | componentReleased (ComponentInfo compInfo) |
| Override void | containerLoggedIn (ContainerInfo contInfo) |
| Override void | containerLoggedOut (int conthandle) |
| void | test () |
Static Public Member Functions | |
| void | main (String[] args) |
Private Member Functions | |
| boolean | waitContainers () |
| boolean | waitComponents () |
| void | getComponents () throws Exception |
| void | releaseComponents () |
Private Attributes | |
| AdministratorClient | administratorClient |
| boolean | pyContainerLogged = false |
| boolean | cppContainerLogged = false |
| boolean | javaContainerLogged = false |
| int | pyContHandle |
| int | cppContHandle |
| int | javaContHandle |
| boolean | pyComponentLogged = false |
| boolean | cppComponentLogged = false |
| boolean | javaComponentLogged = false |
| int | pyCompHandle |
| int | cppCompHandle |
| int | javaCompHandle |
| HelloWorld | pyHW = null |
| HelloWorld | cppHW = null |
| HelloWorld | javaHW = null |
It gets the java, python and C++ components and call their CORBA method after the containers have been restarted.
The checks is done twice. The first one shutting down the container in a normal way and the second one by killing the containers.
|
||||||||||||||||
|
Constructor
|
|
|
Called if a client logged in
Implements alma::test::corbareftest::AdministratorListener.
|
|
|
Called if a client logged in
Implements alma::test::corbareftest::AdministratorListener.
|
|
|
Called if a component logged in or when a client requested a component
Implements alma::test::corbareftest::AdministratorListener.
|
|
|
Called if component logged out
Implements alma::test::corbareftest::AdministratorListener.
|
|
|
Called when a client released a component. If this method is called it means that the component is still alive (used by some client)
Implements alma::test::corbareftest::AdministratorListener.
|
|
|
Called if container logged in
Implements alma::test::corbareftest::AdministratorListener.
|
|
|
Called if container logged out
Implements alma::test::corbareftest::AdministratorListener.
|
|
|
Get ACS components |
|
|
|
|
|
Release ACS components |
|
|
Test if the references are valid.
It works in this way: 1. get the components (python, java and C++ versions) 2. execute the At the beginning the containers are online, activated by tat as defined in the prologue. A separate process shuts down the containers and restarted them by using acs commands. Lines 1-5 check if the references are valid with normal restarting of containers. After that, the external process kills the containers (abnormal termination) and after a while restarts them Lines 6-8 check if the references are valid also in this second case. |
|
|
Wait until all the components are back online
|
|
|
Wait until all the containers are back online
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8