public final class TelnetCommand extends Object
Telnet
,
TelnetClient
Modifier and Type | Field and Description |
---|---|
static int |
ABORT
Abort code.
|
static int |
AO
Abort Output code.
|
static int |
AYT
Are You There code.
|
static int |
BREAK
Break code.
|
static int |
DM
Data mark code.
|
static int |
DO
Request to use option code.
|
static int |
DONT
Don't use option code.
|
static int |
EC
Erase Character code.
|
static int |
EL
Erase Line code.
|
static int |
EOF
End of file code.
|
static int |
EOR
End of record code.
|
static int |
GA
Go Ahead code.
|
static int |
IAC
Interpret As Command code.
|
static int |
IP
Interrupt Process code.
|
static int |
MAX_COMMAND_VALUE
The maximum value a command code can have.
|
static int |
NOP
No Operation code.
|
static int |
SB
Start subnegotiation code.
|
static int |
SE
End subnegotiation code.
|
static int |
SUSP
Suspend process code.
|
static int |
SYNCH
Synchronize code.
|
static int |
WILL
Agree to use option code.
|
static int |
WONT
Refuse to use option code.
|
Modifier and Type | Method and Description |
---|---|
static String |
getCommand(int code)
Returns the string representation of the telnet protocol command
corresponding to the given command code.
|
static boolean |
isValidCommand(int code)
Determines if a given command code is valid.
|
public static final int MAX_COMMAND_VALUE
public static final int IAC
public static final int DONT
public static final int DO
public static final int WONT
public static final int WILL
public static final int SB
public static final int GA
public static final int EL
public static final int EC
public static final int AYT
public static final int AO
public static final int IP
public static final int BREAK
public static final int DM
public static final int NOP
public static final int SE
public static final int EOR
public static final int ABORT
public static final int SUSP
public static final int EOF
public static final int SYNCH
public static final String getCommand(int code)
code
- The command code of the telnet protocol command.public static final boolean isValidCommand(int code)
code
- The command code to test.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.