public static enum IncomingConnectionAlert.SocketType extends java.lang.Enum<IncomingConnectionAlert.SocketType>
| Enum Constant and Description |
|---|
HTTP |
HTTPS
Like SSL_HTTP.
|
I2P |
NONE
no socket instantiated.
|
SOCKS5 |
SSL_SOCKS5 |
SSL_TCP |
SSL_UTP |
TCP |
UNKNOWN |
UTP |
| Modifier and Type | Method and Description |
|---|---|
static IncomingConnectionAlert.SocketType |
fromSwig(int swigValue) |
int |
swig() |
static IncomingConnectionAlert.SocketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IncomingConnectionAlert.SocketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IncomingConnectionAlert.SocketType NONE
public static final IncomingConnectionAlert.SocketType TCP
public static final IncomingConnectionAlert.SocketType SOCKS5
public static final IncomingConnectionAlert.SocketType HTTP
public static final IncomingConnectionAlert.SocketType UTP
public static final IncomingConnectionAlert.SocketType I2P
public static final IncomingConnectionAlert.SocketType SSL_TCP
public static final IncomingConnectionAlert.SocketType SSL_SOCKS5
public static final IncomingConnectionAlert.SocketType HTTPS
public static final IncomingConnectionAlert.SocketType SSL_UTP
public static final IncomingConnectionAlert.SocketType UNKNOWN
public static IncomingConnectionAlert.SocketType[] values()
for (IncomingConnectionAlert.SocketType c : IncomingConnectionAlert.SocketType.values()) System.out.println(c);
public static IncomingConnectionAlert.SocketType 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 nullpublic int swig()
public static IncomingConnectionAlert.SocketType fromSwig(int swigValue)
swigValue - the native value