public static enum Socks5ByteStream.Mode extends java.lang.Enum<Socks5ByteStream.Mode>
The transport mode.
| Enum Constant and Description |
|---|
TCP
TCP transport (default).
|
UDP
UDP transport.
|
| Modifier and Type | Method and Description |
|---|---|
static Socks5ByteStream.Mode |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.