public interface ReconnectDialogConfiguration extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getDialogText()
Gets the text to show in the reconnect dialog when trying to re-establish
the server connection.
|
String |
getDialogTextGaveUp()
Gets the text to show in the reconnect dialog after giving up trying to
reconnect (
getReconnectAttempts() reached). |
int |
getReconnectAttempts()
Gets the number of times to try to reconnect to the server before giving
up.
|
int |
getReconnectInterval()
Gets the interval (in milliseconds) between reconnect attempts.
|
void |
setDialogText(String dialogText)
Sets the text to show in the reconnect dialog when trying to re-establish
the server connection.
|
void |
setDialogTextGaveUp(String dialogTextGaveUp)
Sets the text to show in the reconnect dialog after giving up trying to
reconnect (
getReconnectAttempts() reached). |
void |
setReconnectAttempts(int reconnectAttempts)
Sets the number of times to try to reconnect to the server before giving
up.
|
void |
setReconnectInterval(int reconnectInterval)
Sets the interval (in milliseconds) between reconnect attempts.
|
String getDialogText()
The default is
void setDialogText(String dialogText)
dialogText
- the text to show in the reconnect dialogString getDialogTextGaveUp()
getReconnectAttempts()
reached).
The default is
void setDialogTextGaveUp(String dialogTextGaveUp)
getReconnectAttempts()
reached).dialogTextGaveUp
- the text to show in the reconnect dialog after giving upint getReconnectAttempts()
The default is
void setReconnectAttempts(int reconnectAttempts)
reconnectAttempts
- the number of times to try to reconnectint getReconnectInterval()
The default is
void setReconnectInterval(int reconnectInterval)
reconnectInterval
- the interval (in ms) between reconnect attemptsCopyright © 2000–2021 Vaadin Ltd. All rights reserved.