Real-Time Java AOCS Framework v1.0 API Specification

RtjAocsFramework.ObjectMonitoring
Class TestPropertyMonitor

java.lang.Object
  |
  +--RtjAocsFramework.ObjectMonitoring.TestPropertyMonitor
All Implemented Interfaces:
PropertyMonitor

public class TestPropertyMonitor
extends Object
implements PropertyMonitor

Dummy object used as a property monitor for testing purposes. Whenever its propertyChange method is called, it increments a counter. Copyright: see the Copyright Notice.

Version:
1.0
Author:
Alessandro Pasetti (University of Konstanz)
See Also:
PropertyMonitor, The Object Monitoring Document.

Constructor Summary
TestPropertyMonitor()
           
 
Method Summary
 int getNotificationCounter()
           
 void propertyChange(Monitorable monitoredObject, int propertyIndex, ChangeObject changeObject)
          Call-back method that is called by the monitored object when its monitored property undergoes the change specified by changeObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPropertyMonitor

public TestPropertyMonitor()
Method Detail

propertyChange

public void propertyChange(Monitorable monitoredObject,
                           int propertyIndex,
                           ChangeObject changeObject)
Description copied from interface: PropertyMonitor
Call-back method that is called by the monitored object when its monitored property undergoes the change specified by changeObject.

Specified by:
propertyChange in interface PropertyMonitor
Parameters:
propertyIndex - the index of the property that has undergone the change
changeObject - the change object that was used to filter the property value and that triggered the change

getNotificationCounter

public int getNotificationCounter()

Real-Time Java AOCS Framework v1.0 API Specification

Real-Time Java AOCS Framework project home page

Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland