org.epics.ioc.ca
Interface ChannelGetRequester

All Superinterfaces:
Requester
All Known Subinterfaces:
ChannelPutGetRequester
All Known Implementing Classes:
BaseCDGet, BaseCDPut, BaseV3ChannelPutGet

public interface ChannelGetRequester
extends Requester

Requester for a Get.get request.

Author:
mrk

Method Summary
 void getDone(RequestResult requestResult)
          The request is done.
 boolean nextDelayedGetField(PVField pvField)
          Called as a result of a call to Get.getDelayed, The underlying database is locked and this is called.
 boolean nextGetField(ChannelField channelField, PVField pvField)
          Next data for a get request.
 
Methods inherited from interface org.epics.ioc.util.Requester
getRequesterName, message
 

Method Detail

nextGetField

boolean nextGetField(ChannelField channelField,
                     PVField pvField)
Next data for a get request.

Parameters:
channelField - The channelField.
pvField - The data.
Returns:
(false,true) if the requester (has,has not) obtained all the data. A value of true means that the requester has not retrieved all the data. The caller must call Get.getDelayed in order to access more data. The getDelayed call will result in nextDelayedGetData being called. This normally means that an array is being transfered and the requester is not able to handle the array as a single chunk of data.

nextDelayedGetField

boolean nextDelayedGetField(PVField pvField)
Called as a result of a call to Get.getDelayed, The underlying database is locked and this is called.

Parameters:
pvField - The data.
Returns:
(false,true) if the requester (will not, will) call Get.getDelayed again for this pvField.

getDone

void getDone(RequestResult requestResult)
The request is done. This is always called with no locks held.

Parameters:
requestResult - The result of the request.