public final class NonDiscoveryServer extends java.lang.Object implements ResolverResult
This exists merely to wrap a resolver lookup result, that is not discovery enabled.
| Constructor and Description |
|---|
NonDiscoveryServer(java.lang.String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHost() |
int |
getPort() |
boolean |
isDiscoveryEnabled() |
public java.lang.String getHost()
getHost in interface ResolverResultpublic int getPort()
getPort in interface ResolverResultpublic boolean isDiscoveryEnabled()
isDiscoveryEnabled in interface ResolverResult