

Public Member Functions | |
| synchronized void | initSubsysPass1 () throws AcsStateActionException |
| synchronized void | initSubsysPass2 () |
| synchronized void | reinitSubsystem () |
| synchronized void | shutDownSubsysPass1 () |
| synchronized void | shutDownSubsysPass2 () |
Package Functions | |
| DummyActionImpl (Logger logger) | |
| void | throwExInInitPass1 (boolean throwEx) |
| int | getCallsToReinit () |
Private Member Functions | |
| void | log (String action) |
Private Attributes | |
| Logger | m_actionLogger |
| boolean | m_throwExInInitPass1 |
| int | callsToReinit |
Test implementation of the state machine's action interface. Methods will be called by the state machine.
| alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::DummyActionImpl | ( | Logger | logger | ) | [inline, package] |
References m_actionLogger, and m_throwExInInitPass1.
| int alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::getCallsToReinit | ( | ) | [inline, package] |
Allows the tests to check how often reinit has been called. : better use a real sync mechanism so that test can wait till the method was called, or fail with a time out.
References callsToReinit.
Referenced by alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::testReentryToCompositeState().
| synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::initSubsysPass1 | ( | ) | throws AcsStateActionException [inline] |
Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.
References log(), and m_throwExInInitPass1.
| synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::initSubsysPass2 | ( | ) | [inline] |
Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.
References log().
| void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::log | ( | String | action | ) | [inline, private] |
References m_actionLogger.
Referenced by initSubsysPass1(), initSubsysPass2(), reinitSubsystem(), shutDownSubsysPass1(), and shutDownSubsysPass2().
| synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::reinitSubsystem | ( | ) | [inline] |
Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.
References callsToReinit, and log().
| synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::shutDownSubsysPass1 | ( | ) | [inline] |
Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.
References log().
| synchronized void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::shutDownSubsysPass2 | ( | ) | [inline] |
Implements alma::ACS::MasterComponentImpl::statemachine::AlmaSubsystemActions.
References log().
| void alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::throwExInInitPass1 | ( | boolean | throwEx | ) | [inline, package] |
Determines the optional test feature of letting initSubsysPass1() throw an exception.
References m_throwExInInitPass1.
Referenced by alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::testActionException().
int alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::callsToReinit [private] |
Referenced by getCallsToReinit(), and reinitSubsystem().
Logger alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::m_actionLogger [private] |
Referenced by DummyActionImpl(), and log().
boolean alma::ACS::MasterComponentImpl::statemachine::StateMachineTest::DummyActionImpl::m_throwExInInitPass1 [private] |
Referenced by DummyActionImpl(), initSubsysPass1(), and throwExInInitPass1().
1.6.2