@Immutable public final class UnixServerAddress extends ServerAddress
Requires the 'jnr.unixsocket' library.
| Constructor and Description |
|---|
UnixServerAddress(String path)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getSocketAddress()
Gets the underlying socket address
|
SocketAddress |
getUnixSocketAddress() |
String |
toString() |
defaultHost, defaultPort, equals, getHost, getPort, hashCode, sameHostpublic UnixServerAddress(String path)
path - the path of the MongoD unix domain socket.public InetSocketAddress getSocketAddress()
ServerAddressgetSocketAddress in class ServerAddresspublic SocketAddress getUnixSocketAddress()
public String toString()
toString in class ServerAddressCopyright © 2010 - 2020 Adobe. All Rights Reserved