Package org.ldaptive.transport.netty
Enum NettyConnection.MessageStatus
- java.lang.Object
-
- java.lang.Enum<NettyConnection.MessageStatus>
-
- org.ldaptive.transport.netty.NettyConnection.MessageStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<NettyConnection.MessageStatus>
- Enclosing class:
- NettyConnection
protected static enum NettyConnection.MessageStatus extends Enum<NettyConnection.MessageStatus>
Enum that describes the state of an LDAP message in the pipeline.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MessageStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NettyConnection.MessageStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static NettyConnection.MessageStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final NettyConnection.MessageStatus READ
All bytes for a message have been read.
-
DECODED
public static final NettyConnection.MessageStatus DECODED
Bytes have been decoded into a concrete message.
-
COMPLETE
public static final NettyConnection.MessageStatus COMPLETE
Message has passed through the entire pipeline.
-
-
Method Detail
-
values
public static NettyConnection.MessageStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NettyConnection.MessageStatus c : NettyConnection.MessageStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NettyConnection.MessageStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-