Package xal.ca

Interface BatchConnectionRequestListener

All Known Implementing Classes:
AbstractBatchGetRequest, BatchGetValueRequest, BatchGetValueTimeRequest

public interface BatchConnectionRequestListener
BatchConnectionRequestListener
  • Method Details

    • batchConnectionRequestCompleted

      void batchConnectionRequestCompleted(BatchConnectionRequest request, int connectedCount, int disconnectedCount, int exceptionCount)
      Event indicating that the batch request is complete
      Parameters:
      request - request for which the connection completed
      connectedCount - number of channels connected
      disconnectedCount - number of channels disconnected
      exceptionCount - number of channels for which there were connection exceptions
    • connectionExceptionInBatch

      void connectionExceptionInBatch(BatchConnectionRequest request, Channel channel, Exception exception)
      Event indicating that an exception has been thrown for a channel
      Parameters:
      request - in which the exception occurred
      channel - for which the exception occurred
      exception - the exception thrown while attempting to connect
    • connectionChangeInBatch

      void connectionChangeInBatch(BatchConnectionRequest request, Channel channel, boolean connected)
      Event indicating that a connection change has occurred for a channel
      Parameters:
      request - in which the connection changed
      channel - for which the connection changed
      connected - status of the connection (true for connected and false for disconnected)