ORO, Inc. Logo  All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.oroinc.net.telnet.TelnetCommand

java.lang.Object
   |
   +----com.oroinc.net.telnet.TelnetCommand

public final class TelnetCommand
extends Object
The TelnetCommand class cannot be instantiated and only serves as a storehouse for telnet command constants.

Copyright © 1997 Original Reusable Objects, Inc. All rights reserved.

See Also:
Telnet, TelnetClient

Variable Index

 o ABORT
Abort code.
 o AO
Abort Output code.
 o AYT
Are You There code.
 o BREAK
Break code.
 o DM
Data mark code.
 o DO
Request to use option code.
 o DONT
Don't use option code.
 o EC
Erase Character code.
 o EL
Erase Line code.
 o EOF
End of file code.
 o EOR
End of record code.
 o GA
Go Ahead code.
 o IAC
Interpret As Command code.
 o IP
Interrupt Process code.
 o MAX_COMMAND_VALUE
The maximum value a command code can have.
 o NOP
No Operation code.
 o SB
Start subnegotiation code.
 o SE
End subnegotiation code.
 o SUSP
Suspend process code.
 o SYNCH
Synchronize code.
 o WILL
Agree to use option code.
 o WONT
Refuse to use option code.

Method Index

 o getCommand(int)
Returns the string representation of the telnet protocol command corresponding to the given command code.
 o isValidCommand(int)
Determines if a given command code is valid.

Variables

 o MAX_COMMAND_VALUE
 public static final int MAX_COMMAND_VALUE
The maximum value a command code can have. This value is 255.

 o IAC
 public static final int IAC
Interpret As Command code. Value is 255 according to RFC 854.

 o DONT
 public static final int DONT
Don't use option code. Value is 254 according to RFC 854.

 o DO
 public static final int DO
Request to use option code. Value is 253 according to RFC 854.

 o WONT
 public static final int WONT
Refuse to use option code. Value is 252 according to RFC 854.

 o WILL
 public static final int WILL
Agree to use option code. Value is 251 according to RFC 854.

 o SB
 public static final int SB
Start subnegotiation code. Value is 250 according to RFC 854.

 o GA
 public static final int GA
Go Ahead code. Value is 249 according to RFC 854.

 o EL
 public static final int EL
Erase Line code. Value is 248 according to RFC 854.

 o EC
 public static final int EC
Erase Character code. Value is 247 according to RFC 854.

 o AYT
 public static final int AYT
Are You There code. Value is 246 according to RFC 854.

 o AO
 public static final int AO
Abort Output code. Value is 245 according to RFC 854.

 o IP
 public static final int IP
Interrupt Process code. Value is 244 according to RFC 854.

 o BREAK
 public static final int BREAK
Break code. Value is 243 according to RFC 854.

 o DM
 public static final int DM
Data mark code. Value is 242 according to RFC 854.

 o NOP
 public static final int NOP
No Operation code. Value is 241 according to RFC 854.

 o SE
 public static final int SE
End subnegotiation code. Value is 240 according to RFC 854.

 o EOR
 public static final int EOR
End of record code. Value is 239.

 o ABORT
 public static final int ABORT
Abort code. Value is 238.

 o SUSP
 public static final int SUSP
Suspend process code. Value is 237.

 o EOF
 public static final int EOF
End of file code. Value is 236.

 o SYNCH
 public static final int SYNCH
Synchronize code. Value is 242.

Methods

 o getCommand
 public static final String getCommand(int code)
Returns the string representation of the telnet protocol command corresponding to the given command code.

Parameters:
The - command code of the telnet protocol command.
Returns:
The string representation of the telnet protocol command.
 o isValidCommand
 public static final boolean isValidCommand(int code)
Determines if a given command code is valid. Returns true if valid, false if not.

Parameters:
code - The command code to test.
Returns:
True if the command code is valid, false if not.

ORO, Inc. Logo  All Packages  Class Hierarchy  This Package  Previous  Next  Index