public class BatchGetValueTimeRequest extends AbstractBatchGetRequest<ChannelTimeRecord>
Modifier and Type | Class and Description |
---|---|
protected class |
BatchGetValueTimeRequest.RequestHandler
handle get request events
|
Modifier and Type | Field and Description |
---|---|
protected BatchGetValueTimeRequest.RequestHandler |
REQUEST_HANDLER
request handler
|
Constructor and Description |
---|
BatchGetValueTimeRequest()
Constructor
|
BatchGetValueTimeRequest(java.util.Collection<Channel> channels)
Primary Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
requestChannelData(Channel channel)
request to get the data for the channel
|
addBatchGetRequestListener, addChannel, await, batchConnectionRequestCompleted, connectionChangeInBatch, connectionExceptionInBatch, finalize, getChannels, getException, getExceptionCount, getFailedChannels, getRecord, getRecordCount, getResultChannels, hasExceptions, isComplete, processCurrentStatus, processRecordEvent, processRequest, removeBatchGetRequestListener, submit, submitAndWait, waitForCompletion
protected final BatchGetValueTimeRequest.RequestHandler REQUEST_HANDLER
public BatchGetValueTimeRequest(java.util.Collection<Channel> channels)
channels
- for which to request the value, status and timestamppublic BatchGetValueTimeRequest()
protected void requestChannelData(Channel channel) throws java.lang.Exception
requestChannelData
in class AbstractBatchGetRequest<ChannelTimeRecord>
channel
- the channel for which to request datajava.lang.Exception
- when the request fails