Enum Class AbstractTCPBabelChannel.TCPBabelChannelAuthMode
java.lang.Object
java.lang.Enum<AbstractTCPBabelChannel.TCPBabelChannelAuthMode>
pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel.TCPBabelChannelAuthMode
- All Implemented Interfaces:
Serializable, Comparable<AbstractTCPBabelChannel.TCPBabelChannelAuthMode>, Constable
- Enclosing class:
AbstractTCPBabelChannel
public static enum AbstractTCPBabelChannel.TCPBabelChannelAuthMode
extends Enum<AbstractTCPBabelChannel.TCPBabelChannelAuthMode>
Modes used to describe which types of signed messages are allowed on the
channel.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnlySignedBabelMessageinstances are allowed; unsigned messages are rejected.Both unsignedBabelMessageandSignedBabelMessageinstances are allowed.No signed messages are allowed; only standard unsignedBabelMessageinstances are transmitted and received. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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
-
NO_AUTH
No signed messages are allowed; only standard unsignedBabelMessageinstances are transmitted and received. -
MIXED_AUTH
Both unsignedBabelMessageandSignedBabelMessageinstances are allowed. -
FULL_AUTH
OnlySignedBabelMessageinstances are allowed; unsigned messages are rejected.
-
-
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
-