java.lang.Object
java.lang.Enum<ClientMessageEventListener.ReceiveRequest>
net.i2p.router.client.ClientMessageEventListener.ReceiveRequest
- All Implemented Interfaces:
Serializable, Comparable<ClientMessageEventListener.ReceiveRequest>, java.lang.constant.Constable
- Enclosing class:
ClientMessageEventListener
static enum ClientMessageEventListener.ReceiveRequestextends Enum<ClientMessageEventListener.ReceiveRequest>
Outcome of validating a client-supplied receive request against the state the router holds for this connection.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe session is live and a payload is retained; serve or release it.The session is live but no payload is retained for the message id.The message names no live session on this connection.Method Summary
All MethodsModifier 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
ALLOWED
The session is live and a payload is retained; serve or release it.UNKNOWN_SESSION
The message names no live session on this connection.NO_PAYLOAD
The session is live but no payload is retained for the message id.
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