Package org.zeromq

Enum ZMQ.Error

    • Enum Constant Detail

      • ENOTSUP

        public static final ZMQ.Error ENOTSUP
      • EPROTONOSUPPORT

        public static final ZMQ.Error EPROTONOSUPPORT
      • ENOBUFS

        public static final ZMQ.Error ENOBUFS
      • ENETDOWN

        public static final ZMQ.Error ENETDOWN
      • EADDRINUSE

        public static final ZMQ.Error EADDRINUSE
      • EADDRNOTAVAIL

        public static final ZMQ.Error EADDRNOTAVAIL
      • ECONNREFUSED

        public static final ZMQ.Error ECONNREFUSED
      • EINPROGRESS

        public static final ZMQ.Error EINPROGRESS
      • EHOSTUNREACH

        public static final ZMQ.Error EHOSTUNREACH
      • EMTHREAD

        public static final ZMQ.Error EMTHREAD
      • ENOCOMPATPROTO

        public static final ZMQ.Error ENOCOMPATPROTO
      • ENOTSOCK

        public static final ZMQ.Error ENOTSOCK
    • Method Detail

      • values

        public static ZMQ.Error[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ZMQ.Error c : ZMQ.Error.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ZMQ.Error valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getCode

        public long getCode()
      • findByCode

        public static ZMQ.Error findByCode​(int code)