public enum TCPRegistry extends Enum<TCPRegistry>
| Modifier and Type | Method and Description |
|---|---|
static ServerSocketChannel |
acquireServerSocketChannel(String description) |
static void |
assertAllServersStopped() |
static void |
createServerSocketChannelFor(String... descriptions) |
static SocketChannel |
createSocketChannel(String description) |
static void |
createSSC(String description,
InetSocketAddress address) |
static InetSocketAddress |
lookup(String description) |
static void |
reset() |
static void |
setAlias(String name,
String hostname,
int port) |
static TCPRegistry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TCPRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static TCPRegistry[] values()
for (TCPRegistry c : TCPRegistry.values()) System.out.println(c);
public static TCPRegistry valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static void reset()
public static void assertAllServersStopped()
public static void createServerSocketChannelFor(String... descriptions) throws IOException
IOExceptionpublic static void createSSC(String description, InetSocketAddress address) throws IOException
IOExceptionpublic static ServerSocketChannel acquireServerSocketChannel(String description) throws IOException
IOExceptionpublic static InetSocketAddress lookup(String description)
public static SocketChannel createSocketChannel(String description) throws IOException
IOExceptionCopyright © 2015. All rights reserved.