ALMA Computing Group

alma::demo::EventConsumerImpl::EventConsumerImpl Class Reference

Implementation class of the ConsumerComp IDL interface. More...

List of all members.

Public Member Functions

void initialize (ContainerServices containerServices) throws ComponentLifecycleException
 Sets up the Consumer.
void receive (alma.FRIDGE.temperatureDataBlockEvent joe)
 This method will be called whenever a temperatureDataBlockEvent becomes available on the channel.
void cleanUp ()
 Disconnects the Consumer.

Private Attributes

Consumer m_consumer


Detailed Description

Implementation class of the ConsumerComp IDL interface.

Author:
dfugate

Definition at line 40 of file EventConsumerImpl.java.


Member Function Documentation

void alma::demo::EventConsumerImpl::EventConsumerImpl::cleanUp  )  [inline]
 

Disconnects the Consumer.

Definition at line 86 of file EventConsumerImpl.java.

References m_consumer.

void alma::demo::EventConsumerImpl::EventConsumerImpl::initialize ContainerServices  containerServices  )  throws ComponentLifecycleException [inline]
 

Sets up the Consumer.

Definition at line 47 of file EventConsumerImpl.java.

References m_consumer.

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). Definition at line 77 of file EventConsumerImpl.java.


Member Data Documentation

Consumer alma::demo::EventConsumerImpl::EventConsumerImpl::m_consumer [private]
 

Definition at line 42 of file EventConsumerImpl.java.

Referenced by cleanUp(), and initialize().


The documentation for this class was generated from the following file: