public class ReconnectionSettings extends Object
Constructor and Description |
---|
ReconnectionSettings() |
Modifier and Type | Method and Description |
---|---|
int |
getInterval()
Returns interval between reconnects in seconds.
|
int |
getNumber()
Returns number of reconnect.
|
void |
setInterval(int interval)
Sets the interval between reconnects in seconds.
|
void |
setNumber(int number)
Sets the number of reconnects.
|
String |
toString() |
public int getNumber()
public void setNumber(int number)
number
- number of reconnectspublic int getInterval()
public void setInterval(int interval)
interval
- interval between reconnects in secondsCopyright © 2012–2024 Onix Solutions. All rights reserved.