public enum ReplyFailure extends Enum<ReplyFailure>
Enum Constant and Description |
---|
ERROR
A fatal error occured while delivering the message.
|
NO_HANDLERS
The message send failed because no handlers were available to handle the message.
|
RECIPIENT_FAILURE
The message send failed because the recipient actively sent back a failure (rejected the message).
|
TIMEOUT
The message send failed because no reply was received before the timeout time.
|
Modifier and Type | Method and Description |
---|---|
static ReplyFailure |
fromInt(int i) |
int |
toInt() |
static ReplyFailure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplyFailure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplyFailure TIMEOUT
public static final ReplyFailure NO_HANDLERS
public static final ReplyFailure RECIPIENT_FAILURE
public static final ReplyFailure ERROR
public static ReplyFailure[] values()
for (ReplyFailure c : ReplyFailure.values()) System.out.println(c);
public static ReplyFailure valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ReplyFailure fromInt(int i)
public int toInt()
Copyright © 2023 Eclipse. All rights reserved.