Package xal.ca
Interface BatchConnectionRequestListener
- All Known Implementing Classes:
AbstractBatchGetRequest
,BatchGetValueRequest
,BatchGetValueTimeRequest
public interface BatchConnectionRequestListener
BatchConnectionRequestListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
batchConnectionRequestCompleted
(BatchConnectionRequest request, int connectedCount, int disconnectedCount, int exceptionCount) Event indicating that the batch request is completevoid
connectionChangeInBatch
(BatchConnectionRequest request, Channel channel, boolean connected) Event indicating that a connection change has occurred for a channelvoid
connectionExceptionInBatch
(BatchConnectionRequest request, Channel channel, Exception exception) Event indicating that an exception has been thrown for a channel
-
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 completedconnectedCount
- number of channels connecteddisconnectedCount
- number of channels disconnectedexceptionCount
- 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 occurredchannel
- for which the exception occurredexception
- the exception thrown while attempting to connect
-
connectionChangeInBatch
Event indicating that a connection change has occurred for a channel- Parameters:
request
- in which the connection changedchannel
- for which the connection changedconnected
- status of the connection (true for connected and false for disconnected)
-