

Public Member Functions | |
| AbstractNCComponentTest (Logger logger, String managerLoc, String clientName) throws Exception | |
| void | sendEvents () |
| void | tearDown () throws Exception |
Static Public Member Functions | |
| static void | main (String[] args) |
Private Attributes | |
| NCPublisher | publisherComp |
| NCReceiver | receiverComp |
HSO 2009-05: The components used by this test have been modified to no longer use the deprecated AbstractNotificationChannel but instead to use CorbaNotificationChannel directly. Therefore this test is outdated and should probably be removed. I just leave it in now, hoping that it might give some little additional coverage.
| alma::demo::test::client::AbstractNCComponentTest::AbstractNCComponentTest | ( | Logger | logger, | |
| String | managerLoc, | |||
| String | clientName | |||
| ) | throws Exception [inline] |
| logger | ||
| managerLoc | ||
| clientName |
| Exception |
References alma::acs::component::client::ComponentClient::getContainerServices(), publisherComp, and receiverComp.
Referenced by main().
| static void alma::demo::test::client::AbstractNCComponentTest::main | ( | String[] | args | ) | [inline, static] |
References AbstractNCComponentTest(), sendEvents(), and tearDown().
| void alma::demo::test::client::AbstractNCComponentTest::sendEvents | ( | ) | [inline] |
References alma::demo::NCPublisherOperations::publish(), and publisherComp.
Referenced by main().
| void alma::demo::test::client::AbstractNCComponentTest::tearDown | ( | ) | throws Exception [inline] |
Must be called by the application that uses this class, when it is done using ACS components. At the latest it should be called when the application itself terminates.
Releases all previously obtained components (using manager), and logs out from the manager. It also stops remote logging and terminates the CORBA ORB unless an AcsCorba instance was provided in the c'tor; otherwise the application remains responsible to clean up logging and the ORB.
Reimplemented from alma::acs::component::client::ComponentClient.
References alma::acs::component::client::ComponentClient::getContainerServices(), and alma::acs::container::ContainerServices::releaseComponent().
Referenced by main().
Referenced by AbstractNCComponentTest(), and sendEvents().
Referenced by AbstractNCComponentTest().
1.6.2