public interface BatchConnectionRequestListener
Modifier and Type | Method and Description |
---|---|
void |
batchConnectionRequestCompleted(BatchConnectionRequest request,
int connectedCount,
int disconnectedCount,
int exceptionCount)
Event indicating that the batch request is complete
|
void |
connectionChangeInBatch(BatchConnectionRequest request,
Channel channel,
boolean connected)
Event indicating that a connection change has occurred for a channel
|
void |
connectionExceptionInBatch(BatchConnectionRequest request,
Channel channel,
java.lang.Exception exception)
Event indicating that an exception has been thrown for a channel
|
void batchConnectionRequestCompleted(BatchConnectionRequest request, int connectedCount, int disconnectedCount, int exceptionCount)
request
- request for which the connection completedconnectedCount
- number of channels connecteddisconnectedCount
- number of channels disconnectedexceptionCount
- number of channels for which there were connection exceptionsvoid connectionExceptionInBatch(BatchConnectionRequest request, Channel channel, java.lang.Exception exception)
request
- in which the exception occuredchannel
- for which the exception occuredexception
- the exception thrown while attempting to connectvoid connectionChangeInBatch(BatchConnectionRequest request, Channel channel, boolean connected)
request
- in which the connection changedchannel
- for which the connection changedconnected
- status of the connection (true for connected and false for disconnected)