@Deprecated public class Network extends Object
Net| Modifier and Type | Method and Description |
|---|---|
static int |
freeServerPort(InetAddress hostAddress)
Deprecated.
|
static int |
freeServerPort(InetAddress hostAddress,
int preferredPort)
Deprecated.
|
static int[] |
freeServerPorts(InetAddress hostAddress,
int poolSize)
Deprecated.
|
static int |
getFreeServerPort()
Deprecated.
|
static int |
getFreeServerPort(InetAddress hostAddress)
Deprecated.
|
static int[] |
getFreeServerPorts(InetAddress hostAddress,
int poolSize)
Deprecated.
|
static InetAddress |
getLocalHost()
Deprecated.
|
static int |
getPreferredFreeServerPort(InetAddress hostAddress,
int preferredPort)
Deprecated.
|
static int |
getPreferredFreeServerPort(int preferredPort)
Deprecated.
|
static boolean |
localhostIsIPv6()
Deprecated.
|
@Deprecated public static boolean localhostIsIPv6() throws UnknownHostException
UnknownHostExceptionNet.localhostIsIPv6()@Deprecated public static InetAddress getLocalHost() throws UnknownHostException
UnknownHostExceptionNet.getLocalHost()@Deprecated public static int getPreferredFreeServerPort(int preferredPort) throws IOException
IOException@Deprecated public static int getFreeServerPort() throws IOException
IOException@Deprecated public static int getPreferredFreeServerPort(InetAddress hostAddress, int preferredPort) throws IOException
IOExceptionfreeServerPort(InetAddress, int)public static int freeServerPort(InetAddress hostAddress, int preferredPort) throws IOException
IOExceptionpublic static int freeServerPort(InetAddress hostAddress) throws IOException
IOException@Deprecated public static int getFreeServerPort(InetAddress hostAddress) throws IOException
IOExceptionfreeServerPort(InetAddress)@Deprecated public static int[] getFreeServerPorts(InetAddress hostAddress, int poolSize) throws IOException
IOExceptionfreeServerPorts(InetAddress, int)public static int[] freeServerPorts(InetAddress hostAddress, int poolSize) throws IOException
IOExceptionCopyright © 2024. All rights reserved.