Class Status


  • public final class Status
    extends Object
    The implementation of the <status/> element.
    See Also:
    11. Status Codes
    • Field Detail

      • ROOM_IS_NON_ANONYMOUS

        public static final Status ROOM_IS_NON_ANONYMOUS
        Inform user that any occupant is allowed to see the user's full JID (100).
      • AFFILIATION_CHANGED

        public static final Status AFFILIATION_CHANGED
        Inform user that his or her affiliation changed while not in the room (101).
      • ROOM_SHOWS_UNAVAILABLE_MEMBERS

        public static final Status ROOM_SHOWS_UNAVAILABLE_MEMBERS
        Inform occupants that room now shows unavailable members (102).
      • ROOM_DOES_NOT_SHOW_UNAVAILABLE_MEMBERS

        public static final Status ROOM_DOES_NOT_SHOW_UNAVAILABLE_MEMBERS
        Inform occupants that room now does not show unavailable members (103).
      • ROOM_CONFIGURATION_CHANGED

        public static final Status ROOM_CONFIGURATION_CHANGED
        Inform occupants that a non-privacy-related room configuration change has occurred (104).
      • SELF_PRESENCE

        public static final Status SELF_PRESENCE
        Inform user that presence refers to itself (110).
      • ROOM_LOGGING_ENABLED

        public static final Status ROOM_LOGGING_ENABLED
        Inform occupants that room logging is now enabled (170).
      • ROOM_LOGGING_DISABLED

        public static final Status ROOM_LOGGING_DISABLED
        Inform occupants that room logging is now disabled (171).
      • ROOM_NON_ANONYMOUS

        public static final Status ROOM_NON_ANONYMOUS
        Inform occupants that the room is now non-anonymous (172).
      • ROOM_SEMI_ANONYMOUS

        public static final Status ROOM_SEMI_ANONYMOUS
        Inform occupants that the room is now semi-anonymous (173).
      • ROOM_FULLY_ANONYMOUS

        public static final Status ROOM_FULLY_ANONYMOUS
        Inform occupants that the room is now fully-anonymous (174).
      • NEW_ROOM_CREATED

        public static final Status NEW_ROOM_CREATED
        Inform user that a new room has been created (201).
      • SERVICE_HAS_ASSIGNED_OR_MODIFIED_NICK

        public static final Status SERVICE_HAS_ASSIGNED_OR_MODIFIED_NICK
        Inform user that service has assigned or modified occupant's roomnick (210).
      • BANNED

        public static final Status BANNED
        Inform user that he or she has been banned from the room (301).
      • NICK_CHANGED

        public static final Status NICK_CHANGED
        Inform all occupants of new room nickname (303).
      • KICKED

        public static final Status KICKED
        Inform user that he or she has been kicked from the room (307).
      • MEMBERSHIP_REVOKED

        public static final Status MEMBERSHIP_REVOKED
        Inform user that he or she is being removed from the room because of an affiliation change (321).
      • ROOM_CHANGED_TO_MEMBERS_ONLY

        public static final Status ROOM_CHANGED_TO_MEMBERS_ONLY
        Inform user that he or she is being removed from the room because the room has been changed to members-only and the user is not a member (322).
      • SERVICE_SHUT_DOWN

        public static final Status SERVICE_SHUT_DOWN
        Inform user that he or she is being removed from the room because the MUC service is being shut down (332).
      • REMOVED_DUE_TO_ERROR

        public static final Status REMOVED_DUE_TO_ERROR
        Inform users that a user was removed because of an error reply (for example when an s2s link fails between the MUC and the removed users server).
    • Method Detail

      • getCode

        public final int getCode()
        Gets the status code.
        Returns:
        The status code.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object