public interface SocketChannelProvider
| Modifier and Type | Method and Description |
|---|---|
SocketChannel |
get(int retryNumber,
Throwable lastError)
Provides socket channel to init restore connection.
|
SocketChannel get(int retryNumber, Throwable lastError)
retryNumber - number of current retry. -1 on initial connect.lastError - the last error occurs when reconnectingCopyright © 2017. All rights reserved.