

Public Member Functions | |
| NotificationChannelSuscription (String channelName, ContainerServices cServices) throws alma.acs.exceptions.AcsJException | |
| void | push_structured_event (StructuredEvent stEvent) throws org.omg.CosEventComm.Disconnected |
| String | getChannelName () |
Private Member Functions | |
| void | saveSampledData (long time, double value) |
Private Attributes | |
| LinkedBlockingQueue< DataItem > | cChannel = null |
| ContainerServices | cServices |
| cl::utfsm::samplingSystemUI::core::NotificationChannelSuscription::NotificationChannelSuscription | ( | String | channelName, | |
| ContainerServices | cServices | |||
| ) | throws alma.acs.exceptions.AcsJException [inline] |
Notifies the subscription to the channel service.
| channelName | The name of the channel. | |
| cServices | Services of the container. |
References alma::acs::nc::Consumer::addSubscription(), cChannel, cServices, alma::acs::container::ContainerServicesBase::getLogger(), and alma::acs::nc::Consumer::m_channelName.
| String cl::utfsm::samplingSystemUI::core::NotificationChannelSuscription::getChannelName | ( | ) | [inline] |
Returns the name of the channel.
References alma::acs::nc::Consumer::m_channelName.
| void cl::utfsm::samplingSystemUI::core::NotificationChannelSuscription::push_structured_event | ( | StructuredEvent | stEvent | ) | throws org.omg.CosEventComm.Disconnected [inline] |
Saves a log with information about time and value of the sampled data.
| stEvent | A structured event. |
Reimplemented from alma::acs::nc::Consumer.
References cServices, alma::acs::container::ContainerServicesBase::getLogger(), alma::acs::nc::Consumer::m_logger, alma::acssamp::SampObjPackage::SampDataBlock::sampTime, alma::acssamp::SampObjPackage::SampDataBlock::sampVal, and saveSampledData().
| void cl::utfsm::samplingSystemUI::core::NotificationChannelSuscription::saveSampledData | ( | long | time, | |
| double | value | |||
| ) | [inline, private] |
References cChannel, cServices, and alma::acs::container::ContainerServicesBase::getLogger().
Referenced by push_structured_event().
LinkedBlockingQueue<DataItem> cl::utfsm::samplingSystemUI::core::NotificationChannelSuscription::cChannel = null [private] |
Referenced by NotificationChannelSuscription(), and saveSampledData().
ContainerServices cl::utfsm::samplingSystemUI::core::NotificationChannelSuscription::cServices [private] |
Referenced by NotificationChannelSuscription(), push_structured_event(), and saveSampledData().
1.6.2