01: /*
02: * MCS Media Computer Software Copyright (c) 2005 by MCS
03: * -------------------------------------- Created on 23.04.2005 by w.klaas
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
06: * use this file except in compliance with the License. You may obtain a copy of
07: * the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14: * License for the specific language governing permissions and limitations under
15: * the License.
16: */
17: package de.mcs.jmeasurement;
18:
19: /**
20: * This is the Interface for the a callback when updating. If you plan to be
21: * informed about updating a measurepoint, you must implement this interface and
22: * call setMeasureDataCallback() in the MeasureFactory.
23: *
24: * @see de.mcs.jmeasurement.MeasureFactory#setMeasureDataCallback(MeasureDataCallback)
25: * @author w.klaas
26: */
27: public interface MeasureDataCallback {
28:
29: /**
30: * This is the call back funktion. It will be called everytime after a
31: * monitor was stopped and before the data will be inserted into the
32: * pointdata.
33: *
34: * @param point
35: * the measurepoint, where the data will be added.
36: * @param monitor
37: * the monitor with the data to be added.
38: */
39: void setMonitor(MeasurePoint point, Monitor monitor);
40:
41: }
|