public enum ChronicleSocketFactory extends Enum<ChronicleSocketFactory>
| Modifier and Type | Method and Description |
|---|---|
static ChronicleSocket |
toChronicleSocket(Socket socket) |
static ChronicleSocketFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChronicleSocketFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ChronicleSocketFactory[] values()
for (ChronicleSocketFactory c : ChronicleSocketFactory.values()) System.out.println(c);
public static ChronicleSocketFactory 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 ChronicleSocket toChronicleSocket(Socket socket)
Copyright © 2023. All rights reserved.