DESY ACOP Beans Home

com.cosylab.gui.displayers
Interface AsynchronousStringConsumer

All Superinterfaces:
DataConsumer
All Known Implementing Classes:
FeedbackConsumerSupport

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

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

Since:
Dec 3, 2003.
Version:
$Id: AsynchronousStringConsumer.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.