Package xal.ca

Interface BatchGetRequestListener<R extends ChannelRecord>


public interface BatchGetRequestListener<R extends ChannelRecord>
interface for listeners of batch request events
  • Method Details

    • batchRequestCompleted

      void batchRequestCompleted(AbstractBatchGetRequest<R> request, int recordCount, int exceptionCount)
      Event indicating that the batch request is complete
      Parameters:
      request - in which the event occurred
      recordCount - number of records completed
      exceptionCount - number of exceptions
    • exceptionInBatch

      void exceptionInBatch(AbstractBatchGetRequest<R> request, Channel channel, Exception exception)
      Event indicating that an exception has been thrown for a channel
      Parameters:
      request - in which the event occurred
      channel - for which the exception occurred
      exception - that occurred
    • recordReceivedInBatch

      void recordReceivedInBatch(AbstractBatchGetRequest<R> request, Channel channel, R recordType)
      event indicating that a get event has been completed for a channel
      Parameters:
      request - in which the event occurred
      channel - for which the record was received
      recordType - which was received