public class PropertySamp
extends java.lang.Object
| Constructor and Description |
|---|
PropertySamp(SampDetail sampDetail)
Assigns a SamplingManager and an AcsInformation object to the sampDetail (each sampDetail should have it's own Manager)
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Generates a SamplingObject (if none exist for the target sampDetail) and creates a channel for communication
|
void |
stop()
Closes the Notification Channel, stops sampling of the current SampDetail and destroys the Sampling Object
|
public PropertySamp(SampDetail sampDetail)
sampDetail - Instance of SampDetail to be Monitored by the Manager.public void run()
throws CouldntAccessComponentEx,
TypeNotSupportedEx,
AcsJContainerServicesEx,
CouldntAccessPropertyEx,
CORBAProblemEx,
CouldntCreateObjectEx,
MemoryFaultEx,
OutOfBoundsEx,
AcsJException,
SamplingManagerException
CouldntAccessComponentExTypeNotSupportedExAcsJContainerServicesExCouldntAccessPropertyExCORBAProblemExCouldntCreateObjectExMemoryFaultExOutOfBoundsExAcsJExceptionSamplingManagerExceptionpublic void stop()
throws AcsJIllegalStateEventEx,
AcsJCouldntPerformActionEx
AcsJCouldntPerformActionExAcsJIllegalStateEventEx