DESY ACOP Beans Home

com.cosylab.gui.displayers
Interface SynchronousNumberConsumer

All Superinterfaces:
DataConsumer
All Known Implementing Classes:
FeedbackConsumerSupport, ReverseConsumer, SynchronousNumberDispatcher

public interface SynchronousNumberConsumer
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.

This interface is intended to be used by DataSource. Displayer which want to notify data source about value changes done by user need to implement DataSource which supports this type of consumer.

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

Method Summary
 void updateSynchronously(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

updateSynchronously

void updateSynchronously(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.