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

alma::alarmsystem::test::manager::ManagerTest Class Reference

List of all members.

Public Member Functions

 ManagerTest ()
void close ()
Override void onAlarm (Alarm alarm)
Override void onException (LaserSelectionException e)
void faultStateReceived (FaultState faultState)

Static Public Member Functions

void main (String[] args)

Private Attributes

AdvancedComponentClient client
CategoryClient categoryClient
SourceClient sourceClient
ContainerServices containerServices

Static Private Attributes

final int WAIT_TIME = 90000

Detailed Description

Listen to alarms from sources and the alarm component. The alarms are written to the stdout to be checked by tat.

Author:
acaproni


Constructor & Destructor Documentation

alma::alarmsystem::test::manager::ManagerTest::ManagerTest  )  [inline]
 

Constructor.

Connect as a component client.

Parameters:
pidFileName The name of the file containing the PID of the container to kill


Member Function Documentation

void alma::alarmsystem::test::manager::ManagerTest::close  )  [inline]
 

void alma::alarmsystem::test::manager::ManagerTest::faultStateReceived FaultState  faultState  )  [inline]
 

See also:
alma.alarmsystem.clients.SourceClient

void alma::alarmsystem::test::manager::ManagerTest::main String[]  args  )  [inline, static]
 

Start the program and wait to leave the manager enough time to detect the crash of the container and send the alarm.

Parameters:
args 

Override void alma::alarmsystem::test::manager::ManagerTest::onAlarm Alarm  alarm  )  [inline]
 

See also:
AlarmSelectionListener

Override void alma::alarmsystem::test::manager::ManagerTest::onException LaserSelectionException  e  )  [inline]
 

See also:
AlarmSelectionListener


Member Data Documentation

CategoryClient alma::alarmsystem::test::manager::ManagerTest::categoryClient [private]
 

AdvancedComponentClient alma::alarmsystem::test::manager::ManagerTest::client [private]
 

ContainerServices alma::alarmsystem::test::manager::ManagerTest::containerServices [private]
 

SourceClient alma::alarmsystem::test::manager::ManagerTest::sourceClient [private]
 

final int alma::alarmsystem::test::manager::ManagerTest::WAIT_TIME = 90000 [static, private]
 


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