public class TelnetOption extends Object
Details regarding Telnet option specification can be found in RFC 855.
Telnet
,
TelnetClient
Modifier and Type | Method and Description |
---|---|
static String |
getOption(int code)
Returns the string representation of the telnet protocol option
corresponding to the given option code.
|
static boolean |
isValidOption(int code)
Determines if a given option code is valid.
|
public static final int MAX_OPTION_VALUE
public static final int BINARY
public static final int ECHO
public static final int PREPARE_TO_RECONNECT
public static final int SUPPRESS_GO_AHEAD
public static final int APPROXIMATE_MESSAGE_SIZE
public static final int STATUS
public static final int TIMING_MARK
public static final int REMOTE_CONTROLLED_TRANSMISSION
public static final int NEGOTIATE_OUTPUT_LINE_WIDTH
public static final int NEGOTIATE_OUTPUT_PAGE_SIZE
public static final int NEGOTIATE_CARRIAGE_RETURN
public static final int NEGOTIATE_HORIZONTAL_TAB_STOP
public static final int NEGOTIATE_HORIZONTAL_TAB
public static final int NEGOTIATE_FORMFEED
public static final int NEGOTIATE_VERTICAL_TAB_STOP
public static final int NEGOTIATE_VERTICAL_TAB
public static final int NEGOTIATE_LINEFEED
public static final int EXTENDED_ASCII
public static final int FORCE_LOGOUT
public static final int BYTE_MACRO
public static final int DATA_ENTRY_TERMINAL
public static final int SUPDUP
public static final int SUPDUP_OUTPUT
public static final int SEND_LOCATION
public static final int TERMINAL_TYPE
public static final int END_OF_RECORD
public static final int TACACS_USER_IDENTIFICATION
public static final int OUTPUT_MARKING
public static final int TERMINAL_LOCATION_NUMBER
public static final int REGIME_3270
public static final int X3_PAD
public static final int WINDOW_SIZE
public static final int TERMINAL_SPEED
public static final int REMOTE_FLOW_CONTROL
public static final int LINEMODE
public static final int X_DISPLAY_LOCATION
public static final int OLD_ENVIRONMENT_VARIABLES
public static final int AUTHENTICATION
public static final int ENCRYPTION
public static final int NEW_ENVIRONMENT_VARIABLES
public static final int EXTENDED_OPTIONS_LIST
public static final String getOption(int code)
code
- The option code of the telnet protocol optionpublic static final boolean isValidOption(int code)
code
- The option code to test.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.