Package com.zeroc.Ice

Enum Class LogMessageType

java.lang.Object
java.lang.Enum<LogMessageType>
com.zeroc.Ice.LogMessageType
All Implemented Interfaces:
Serializable, Comparable<LogMessageType>, Constable

public enum LogMessageType extends Enum<LogMessageType> implements Serializable
An enumeration representing the different types of log messages.
  • Enum Constant Details

    • PrintMessage

      public static final LogMessageType PrintMessage
      The Logger received a print message.
    • TraceMessage

      public static final LogMessageType TraceMessage
      The Logger received a trace message.
    • WarningMessage

      public static final LogMessageType WarningMessage
      The Logger received a warning message.
    • ErrorMessage

      public static final LogMessageType ErrorMessage
      The Logger received an error message.
  • Method Details

    • values

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

      public static LogMessageType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public int value()
    • valueOf

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

      public void ice_write(OutputStream ostr)
    • ice_write

      public static void ice_write(OutputStream ostr, LogMessageType v)
    • ice_read

      public static LogMessageType ice_read(InputStream istr)
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, Optional<LogMessageType> v)
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, LogMessageType v)
    • ice_read

      public static Optional<LogMessageType> ice_read(InputStream istr, int tag)