Package com.dsi.ant.message.fromhost
Enum Class ConfigureEventBufferMessage.BufferEvents
java.lang.Object
java.lang.Enum<ConfigureEventBufferMessage.BufferEvents>
com.dsi.ant.message.fromhost.ConfigureEventBufferMessage.BufferEvents
- All Implemented Interfaces:
Serializable
,Comparable<ConfigureEventBufferMessage.BufferEvents>
,Constable
- Enclosing class:
ConfigureEventBufferMessage
public static enum ConfigureEventBufferMessage.BufferEvents
extends Enum<ConfigureEventBufferMessage.BufferEvents>
The groups of messages to buffer.
- Since:
- 4.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBuffer all events.Buffer Tx, Rx Fail and Channel Collision events only.Disable event buffering (ignores size and time values). -
Method Summary
Modifier and TypeMethodDescriptioncreate
(int rawValue) Creates the BufferEvents object from the raw value.int
Gets the raw value of this BufferEvents.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOW_PRIORITY
Buffer Tx, Rx Fail and Channel Collision events only.- Since:
- 4.1
-
ALL
Buffer all events.- Since:
- 4.1
-
NONE
Disable event buffering (ignores size and time values).- Since:
- 4.1
-
-
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
-
getRawValue
public int getRawValue()Gets the raw value of this BufferEvents. Applications should use the enumeration values directly.- Returns:
- The raw value.
- Since:
- 4.1
-
create
Creates the BufferEvents object from the raw value. Applications should use the enumeration values directly.- Parameters:
rawValue
- The raw value.- Returns:
- The BufferEvents object corresponding to the raw value.
- Since:
- 4.1
-