Modifier and Type | Method and Description |
---|---|
static boolean |
isInformational(int reply)
Determine if a reply code is an informational response.
|
static boolean |
isNegativePermanent(int reply)
Determine if a reply code is a negative permanent response.
|
static boolean |
isNegativeTransient(int reply)
Determine if a reply code is a negative transient response.
|
static boolean |
isPositiveCompletion(int reply)
Determine if a reply code is a positive completion response.
|
static boolean |
isPositiveIntermediate(int reply)
Determine if a reply code is a positive intermediate response.
|
public static final int HELP_TEXT_FOLLOWS
public static final int DEBUG_OUTPUT
public static final int SERVER_READY_POSTING_ALLOWED
public static final int SERVER_READY_POSTING_NOT_ALLOWED
public static final int SLAVE_STATUS_NOTED
public static final int CLOSING_CONNECTION
public static final int GROUP_SELECTED
public static final int ARTICLE_RETRIEVED_HEAD_AND_BODY_FOLLOW
public static final int ARTICLE_RETRIEVED_HEAD_FOLLOWS
public static final int ARTICLE_RETRIEVED_BODY_FOLLOWS
public static final int ARTICLE_RETRIEVED_REQUEST_TEXT_SEPARATELY
public static final int ARTICLE_LIST_BY_MESSAGE_ID_FOLLOWS
public static final int NEW_NEWSGROUP_LIST_FOLLOWS
public static final int ARTICLE_TRANSFERRED_OK
public static final int ARTICLE_POSTED_OK
public static final int AUTHENTICATION_ACCEPTED
public static final int SEND_ARTICLE_TO_TRANSFER
public static final int SEND_ARTICLE_TO_POST
public static final int MORE_AUTH_INFO_REQUIRED
public static final int SERVICE_DISCONTINUED
public static final int NO_SUCH_NEWSGROUP
public static final int NO_NEWSGROUP_SELECTED
public static final int NO_CURRENT_ARTICLE_SELECTED
public static final int NO_NEXT_ARTICLE
public static final int NO_PREVIOUS_ARTICLE
public static final int NO_SUCH_ARTICLE_NUMBER
public static final int NO_SUCH_ARTICLE_FOUND
public static final int ARTICLE_NOT_WANTED
public static final int TRANSFER_FAILED
public static final int ARTICLE_REJECTED
public static final int POSTING_NOT_ALLOWED
public static final int POSTING_FAILED
public static final int AUTHENTICATION_REQUIRED
public static final int AUTHENTICATION_REJECTED
public static final int COMMAND_NOT_RECOGNIZED
public static final int COMMAND_SYNTAX_ERROR
public static final int PERMISSION_DENIED
public static final int PROGRAM_FAULT
public static boolean isInformational(int reply)
reply
- The reply code to test.public static boolean isPositiveCompletion(int reply)
reply
- The reply code to test.public static boolean isPositiveIntermediate(int reply)
reply
- The reply code to test.public static boolean isNegativeTransient(int reply)
reply
- The reply code to test.public static boolean isNegativePermanent(int reply)
reply
- The reply code to test.Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.