public enum TCPRegistry extends Enum<TCPRegistry>
| Modifier and Type | Method and Description |
|---|---|
static ServerSocketChannel |
acquireServerSocketChannel(String description) |
static Set<String> |
aliases() |
static void |
assertAllServersStopped() |
static net.openhft.chronicle.core.tcp.ISocketChannel |
createISocketChannel(String description) |
static void |
createServerSocketChannelFor(String... descriptions) |
static SocketChannel |
createSocketChannel(String description) |
static void |
dumpAllSocketChannels() |
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(@NotNull
String... descriptions)
throws IOException
descriptions - each string is the name to a reference of a host and port, or if
correctly formed this example host and port are used insteadIOExceptionpublic static ServerSocketChannel acquireServerSocketChannel(@NotNull String description) throws IOException
IOExceptionpublic static InetSocketAddress lookup(@NotNull String description)
public static SocketChannel createSocketChannel(@NotNull String description) throws IOException
IOExceptionpublic static net.openhft.chronicle.core.tcp.ISocketChannel createISocketChannel(@NotNull
String description)
throws IOException
IOExceptionpublic static void dumpAllSocketChannels()
Copyright © 2018. All rights reserved.