DESY ACOP Beans Home

com.cosylab.gui.displayers
Interface NumberConsumer

All Superinterfaces:
DataConsumer
All Known Implementing Classes:
DoubleConsumerMulticaster, LongConsumerMulticaster, ObjectConsumerMulticaster, PatternConsumerMulticaster, StringConsumerMulticaster

public interface NumberConsumer
extends DataConsumer

NumberConsumer is data consumer for receiveing updates of Number dynamic values, which will block call until update is completer and throws exception on fail.

Since:
Nov 24, 2003.
Version:
$Id: NumberConsumer.java,v 1.3 2008-04-22 12:31:02 jbobnar Exp $
Author:
Igor Kriznar

Method Summary
 void updateValue(long timestamp, java.lang.Number value)
          Notifys this consumer about new dynamic value update.
 
Methods inherited from interface com.cosylab.gui.displayers.DataConsumer
getDataConsumer, getDefaultDataConsumer, getName, getSupportedCharacteristics, getSupportedConsumerTypes, setCharacteristics, updateDataState
 

Method Detail

updateValue

void updateValue(long timestamp,
                 java.lang.Number value)
                 throws CommonException
Notifys this consumer about new dynamic value update.

Parameters:
timestamp - the time of dynamic value event
value - new value
Throws:
CommonException


Copyright © 2010. All Rights Reserved.