public static enum Socks5ByteStream.Mode extends Enum<Socks5ByteStream.Mode>
| Modifier and Type | Method and Description |
|---|---|
static Socks5ByteStream.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Socks5ByteStream.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Socks5ByteStream.Mode TCP
public static final Socks5ByteStream.Mode UDP
public static Socks5ByteStream.Mode[] values()
for (Socks5ByteStream.Mode c : Socks5ByteStream.Mode.values()) System.out.println(c);
public static Socks5ByteStream.Mode 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 © 2014–2015 XMPP.rocks. All rights reserved.