001/** 002 * Licensed to the Apache Software Foundation (ASF) under one or more 003 * contributor license agreements. See the NOTICE file distributed with 004 * this work for additional information regarding copyright ownership. 005 * The ASF licenses this file to You under the Apache License, Version 2.0 006 * (the "License"); you may not use this file except in compliance with 007 * the License. You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017package org.apache.xbean.terminal.telnet; 018 019public interface TelnetCodes { 020 /** 021 * End of subnegotiation parameters. 022 * <p/> 023 * Name: SE 024 * Code: 240 025 */ 026 public static final int SE = 240; 027 /** 028 * No operation. 029 * <p/> 030 * Name: NOP 031 * Code: 241 032 */ 033 public static final int NOP = 241; 034 /** 035 * The data stream portion of a Synch. 036 * This should always be accompanied 037 * by a TCP Urgent notification. 038 * <p/> 039 * Name: Data Mark 040 * Code: 242 041 */ 042 public static final int Data_Mark = 242; 043 /** 044 * NVT character BRK. 045 * <p/> 046 * Name: Break 047 * Code: 243 048 */ 049 public static final int Break = 243; 050 /** 051 * The function IP. 052 * <p/> 053 * Name: Interrupt Process 054 * Code: 244 055 */ 056 public static final int Interrupt_Process = 244; 057 /** 058 * The function AO. 059 * <p/> 060 * Name: Abort output 061 * Code: 245 062 */ 063 public static final int Abort_output = 245; 064 /** 065 * The function AYT. 066 * <p/> 067 * Name: Are You There 068 * Code: 246 069 */ 070 public static final int Are_You_There = 246; 071 /** 072 * The function EC. 073 * <p/> 074 * Name: Erase character 075 * Code: 247 076 */ 077 public static final int Erase_character = 247; 078 /** 079 * The function EL. 080 * <p/> 081 * Name: Erase Line 082 * Code: 248 083 */ 084 public static final int Erase_Line = 248; 085 /** 086 * The GA signal. 087 * <p/> 088 * Name: Go ahead 089 * Code: 249 090 */ 091 public static final int Go_ahead = 249; 092 /** 093 * Indicates that what follows is 094 * subnegotiation of the indicated 095 * option. 096 * <p/> 097 * Name: SB 098 * Code: 250 099 */ 100 public static final int SB = 250; 101 /** 102 * Indicates the desire to begin 103 * performing, or confirmation that 104 * you are now performing, the 105 * indicated option. 106 * <p/> 107 * Name: WILL (option code) 108 * Code: 251 109 */ 110 public static final int WILL = 251; 111 /** 112 * Indicates the refusal to perform, 113 * or continue performing, the 114 * indicated option. 115 * <p/> 116 * Name: WON'T (option code) 117 * Code: 252 118 */ 119 public static final int WONT = 252; 120 /** 121 * Indicates the request that the 122 * other party perform, or 123 * confirmation that you are expecting 124 * he other party to perform, the 125 * ndicated option. 126 * <p/> 127 * Name: DO (option code) 128 * Code: 253 129 */ 130 public static final int DO = 253; 131 /** 132 * Indicates the demand that the 133 * other party stop performing, 134 * or confirmation that you are no 135 * longer expecting the other party 136 * to perform, the indicated option. 137 * <p/> 138 * Name: DON'T (option code) 139 * Code: 254 140 */ 141 public static final int DONT = 254; 142 /** 143 * Interpret as command 144 * aka Data Byte 145 * <p/> 146 * Name: IAC 147 * Code: 255 148 */ 149 public static final int IAC = 255; 150}