Enum Class SessionManager.BindResult

java.lang.Object
java.lang.Enum<SessionManager.BindResult>
org.jivesoftware.openfire.SessionManager.BindResult
All Implemented Interfaces:
Serializable, Comparable<SessionManager.BindResult>, Constable
Enclosing class:
SessionManager

public static enum SessionManager.BindResult extends Enum<SessionManager.BindResult>
Outcome of an attempt to bind a resource to a session.
See Also:
  • Enum Constant Details

    • BOUND

      public static final SessionManager.BindResult BOUND
      The resource was bound; the session now owns the route for its full JID.
    • CONFLICT

      public static final SessionManager.BindResult CONFLICT
      The bind was rejected because a conflicting session for the same full JID could not be displaced under the configured policy, or could not be displaced in time / the server was too busy to do so safely. The caller must return a conflict stream/stanza error and MUST NOT treat the session as bound.
  • Method Details

    • values

      public static SessionManager.BindResult[] 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 SessionManager.BindResult 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