Enum Class FMUCMode

java.lang.Object
java.lang.Enum<FMUCMode>
org.jivesoftware.openfire.muc.spi.FMUCMode
All Implemented Interfaces:
Serializable, Comparable<FMUCMode>, Constable

public enum FMUCMode extends Enum<FMUCMode>
Configuration mode for Federated Multi-User Chat.
Author:
Guus der kinderen, guus@goodbytes.nl
See Also:
  • invalid input: '<a href="https://xmpp.org/extensions/xep-0289.html>XEP-0289: Federated MUC for Constrained Environments</a>'
  • Enum Constant Details

    • MasterMaster

      public static final FMUCMode MasterMaster
      Two FMUC nodes operating such that both will continue to work when a network fails between them. This mode has the properties of reduced network traffic and of not having a guarantee of consistent message ordering between nodes.
    • MasterSlave

      public static final FMUCMode MasterSlave
      Two FMUC nodes operating where one, the master, will continue working during a network outage while the slave will cease to work while it cannot communicate with the master. This mode has increased network traffic and a consistent message delivery order across both nodes.
  • Method Details

    • values

      public static FMUCMode[] 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 FMUCMode 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