Package anbxj
Enum Class Channel_SSLChannelType
- All Implemented Interfaces:
Serializable
,Comparable<Channel_SSLChannelType>
,Constable
Enumeration representing different types of SSL channels.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSSL channel with authentication.No SSL channel.Plain SSL channel.SSL channel with secret features.Secure SSL channel. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getInfo()
Returns information about SSL Channel Types.static Channel_SSLChannelType
String2ChannelType
(String cts) Returns the corresponding SSL channel type given a string The string should be a valid SSL channel type namestatic Channel_SSLChannelType
Returns the enum constant of this class with the specified name.static Channel_SSLChannelType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SSL_NONE
No SSL channel. -
SSL_PLAIN
Plain SSL channel. -
SSL_AUTH
SSL channel with authentication. -
SSL_SECRET
SSL channel with secret features. -
SSL_SECURE
Secure SSL channel.
-
-
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
-
String2ChannelType
Returns the corresponding SSL channel type given a string The string should be a valid SSL channel type name- Parameters:
cts
- the specified string- Returns:
- a Channel_SSLChannelType
-
getInfo
Returns information about SSL Channel Types.- Returns:
- a string containing information about SSL Channel Types
-