Package tigase.server
Enum Class ConnectionManager.WATCHDOG_PING_TYPE
java.lang.Object
java.lang.Enum<ConnectionManager.WATCHDOG_PING_TYPE>
tigase.server.ConnectionManager.WATCHDOG_PING_TYPE
- All Implemented Interfaces:
Serializable
,Comparable<ConnectionManager.WATCHDOG_PING_TYPE>
,Constable
- Enclosing class:
- ConnectionManager<IO extends XMPPIOService<?>>
public static enum ConnectionManager.WATCHDOG_PING_TYPE
extends Enum<ConnectionManager.WATCHDOG_PING_TYPE>
Holds possible types of ping to be used in watchdog service for detection of broken connections
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ConnectionManager.WATCHDOG_PING_TYPE[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WHITESPACE
-
XMPP
-
-
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
-