Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl Class Reference

Inheritance diagram for alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl:

Inheritance graph
[legend]
Collaboration diagram for alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void initialize (ContainerServices containerServices)
void execute () throws ComponentLifecycleException
void cleanUp ()
void aboutToAbort ()
ComponentStates componentState ()
String name ()
int sendBlocks (int initVal, int lastVal, int changeVal, float period) throws CouldntPerformActionEx

Static Public Attributes

final String PROP_ASSERTION_MESSAGE = "CounterSupplierAssert"

Package Attributes

int eventCount = 0
volatile boolean flag = false

Private Attributes

ContainerServices m_containerServices
Logger m_logger
SimpleSupplier m_supplier = null

Detailed Description

CounterSupplier is a simple class that creates the "counter" notification channel, generates events, and then disconnects from the channel.
Author:
eallaert


Member Function Documentation

void alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::aboutToAbort  )  [inline]
 

void alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::cleanUp  )  [inline]
 

ComponentStates alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::componentState  )  [inline]
 

Implements alma::ACS::ACSComponentOperations.

void alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::execute  )  throws ComponentLifecycleException [inline]
 

void alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::initialize ContainerServices  containerServices  )  [inline]
 

String alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::name  )  [inline]
 

Implements alma::ACS::ACSComponentOperations.

int alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::sendBlocks int  initVal,
int  lastVal,
int  changeVal,
float  period
throws CouldntPerformActionEx [inline]
 

Exceptions:
CouldntPerformActionEx 
See also:
alma.COUNTER.CounterConsumerOperations::getBlocks()

Implements alma::COUNTER::CounterSupplierOperations.


Member Data Documentation

int alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::eventCount = 0 [package]
 

Total number of events that have been consumed.

volatile boolean alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::flag = false [package]
 

ContainerServices alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::m_containerServices [private]
 

Logger alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::m_logger [private]
 

SimpleSupplier alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::m_supplier = null [private]
 

final String alma::COUNTER::CounterSupplierImpl::CounterSupplierImpl::PROP_ASSERTION_MESSAGE = "CounterSupplierAssert" [static]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:03:25 2009 for ACS Java API by doxygen 1.3.8