DESY ACOP Beans Home

com.cosylab.gui.adapters
Class SynchronousNumberDispatcher

java.lang.Object
  extended by com.cosylab.gui.displayers.DataSourceSupport
      extended by com.cosylab.gui.adapters.DataConsumerDispatcher
          extended by com.cosylab.gui.adapters.SynchronousNumberDispatcher
All Implemented Interfaces:
DataConsumer, DataSource, SynchronousNumberConsumer, java.io.Serializable

public class SynchronousNumberDispatcher
extends DataConsumerDispatcher
implements SynchronousNumberConsumer

SynchronousNumberDispatcher is implementation of SynchronousNumberConsumer which delegates value updates to registered consumers.

Since:
Feb 14, 2004.
Version:
$Id: SynchronousNumberDispatcher.java,v 1.3 2008-04-22 12:31:02 jbobnar Exp $
Author:
Igor Kriznar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.cosylab.gui.adapters.DataConsumerDispatcher
name
 
Fields inherited from class com.cosylab.gui.displayers.DataSourceSupport
types
 
Constructor Summary
SynchronousNumberDispatcher()
          Creates new dispatcher.
 
Method Summary
 void updateSynchronously(long timestamp, java.lang.Number value)
          Notifys this consumer about new dynamic value update.
 
Methods inherited from class com.cosylab.gui.adapters.DataConsumerDispatcher
getDataConsumer, getDefaultDataConsumer, getName, getSupportedCharacteristics, getSupportedConsumerTypes, setCharacteristics, updateDataState
 
Methods inherited from class com.cosylab.gui.displayers.DataSourceSupport
addConsumer, clear, clone, extractSupportedCharacteristics, getAcceptableConsumerTypes, getConsumers, removeAllConsumers, removeConsumer
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.cosylab.gui.displayers.DataConsumer
getDataConsumer, getDefaultDataConsumer, getName, getSupportedCharacteristics, getSupportedConsumerTypes, setCharacteristics, updateDataState
 

Constructor Detail

SynchronousNumberDispatcher

public SynchronousNumberDispatcher()
Creates new dispatcher.

Method Detail

updateSynchronously

public void updateSynchronously(long timestamp,
                                java.lang.Number value)
Description copied from interface: SynchronousNumberConsumer
Notifys this consumer about new dynamic value update.

Specified by:
updateSynchronously in interface SynchronousNumberConsumer
Parameters:
timestamp - the time of dynamic value event
value - new value


Copyright © 2010. All Rights Reserved.