Package org.jivesoftware.openfire
Enum Class SessionManager.BindResult
- All Implemented Interfaces:
Serializable,Comparable<SessionManager.BindResult>,Constable
- Enclosing class:
- SessionManager
Outcome of an attempt to bind a resource to a session.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe resource was bound; the session now owns the route for its full JID.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. -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionManager.BindResultReturns the enum constant of this class with the specified name.static SessionManager.BindResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOUND
The resource was bound; the session now owns the route for its full JID. -
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 aconflictstream/stanza error and MUST NOT treat the session as bound.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-