| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.net.telnet.TelnetCommand
public final class TelnetCommand
The TelnetCommand class cannot be instantiated and only serves as a storehouse for telnet command constants.
Telnet, 
TelnetClient| Field Summary | |
|---|---|
| static int | ABORTAbort code. | 
| static int | AOAbort Output code. | 
| static int | AYTAre You There code. | 
| static int | BREAKBreak code. | 
| static int | DMData mark code. | 
| static int | DORequest to use option code. | 
| static int | DONTDon't use option code. | 
| static int | ECErase Character code. | 
| static int | ELErase Line code. | 
| static int | EOFEnd of file code. | 
| static int | EOREnd of record code. | 
| static int | GAGo Ahead code. | 
| static int | IACInterpret As Command code. | 
| static int | IPInterrupt Process code. | 
| static int | MAX_COMMAND_VALUEThe maximum value a command code can have. | 
| static int | NOPNo Operation code. | 
| static int | SBStart subnegotiation code. | 
| static int | SEEnd subnegotiation code. | 
| static int | SUSPSuspend process code. | 
| static int | SYNCHSynchronize code. | 
| static int | WILLAgree to use option code. | 
| static int | WONTRefuse to use option code. | 
| Method Summary | |
|---|---|
| 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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
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
| Method Detail | 
|---|
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.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||