public static enum EReplyMessage.ReplyStatus extends java.lang.Enum<EReplyMessage.ReplyStatus>
OK
(success),
OK_CONTINUING
(in-progress reply with more to
come), CANCELED
(terminated before completion),
CANCEL_REJECT
(cancel request rejected), and
ERROR
(failure to process request and request is
terminated).Enum Constant and Description |
---|
CANCEL_REJECT
An optional cancel request is rejected and the replier
is still working the request.
|
CANCELED
The request handling is terminated either due to a
cancel request or the replier unilaterally canceling
the request.
|
ERROR
The request handling failed.
|
OK_CONTINUING
The request handling is successful, so far.
|
OK_FINAL
The request handling is successfully completed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFinal()
Returns
true if this is a final reply and
false if more replies are expected. |
static EReplyMessage.ReplyStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EReplyMessage.ReplyStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EReplyMessage.ReplyStatus OK_FINAL
public static final EReplyMessage.ReplyStatus OK_CONTINUING
public static final EReplyMessage.ReplyStatus CANCELED
public static final EReplyMessage.ReplyStatus CANCEL_REJECT
public static final EReplyMessage.ReplyStatus ERROR
public static EReplyMessage.ReplyStatus[] values()
for (EReplyMessage.ReplyStatus c : EReplyMessage.ReplyStatus.values()) System.out.println(c);
public static EReplyMessage.ReplyStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isFinal()
true
if this is a final reply and
false
if more replies are expected.true
if this is a final reply.Copyright © 2001 - 2024. Charles W. Rapp. All rights reserved.