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