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 | |
| static final String | PROP_ASSERTION_MESSAGE = "CounterSupplierAssert" |
Package Attributes | |
| int | eventCount = 0 |
| volatile boolean | flag = false |
CounterSupplier is a simple class that creates the "counter" notification channel, generates events, and then disconnects from the channel.
| void alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.aboutToAbort | ( | ) |
| void alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.cleanUp | ( | ) |
References alma.acs.nc.SimpleSupplier.disconnect().
Referenced by alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.aboutToAbort().
| ComponentStates alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.componentState | ( | ) |
| void alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.execute | ( | ) | throws ComponentLifecycleException |
| void alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.initialize | ( | ContainerServices | containerServices | ) |
| String alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.name | ( | ) |
| int alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.sendBlocks | ( | int | initVal, | |
| int | lastVal, | |||
| int | changeVal, | |||
| float | period | |||
| ) | throws CouldntPerformActionEx |
| CouldntPerformActionEx |
References alma.acs.nc.SimpleSupplier.disconnect(), alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.eventCount, alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.flag, alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.PROP_ASSERTION_MESSAGE, and alma.acs.nc.SimpleSupplier.publishEvent().
int alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.eventCount = 0 [package] |
Total number of events that have been consumed.
Referenced by alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.sendBlocks().
volatile boolean alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.flag = false [package] |
final String alma.COUNTER.CounterSupplierImpl.CounterSupplierImpl.PROP_ASSERTION_MESSAGE = "CounterSupplierAssert" [static] |
1.7.0