

Public Member Functions | |
| EventSupplierImpl (Logger logger, ContainerServices cs, String clientName) throws Exception | |
| void | initialize (ContainerServices containerServices) throws ComponentLifecycleException |
| void | sendEvents (short param) |
| void | cleanUp () |
Private Attributes | |
| Logger | m_logger |
| ContainerServices | m_containerServices |
| final String | channelName = "blar" |
| SimpleSupplier | m_supplier = null |
Class designed for testing event suppliers.
| alma::acs::eventbrowser::model::EventSupplierImpl::EventSupplierImpl | ( | Logger | logger, | |
| ContainerServices | cs, | |||
| String | clientName | |||
| ) | throws Exception [inline] |
References m_containerServices, and m_logger.
| void alma::acs::eventbrowser::model::EventSupplierImpl::cleanUp | ( | ) | [inline] |
Disconnects the supplier.
Referenced by alma::acs::eventbrowser::model::EventReceivingTest::tearDown().
| void alma::acs::eventbrowser::model::EventSupplierImpl::initialize | ( | ContainerServices | containerServices | ) | throws ComponentLifecycleException [inline] |
Sets up the SimpleSupplier.
| containerServices | Services to components. |
| ComponentLifecycleException | Not thrown. |
References channelName, m_containerServices, m_logger, and m_supplier.
Referenced by alma::acs::eventbrowser::model::EventReceivingTest::setUp().
| void alma::acs::eventbrowser::model::EventSupplierImpl::sendEvents | ( | short | param | ) | [inline] |
Sends some events to an event channel.
| param | number of events to send |
Implements alma::acs::eventbrowser::model::SupplierCompOperations.
References m_logger, m_supplier, alma::acs::nc::SimpleSupplier::publishEvent(), and alma::acs::nc::SimpleSupplier::subscription_change().
Referenced by alma::acs::eventbrowser::model::EventReceivingTest::testReceiveEvents().
final String alma::acs::eventbrowser::model::EventSupplierImpl::channelName = "blar" [private] |
Referenced by initialize().
Referenced by EventSupplierImpl(), and initialize().
Logger alma::acs::eventbrowser::model::EventSupplierImpl::m_logger [private] |
Referenced by EventSupplierImpl(), initialize(), and sendEvents().
Referenced by initialize(), and sendEvents().
1.6.2