

Public Member Functions | |
| void | initialize (ContainerServices containerServices) throws ComponentLifecycleException |
| void | receive (alma.FRIDGE.temperatureDataBlockEvent joe) |
| void | cleanUp () |
Private Attributes | |
| Consumer | m_consumer |
Implementation class of the ConsumerComp IDL interface.
| void alma::demo::EventConsumerImpl::EventConsumerImpl::cleanUp | ( | ) | [inline] |
Disconnects the Consumer
Reimplemented from alma::acs::component::ComponentImplBase.
References alma::acs::nc::Consumer::disconnect(), and m_consumer.
| void alma::demo::EventConsumerImpl::EventConsumerImpl::initialize | ( | ContainerServices | containerServices | ) | throws ComponentLifecycleException [inline] |
Sets up the Consumer.
Reimplemented from alma::acs::component::ComponentImplBase.
References alma::acs::nc::Consumer::addSubscription(), alma::acs::nc::Consumer::consumerReady(), alma::acs::nc::Consumer::disconnect(), m_consumer, alma::acs::component::ComponentImplBase::m_containerServices, and alma::acs::component::ComponentImplBase::m_logger.
| void alma::demo::EventConsumerImpl::EventConsumerImpl::receive | ( | alma.FRIDGE.temperatureDataBlockEvent | joe | ) | [inline] |
This method will be called whenever a temperatureDataBlockEvent becomes available on the channel.
Note that this method is found by the framework through introspection, see Consumer#addSubscription(java.lang.Class, java.lang.Object).
References alma::acs::component::ComponentImplBase::m_logger.
Referenced by cleanUp(), and initialize().
1.6.2