Public Member Functions | |
void | run () throws CouldntAccessComponentEx, TypeNotSupportedEx, AcsJContainerServicesEx, CouldntAccessPropertyEx, CORBAProblemEx, CouldntCreateObjectEx, MemoryFaultEx, OutOfBoundsEx, AcsJException, SamplingManagerException |
PropertySamp (SampDetail sampDetail) | |
void | stop () |
Package Attributes | |
SampDetail | sampDetail = null |
SamplingManager | sManager = null |
SampObj | sampObject = null |
NotificationChannelSuscription | ncs = null |
AcsInformation | info = null |
For each sampling detail one of this classes must be created to sample the data. This class creates the notification channel, and starts the sampling. This class also provides means of stoping and cleaning up the sampling. Sampling is down in separated Thread, so the run member will return imediatly.
cl.utfsm.samplingSystemUI.core.PropertySamp.PropertySamp | ( | SampDetail | sampDetail | ) |
Assigns a SamplingManager and an AcsInformation object to the sampDetail (each sampDetail should have it's own Manager)
sampDetail | Instance of SampDetail to be Monitored by the Manager. |
References cl.utfsm.samplingSystemUI.core.AcsInformation.getInstance(), cl.utfsm.samplingSystemUI.core.SamplingManager.getInstance(), cl.utfsm.samplingSystemUI.core.PropertySamp.info, and cl.utfsm.samplingSystemUI.core.PropertySamp.sManager.
void cl.utfsm.samplingSystemUI.core.PropertySamp.run | ( | ) | throws CouldntAccessComponentEx, TypeNotSupportedEx, AcsJContainerServicesEx, CouldntAccessPropertyEx, CORBAProblemEx, CouldntCreateObjectEx, MemoryFaultEx, OutOfBoundsEx, AcsJException, SamplingManagerException |
Generates a SamplingObject (if none exist for the target sampDetail) and creates a channel for communication
CouldntAccessComponentEx | ||
TypeNotSupportedEx | ||
AcsJContainerServicesEx | ||
CouldntAccessPropertyEx | ||
CORBAProblemEx | ||
CouldntCreateObjectEx | ||
MemoryFaultEx | ||
OutOfBoundsEx | ||
AcsJException | ||
SamplingManagerException |
References alma.acs.nc.Consumer.consumerReady(), cl.utfsm.samplingSystemUI.core.AcsInformation.getContainerServices(), cl.utfsm.samplingSystemUI.core.SamplingManager.getSamplingObj(), cl.utfsm.samplingSystemUI.core.PropertySamp.info, cl.utfsm.samplingSystemUI.core.PropertySamp.ncs, cl.utfsm.samplingSystemUI.core.PropertySamp.sampDetail, cl.utfsm.samplingSystemUI.core.PropertySamp.sampObject, and cl.utfsm.samplingSystemUI.core.PropertySamp.sManager.
void cl.utfsm.samplingSystemUI.core.PropertySamp.stop | ( | ) |
Closes the Notification Channel, stops sampling of the current SampDetail and destroys the Sampling Object
References alma.acs.nc.Consumer.disconnect(), cl.utfsm.samplingSystemUI.core.PropertySamp.ncs, and cl.utfsm.samplingSystemUI.core.PropertySamp.sampObject.
AcsInformation cl.utfsm.samplingSystemUI.core.PropertySamp.info = null [package] |
SampDetail cl.utfsm.samplingSystemUI.core.PropertySamp.sampDetail = null [package] |
Referenced by cl.utfsm.samplingSystemUI.core.PropertySamp.run().
SampObj cl.utfsm.samplingSystemUI.core.PropertySamp.sampObject = null [package] |
SamplingManager cl.utfsm.samplingSystemUI.core.PropertySamp.sManager = null [package] |