public static enum Server.ConnectionType extends Enum<Server.ConnectionType>
| Enum Constant and Description |
|---|
CLIENT_INITIATED |
SERVER_INITIATED |
| Modifier and Type | Method and Description |
|---|---|
static Server.ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Server.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.ConnectionType CLIENT_INITIATED
public static final Server.ConnectionType SERVER_INITIATED
public static Server.ConnectionType[] values()
for (Server.ConnectionType c : Server.ConnectionType.values()) System.out.println(c);
public static Server.ConnectionType 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 nullCopyright © 2024 SiLA Java Developers. All rights reserved.