Module jdk.net
Package jdk.net

Enum SocketFlow.Status

    • Enum Constant Detail

      • NO_STATUS

        public static final SocketFlow.Status NO_STATUS
        Set or get socket option has not been called yet. Status values can only be retrieved after calling set or get.
      • NO_PERMISSION

        public static final SocketFlow.Status NO_PERMISSION
        Caller has no permission to create flow.
      • NOT_CONNECTED

        public static final SocketFlow.Status NOT_CONNECTED
        Flow can not be created because socket is not connected.
      • NOT_SUPPORTED

        public static final SocketFlow.Status NOT_SUPPORTED
        Flow creation not supported for this socket.
      • ALREADY_CREATED

        public static final SocketFlow.Status ALREADY_CREATED
        A flow already exists with identical attributes.
      • IN_PROGRESS

        public static final SocketFlow.Status IN_PROGRESS
        A flow is being created.
    • Method Detail

      • values

        public static SocketFlow.Status[] values()
        Returns an array containing the constants of this enum type, in the order they are declared.
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SocketFlow.Status 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