org.bluesock.bluemud.driver
Class TelnetConstants

java.lang.Object
  |
  +--org.bluesock.bluemud.driver.TelnetConstants

public class TelnetConstants
extends java.lang.Object

Holds Telnet Constants because everything was getting messy.


Field Summary
static char DO
          Telnet control code DO (dec 253, hex FD)
static char DONT
          Telnet control code DONT (dec 254, hex FE)
static char ECHO
          Telnet control code ECHO (dec 1, hex 01, RFC 857)
static char ENV
          Telnet control code ENV (dec 39, hex 27, RFC ???)
static char ENVVAR
          Telnet control code ENVVAR (dec 36, hex 24, RFC 1408)
static char IAC
          Telnet control code IAC (dec 255, hex FF)
(package private) static char[] IACDONAWS
          IAC + DO + NAWS
(package private) static char[] IACDONTENV
          IAC + DONT + ENV
(package private) static char[] IACDONTSGA
          IAC + DONT + SGA
(package private) static char[] IACDONTTERMSPEED
          IAC + DONT + TERMSPEED
(package private) static char[] IACDOSGA
          IAC + DO + SGA
(package private) static char[] IACDOTERMTYPE
          IAC + DO + TERM + TYPE
(package private) static char[] IACSBTERMTYPESENDIACSE
          IAC + SB + TERMTYPE + SEND + IAC + SE
(package private) static char[] IACWILLECHO
          IAC + WILL + ECHO
(package private) static char[] IACWILLSGA
          IAC + WILL + SGA
(package private) static char[] IACWONTECHO
          IAC + WONT + ECHO
(package private) static char[] IACWONTSGA
          IAC + WONT + SGA
static char IS
          Telnet control code IS (dec 0, hex 00)
static char LINEMODE
          Telnet control code LINEMODE (dec 34, hex 22, RFC 1184)
static char NAWS
          Telnet control code NAWS (dec 31, hex 1F, RFC 1073)
static char SB
          Telnet control code SB (dec 250, hex FA)
static char SE
          Telnet control code SE (dec 240, hex F0)
static char SEND
          Telnet control code SEND (dec 1, hex 01)
static char SGA
          Telnet control code SGA (dec 3, hex 03, RFC 858)
static char STATUS
          Telnet control code STATUS (dec 5, hex 05, RFC 859)
static char TERMSPEED
          Telnet control code TERMSPEED (dec 32, hex 20, RFC 1079)
static char TERMTYPE
          Telnet control code TERMTYPE (dec 24, hex 18, RFC 1091)
static char TIMING
          Telnet control code TIMING (dec 6, hex 06, RFC 860)
static char TOGGLEFLOW
          Telnet control code TOGGLEFLOW (dec 33, hex 21, RFC 1372)
static char WILL
          Telnet control code WILL (dec 251, hex FB)
static char WONT
          Telnet control code WONT (dec 252, hex FC)
static char XDISPLAY
          Telnet control code XDISPLAY (dec 35, hex 23, RFC ???)
 
Constructor Summary
TelnetConstants()
           
 
Method Summary
(package private) static void printControl(char ddww, char option)
          Prints control character stuff to stdout for diagnostic/debugging purposes.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IAC

public static final char IAC
Telnet control code IAC (dec 255, hex FF)

DONT

public static final char DONT
Telnet control code DONT (dec 254, hex FE)

DO

public static final char DO
Telnet control code DO (dec 253, hex FD)

WONT

public static final char WONT
Telnet control code WONT (dec 252, hex FC)

WILL

public static final char WILL
Telnet control code WILL (dec 251, hex FB)

SB

public static final char SB
Telnet control code SB (dec 250, hex FA)

SE

public static final char SE
Telnet control code SE (dec 240, hex F0)

IS

public static final char IS
Telnet control code IS (dec 0, hex 00)

SEND

public static final char SEND
Telnet control code SEND (dec 1, hex 01)

ECHO

public static final char ECHO
Telnet control code ECHO (dec 1, hex 01, RFC 857)

SGA

public static final char SGA
Telnet control code SGA (dec 3, hex 03, RFC 858)

STATUS

public static final char STATUS
Telnet control code STATUS (dec 5, hex 05, RFC 859)

TIMING

public static final char TIMING
Telnet control code TIMING (dec 6, hex 06, RFC 860)

TERMTYPE

public static final char TERMTYPE
Telnet control code TERMTYPE (dec 24, hex 18, RFC 1091)

NAWS

public static final char NAWS
Telnet control code NAWS (dec 31, hex 1F, RFC 1073)

TERMSPEED

public static final char TERMSPEED
Telnet control code TERMSPEED (dec 32, hex 20, RFC 1079)

TOGGLEFLOW

public static final char TOGGLEFLOW
Telnet control code TOGGLEFLOW (dec 33, hex 21, RFC 1372)

LINEMODE

public static final char LINEMODE
Telnet control code LINEMODE (dec 34, hex 22, RFC 1184)

XDISPLAY

public static final char XDISPLAY
Telnet control code XDISPLAY (dec 35, hex 23, RFC ???)

ENVVAR

public static final char ENVVAR
Telnet control code ENVVAR (dec 36, hex 24, RFC 1408)

ENV

public static final char ENV
Telnet control code ENV (dec 39, hex 27, RFC ???)

IACDONAWS

static final char[] IACDONAWS
IAC + DO + NAWS

IACDOSGA

static final char[] IACDOSGA
IAC + DO + SGA

IACWILLSGA

static final char[] IACWILLSGA
IAC + WILL + SGA

IACDONTSGA

static final char[] IACDONTSGA
IAC + DONT + SGA

IACWONTSGA

static final char[] IACWONTSGA
IAC + WONT + SGA

IACWILLECHO

static final char[] IACWILLECHO
IAC + WILL + ECHO

IACWONTECHO

static final char[] IACWONTECHO
IAC + WONT + ECHO

IACDOTERMTYPE

static final char[] IACDOTERMTYPE
IAC + DO + TERM + TYPE

IACSBTERMTYPESENDIACSE

static final char[] IACSBTERMTYPESENDIACSE
IAC + SB + TERMTYPE + SEND + IAC + SE

IACDONTTERMSPEED

static final char[] IACDONTTERMSPEED
IAC + DONT + TERMSPEED

IACDONTENV

static final char[] IACDONTENV
IAC + DONT + ENV
Constructor Detail

TelnetConstants

public TelnetConstants()
Method Detail

printControl

static void printControl(char ddww,
                         char option)
Prints control character stuff to stdout for diagnostic/debugging purposes. This enables us to see what the incoming telnet options resolve to human-readably.
Parameters:
ddww - the do/dont/will/wont part.
option - the telnet option in question.


docs generated on Thu Jan 24 08:57:26 CST 2002