Enum Class FMUCMode
- All Implemented Interfaces:
Serializable,Comparable<FMUCMode>,Constable
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>'
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTwo FMUC nodes operating such that both will continue to work when a network fails between them.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. -
Method Summary
-
Enum Constant Details
-
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
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
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
-