public interface NameService
| Modifier and Type | Interface and Description |
|---|---|
static class |
NameService.PortType |
| Modifier and Type | Method and Description |
|---|---|
SocketAddress |
localResolve(java.lang.String name,
NameService.PortType portType)
Create a socket address suitable for listening on.
|
SocketAddress |
resolve(java.lang.String name,
NameService.PortType portType)
Create a socket address suitable for connecting to.
|
SocketAddress resolve(java.lang.String name, NameService.PortType portType) throws java.io.IOException
java.io.IOExceptionSocketAddress localResolve(java.lang.String name, NameService.PortType portType) throws java.io.IOException
java.io.IOException