

Public Member Functions | |
| acssampSupplier (String managerLoc, String clientName) throws Exception | |
| void | sampleLampBrightness () throws AcsJContainerServicesEx |
Static Public Member Functions | |
| static void | main (String[] args) |
Private Attributes | |
| final Logger | m_logger |
A client of the Samp component, which asks the samp component to sample the brightness property of the Lamp component. The result should be that the samp component publishes the aggregated sampling information on the notification channel "NC_LAMP1_brightness_1000000_10000000".
Indirectly this class can thus be seen as an NC supplier, which I guess explains its name.
| alma::acssamp::jtest::acssampSupplier::acssampSupplier | ( | String | managerLoc, | |
| String | clientName | |||
| ) | throws Exception [inline] |
References alma::acs::component::client::ComponentClient::getContainerServices(), alma::acs::container::ContainerServicesBase::getLogger(), and m_logger.
Referenced by main().
| static void alma::acssamp::jtest::acssampSupplier::main | ( | String[] | args | ) | [inline, static] |
References acssampSupplier(), and sampleLampBrightness().
| void alma::acssamp::jtest::acssampSupplier::sampleLampBrightness | ( | ) | throws AcsJContainerServicesEx [inline] |
Calls methods on our samp component to sample LAMP1.brightness, with the full show of suspending, resuming, stopping and eventually destroying this.
References alma::ACS::SubscriptionOperations::destroy(), alma::acs::component::client::ComponentClient::getContainerServices(), alma::acssamp::SampOperations::initSampObj(), m_logger, alma::acs::container::ContainerServices::releaseComponent(), alma::ACS::SubscriptionOperations::resume(), alma::acssamp::SampObjOperations::start(), alma::acssamp::SampObjOperations::stop(), and alma::ACS::SubscriptionOperations::suspend().
Referenced by main().
final Logger alma::acssamp::jtest::acssampSupplier::m_logger [private] |
Reimplemented from alma::acs::component::client::ComponentClient.
Referenced by acssampSupplier(), and sampleLampBrightness().
1.6.2