public static interface RemoteServers.CheckRemoteServerResult
RemoteServers.checkRemoteServer(java.lang.String)
invocation.Modifier and Type | Interface and Description |
---|---|
static class |
RemoteServers.CheckRemoteServerResult.ConnectionState
Represents the current connection state of the remote server.
|
Modifier and Type | Method and Description |
---|---|
RemoteServers.CheckRemoteServerResult.ConnectionState |
getConnectionState()
Returns the connection state of the remote server.
|
String |
getFailureMessage()
Returns a failure message when the state returned is
RemoteServers.CheckRemoteServerResult.ConnectionState.FAILED or RemoteServers.CheckRemoteServerResult.ConnectionState.RETRYING . |
RemoteServers.CheckRemoteServerResult.ConnectionState getConnectionState()
String getFailureMessage()
RemoteServers.CheckRemoteServerResult.ConnectionState.FAILED
or RemoteServers.CheckRemoteServerResult.ConnectionState.RETRYING
.
For other states this will return an empty string.
Copyright © 2024 DiffusionData Ltd. All Rights Reserved.