|
static final byte | IAC = (byte) 0xFF |
|
static final byte | MXP = (byte) 0x5B |
|
static final byte | WILL = (byte) 0xFB |
|
static final byte | WONT = (byte) 0xFC |
|
static final byte | DO = (byte) 0xFD |
|
static final byte | DONT = (byte) 0xFE |
|
static final byte | SB = (byte) 0xFA |
|
static final byte | SE = (byte) 0xF0 |
|
static final byte | SEND = 0x01 |
|
static final byte | IS = 0x00 |
|
static final byte | COMPRESS2 = 0x56 |
|
static final byte | COMPRESS1 = 0x55 |
|
static final byte | ATCP_CUSTOM = (byte) 0xC8 |
|
static final byte | AARD_CUSTOM = 0x66 |
|
static final byte | TERM = 0x18 |
|
static final byte | NAWS = 0x1F |
|
static final byte | ECHO = 0x01 |
|
static final byte | TTYPE = 0x18 |
|
static final byte | GMCP = (byte) 201 |
|
static final int | LSB_MASK = 0x000000FF |
|
static final byte | BREAK = (byte) 243 |
|
static final byte | AO = (byte) 245 |
|
static final byte | AYT = (byte) 246 |
|
static final byte | EC = (byte) 247 |
|
static final byte | EL = (byte) 248 |
|
static final byte | CARRIAGE = (byte) 0x0D |
|
static final byte | GOAHEAD = (byte) 0xF9 |
|
static final byte | IP = (byte) 0xF4 |
|
static final byte | BELL = (byte) 0x07 |
|
static final byte | SUPPRESS_GOAHEAD = (byte) 0x03 |
|
Utility class that maps a bunch of telnet related constants.
static String com.offsetnull.bt.service.TC.decodeIAC |
( |
final byte[] |
in | ) |
|
|
static |
Decodes an telnet negotiation (not subnegotiation).
- Parameters
-
in | The telnet negotiation to decode. |
- Returns
- The decoded telnet negotiation.
static String com.offsetnull.bt.service.TC.decodeSUB |
( |
final byte[] |
in | ) |
|
|
static |
Decodes a subnegotation.
- Parameters
-
in | byte array of the complete subnegotiation. |
- Returns
- the string representation of the subnegotiation (IAC SB TTYPE ... etc)
static String com.offsetnull.bt.service.TC.getByteName |
( |
final byte |
in | ) |
|
|
static |
Gets a string value for a given byte.
- Parameters
-
in | byte value of the telnet constant you want a string for. |
- Returns
- the string description of the telnet constant (IAC, DONT, etc).
final byte com.offsetnull.bt.service.TC.AARD_CUSTOM = 0x66 |
|
static |
test constant for aard custom protocol.
final byte com.offsetnull.bt.service.TC.AO = (byte) 245 |
|
static |
final byte com.offsetnull.bt.service.TC.ATCP_CUSTOM = (byte) 0xC8 |
|
static |
test constant for aard specific ATCP.
final byte com.offsetnull.bt.service.TC.AYT = (byte) 246 |
|
static |
final byte com.offsetnull.bt.service.TC.BELL = (byte) 0x07 |
|
static |
final byte com.offsetnull.bt.service.TC.BREAK = (byte) 243 |
|
static |
final byte com.offsetnull.bt.service.TC.CARRIAGE = (byte) 0x0D |
|
static |
The CARRIAGE RETURN byte.
final byte com.offsetnull.bt.service.TC.COMPRESS1 = 0x55 |
|
static |
final byte com.offsetnull.bt.service.TC.COMPRESS2 = 0x56 |
|
static |
final byte com.offsetnull.bt.service.TC.DO = (byte) 0xFD |
|
static |
final byte com.offsetnull.bt.service.TC.DONT = (byte) 0xFE |
|
static |
final byte com.offsetnull.bt.service.TC.EC = (byte) 247 |
|
static |
final byte com.offsetnull.bt.service.TC.ECHO = 0x01 |
|
static |
final byte com.offsetnull.bt.service.TC.EL = (byte) 248 |
|
static |
final byte com.offsetnull.bt.service.TC.GMCP = (byte) 201 |
|
static |
final byte com.offsetnull.bt.service.TC.GOAHEAD = (byte) 0xF9 |
|
static |
final byte com.offsetnull.bt.service.TC.IAC = (byte) 0xFF |
|
static |
IAC (0xFF - 255) Interpret as command.
final byte com.offsetnull.bt.service.TC.IP = (byte) 0xF4 |
|
static |
final byte com.offsetnull.bt.service.TC.IS = 0x00 |
|
static |
final int com.offsetnull.bt.service.TC.LSB_MASK = 0x000000FF |
|
static |
LSB mask for a 32 bit int.
final byte com.offsetnull.bt.service.TC.MXP = (byte) 0x5B |
|
static |
MXP 0x5B Test byte for MXP.
final byte com.offsetnull.bt.service.TC.NAWS = 0x1F |
|
static |
final byte com.offsetnull.bt.service.TC.SB = (byte) 0xFA |
|
static |
Telnet SUB start constant.
final byte com.offsetnull.bt.service.TC.SE = (byte) 0xF0 |
|
static |
final byte com.offsetnull.bt.service.TC.SEND = 0x01 |
|
static |
final byte com.offsetnull.bt.service.TC.SUPPRESS_GOAHEAD = (byte) 0x03 |
|
static |
The Suppress goahead byte.
final byte com.offsetnull.bt.service.TC.TERM = 0x18 |
|
static |
final byte com.offsetnull.bt.service.TC.TTYPE = 0x18 |
|
static |
final byte com.offsetnull.bt.service.TC.WILL = (byte) 0xFB |
|
static |
final byte com.offsetnull.bt.service.TC.WONT = (byte) 0xFC |
|
static |
The documentation for this class was generated from the following file:
- /Users/render/apps/BlowTorch/BTLib/src/com/offsetnull/bt/service/TC.java