alma::acs::nc::HelperTest::HelperWithChannelCreationSynch Class Reference

Inheritance diagram for alma::acs::nc::HelperTest::HelperWithChannelCreationSynch:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::nc::HelperTest::HelperWithChannelCreationSynch:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HelperWithChannelCreationSynch (ContainerServicesBase services) throws AcsJException

Protected Member Functions

EventChannel createNotifyChannel_internal (EventChannelFactory notifyFactory, Property[] initial_qos, Property[] initial_admin, String channelName, IntHolder channelIdHolder) throws UnsupportedAdmin, NameAlreadyUsed, UnsupportedQoS, NameMapError
EventChannel createNotificationChannel (String channelName, String channelKind, String notifyFactoryName, CountDownLatch synch) throws AcsJException, NameAlreadyUsed, NameMapError
EventChannel getNotificationChannel (String channelName, String channelKind, String notifyFactoryName, CountDownLatch synch) throws AcsJException

Private Attributes

volatile CountDownLatch synch

Detailed Description

We extend the tested Helper class so that this test can synchronize on the actual channel creation


Constructor & Destructor Documentation

alma::acs::nc::HelperTest::HelperWithChannelCreationSynch::HelperWithChannelCreationSynch ( ContainerServicesBase  services  )  throws AcsJException [inline]

Member Function Documentation

EventChannel alma::acs::nc::HelperTest::HelperWithChannelCreationSynch::createNotificationChannel ( String  channelName,
String  channelKind,
String  notifyFactoryName,
CountDownLatch  synch 
) throws AcsJException, NameAlreadyUsed, NameMapError [inline, protected]
EventChannel alma::acs::nc::HelperTest::HelperWithChannelCreationSynch::createNotifyChannel_internal ( EventChannelFactory  notifyFactory,
Property[]  initial_qos,
Property[]  initial_admin,
String  channelName,
IntHolder  channelIdHolder 
) throws UnsupportedAdmin, NameAlreadyUsed, UnsupportedQoS, NameMapError [inline, protected]

Counts down the optional CountDownLatch, then delegates to parent method

Reimplemented from alma::acs::nc::Helper.

References alma::acs::nc::Helper::channelName, alma::acs::nc::Helper::m_logger, alma::acs::nc::Helper::notifyFactory, and synch.

EventChannel alma::acs::nc::HelperTest::HelperWithChannelCreationSynch::getNotificationChannel ( String  channelName,
String  channelKind,
String  notifyFactoryName,
CountDownLatch  synch 
) throws AcsJException [inline, protected]

Member Data Documentation


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

Generated by  doxygen 1.6.2