

Public Member Functions | |
| NCReceiverImpl () | |
| void | initialize (ContainerServices containerServices) throws alma.acs.component.ComponentLifecycleException |
| void | execute () |
| void | cleanUp () |
| void | receive (EventDescription e) |
Private Attributes | |
| Receiver | receiver |
| Logger | logger |
This is an example of a receiver class for the Simulated classes. The only method that is required is the receive method. This is how Receiver.java knows that this is a valid receiver class.
| alma::demo::test::AbstractNC::NCReceiverImpl::NCReceiverImpl | ( | ) | [inline] |
| void alma::demo::test::AbstractNC::NCReceiverImpl::cleanUp | ( | ) | [inline] |
Called after the last functional call to the component has finished. The component should then orderly release resources etc.
Reimplemented from alma::acs::component::ComponentImplBase.
References alma::acs::nc::CorbaReceiver::disconnect(), and receiver.
| void alma::demo::test::AbstractNC::NCReceiverImpl::execute | ( | ) | [inline] |
Called after ComponentLifecycle#initialize(ContainerServices) to tell the component that it has to be ready to accept incoming functional calls any time.
Examples:
initialize seemed too early Must be implemented as a synchronous (blocking) call (can spawn threads though).
Reimplemented from alma::acs::component::ComponentImplBase.
References alma::acs::nc::Receiver::attach(), alma::acs::nc::Receiver::begin(), logger, and receiver.
| void alma::demo::test::AbstractNC::NCReceiverImpl::initialize | ( | ContainerServices | containerServices | ) | throws alma.acs.component.ComponentLifecycleException [inline] |
Subclass must call super.initialize(containerServices) unless it overrides as well all other methods which access the member vars of this class.
Reimplemented from alma::acs::component::ComponentImplBase.
References logger, alma::acs::component::ComponentImplBase::m_containerServices, and receiver.
| void alma::demo::test::AbstractNC::NCReceiverImpl::receive | ( | EventDescription | e | ) | [inline] |
References logger, and alma::acsnc::EventDescription::name.
Logger alma::demo::test::AbstractNC::NCReceiverImpl::logger [private] |
Referenced by execute(), initialize(), and receive().
Referenced by cleanUp(), execute(), and initialize().
1.6.2