Package com.zeroc.Ice

Enum Class ReplyStatus

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

public enum ReplyStatus extends Enum<ReplyStatus>
Represents the status of a reply. A reply status can have any value in the range 0..255. Do not use this enum to marshal or unmarshal a reply status unless you know its value corresponds to one of the enumerators defined below.
  • Enum Constant Details

    • Ok

      public static final ReplyStatus Ok
      The dispatch completed successfully.
    • UserException

      public static final ReplyStatus UserException
      The dispatch completed with a Slice user exception.
    • ObjectNotExist

      public static final ReplyStatus ObjectNotExist
      The dispatch could not find an implementation for the target object.
    • FacetNotExist

      public static final ReplyStatus FacetNotExist
      The dispatch found an implementation for the target object but could not find the requested facet.
    • OperationNotExist

      public static final ReplyStatus OperationNotExist
      The dispatch found an implementation for the target object but could not find the requested operation.
    • UnknownLocalException

      public static final ReplyStatus UnknownLocalException
      The dispatch failed with an Ice local exception.
    • UnknownUserException

      public static final ReplyStatus UnknownUserException
      The dispatch failed with a Slice user exception that does not conform to the exception specification of the operation.
    • UnknownException

      public static final ReplyStatus UnknownException
      The dispatch failed with some other exception (neither an Ice local exception nor a Slice user exception).
    • InvalidData

      public static final ReplyStatus InvalidData
      The dispatch failed because the request payload could not be unmarshaled. It is typically due to a mismatch in the Slice definitions used by the client and the server.
    • Unauthorized

      public static final ReplyStatus Unauthorized
      The caller is not authorized to access the requested resource.
  • Method Details

    • values

      public static ReplyStatus[] 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 ReplyStatus 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()
      Returns the integer value of this enumerator.
      Returns:
      the integer value of this enumerator
    • valueOf

      public static ReplyStatus valueOf(int v)
      Returns the ReplyStatus enumerator corresponding to the given integer value.
      Parameters:
      v - the value to match
      Returns:
      the ReplyStatus enumerator corresponding to the given integer value, or null if no such enumerator exists
    • ice_write

      public void ice_write(OutputStream ostr)
      Marshals this ReplyStatus into an output stream.
      Parameters:
      ostr - the output stream
    • ice_write

      public static void ice_write(OutputStream ostr, ReplyStatus v)
      Marshals a ReplyStatus into an output stream.
      Parameters:
      ostr - the output stream
      v - the ReplyStatus to marshal
    • ice_read

      public static ReplyStatus ice_read(InputStream istr)
      Unmarshals a ReplyStatus from an input stream.
      Parameters:
      istr - the input stream
      Returns:
      the unmarshaled ReplyStatus
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, Optional<ReplyStatus> v)
      Marshals an optional ReplyStatus into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, ReplyStatus v)
      Marshals an optional ReplyStatus into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_read

      public static Optional<ReplyStatus> ice_read(InputStream istr, int tag)
      Unmarshals an optional ReplyStatus from an input stream.
      Parameters:
      istr - the input stream
      tag - the tag
      Returns:
      the unmarshaled value