public static enum ZMQ.Error extends Enum<ZMQ.Error>
Enum Constant and Description |
---|
EADDRINUSE |
EADDRNOTAVAIL |
ECONNREFUSED |
EFSM |
EHOSTUNREACH |
EINPROGRESS |
EMTHREAD |
ENETDOWN |
ENOBUFS |
ENOCOMPATPROTO |
ENOTSOCK |
ENOTSUP |
EPROTONOSUPPORT |
ETERM |
Modifier and Type | Method and Description |
---|---|
static ZMQ.Error |
findByCode(int code) |
long |
getCode() |
static ZMQ.Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZMQ.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZMQ.Error ENOTSUP
public static final ZMQ.Error EPROTONOSUPPORT
public static final ZMQ.Error ENOBUFS
public static final ZMQ.Error ENETDOWN
public static final ZMQ.Error EADDRINUSE
public static final ZMQ.Error EADDRNOTAVAIL
public static final ZMQ.Error ECONNREFUSED
public static final ZMQ.Error EINPROGRESS
public static final ZMQ.Error EHOSTUNREACH
public static final ZMQ.Error EMTHREAD
public static final ZMQ.Error EFSM
public static final ZMQ.Error ENOCOMPATPROTO
public static final ZMQ.Error ETERM
public static final ZMQ.Error ENOTSOCK
public static ZMQ.Error[] values()
for (ZMQ.Error c : ZMQ.Error.values()) System.out.println(c);
public static ZMQ.Error 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 nullpublic long getCode()
public static ZMQ.Error findByCode(int code)