ServerAddress()
Creates a ServerAddress with default host and port
ServerAddress(String host)
Creates a ServerAddress with default port
ServerAddress(String host, int port)
Creates a ServerAddress
ServerAddress(InetAddress inetAddress)
Creates a ServerAddress with default port
ServerAddress(InetAddress inetAddress, int port)
Creates a ServerAddress
ServerAddress(InetSocketAddress inetSocketAddress)
Creates a ServerAddress
static String
defaultHost()
Returns the default database host: "127.0.0.1"
static int
defaultPort()
Returns the default database port: 27017
boolean
equals(Object o)
String
getHost()
Gets the hostname
int
getPort()
Gets the port number
InetSocketAddress
getSocketAddress()
Gets the underlying socket address
List<InetSocketAddress>
getSocketAddresses()
Gets all underlying socket addresses
int
hashCode()
boolean
sameHost(String hostName)
Deprecated.
use the
equals(Object)
method instead
String
toString()
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4