DESY ACOP Beans Home

com.cosylab.gui.displayers
Interface AsynchronousObjectConsumer

All Superinterfaces:
DataConsumer
All Known Implementing Classes:
FeedbackConsumerSupport

public interface AsynchronousObjectConsumer
extends DataConsumer

NumericAsynchronousConsumer is consumer, which receives update request and returns some time later respons with detail information about request. Update method itself returns immediatelly.

This asynchronous consumer is specialized for consumers, which will use target value as Number.

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:
Dec 3, 2003.
Version:
$Id: AsynchronousObjectConsumer.java,v 1.3 2008-04-22 12:31:02 jbobnar Exp $
Author:
Igor Kriznar
See Also:
UpdateRequest.getTargetValue()

Method Summary
 void updateAcynchronously(UpdateRequest request)
          Calls asynchronous update on this data consumer.
 
Methods inherited from interface com.cosylab.gui.displayers.DataConsumer
getDataConsumer, getDefaultDataConsumer, getName, getSupportedCharacteristics, getSupportedConsumerTypes, setCharacteristics, updateDataState
 

Method Detail

updateAcynchronously

void updateAcynchronously(UpdateRequest request)
                          throws CommonException
Calls asynchronous update on this data consumer. Data consumer must return this call as soon as possible and inform UpdateRequestListener inside UpdateRequest about response.

Parameters:
request - the update request, holds UpdateRequestlistener which asynchronously receives reponse
Throws:
CommonException


Copyright © 2010. All Rights Reserved.