| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| TelnetCodes |
|
| 0.0;0 |
| 1 | /** | |
| 2 | * Licensed to the Apache Software Foundation (ASF) under one or more | |
| 3 | * contributor license agreements. See the NOTICE file distributed with | |
| 4 | * this work for additional information regarding copyright ownership. | |
| 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| 6 | * (the "License"); you may not use this file except in compliance with | |
| 7 | * the License. You may obtain a copy of the License at | |
| 8 | * | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 10 | * | |
| 11 | * Unless required by applicable law or agreed to in writing, software | |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 14 | * See the License for the specific language governing permissions and | |
| 15 | * limitations under the License. | |
| 16 | */ | |
| 17 | package org.apache.xbean.terminal.telnet; | |
| 18 | ||
| 19 | public interface TelnetCodes { | |
| 20 | /** | |
| 21 | * End of subnegotiation parameters. | |
| 22 | * <p/> | |
| 23 | * Name: SE | |
| 24 | * Code: 240 | |
| 25 | */ | |
| 26 | public static final int SE = 240; | |
| 27 | /** | |
| 28 | * No operation. | |
| 29 | * <p/> | |
| 30 | * Name: NOP | |
| 31 | * Code: 241 | |
| 32 | */ | |
| 33 | public static final int NOP = 241; | |
| 34 | /** | |
| 35 | * The data stream portion of a Synch. | |
| 36 | * This should always be accompanied | |
| 37 | * by a TCP Urgent notification. | |
| 38 | * <p/> | |
| 39 | * Name: Data Mark | |
| 40 | * Code: 242 | |
| 41 | */ | |
| 42 | public static final int Data_Mark = 242; | |
| 43 | /** | |
| 44 | * NVT character BRK. | |
| 45 | * <p/> | |
| 46 | * Name: Break | |
| 47 | * Code: 243 | |
| 48 | */ | |
| 49 | public static final int Break = 243; | |
| 50 | /** | |
| 51 | * The function IP. | |
| 52 | * <p/> | |
| 53 | * Name: Interrupt Process | |
| 54 | * Code: 244 | |
| 55 | */ | |
| 56 | public static final int Interrupt_Process = 244; | |
| 57 | /** | |
| 58 | * The function AO. | |
| 59 | * <p/> | |
| 60 | * Name: Abort output | |
| 61 | * Code: 245 | |
| 62 | */ | |
| 63 | public static final int Abort_output = 245; | |
| 64 | /** | |
| 65 | * The function AYT. | |
| 66 | * <p/> | |
| 67 | * Name: Are You There | |
| 68 | * Code: 246 | |
| 69 | */ | |
| 70 | public static final int Are_You_There = 246; | |
| 71 | /** | |
| 72 | * The function EC. | |
| 73 | * <p/> | |
| 74 | * Name: Erase character | |
| 75 | * Code: 247 | |
| 76 | */ | |
| 77 | public static final int Erase_character = 247; | |
| 78 | /** | |
| 79 | * The function EL. | |
| 80 | * <p/> | |
| 81 | * Name: Erase Line | |
| 82 | * Code: 248 | |
| 83 | */ | |
| 84 | public static final int Erase_Line = 248; | |
| 85 | /** | |
| 86 | * The GA signal. | |
| 87 | * <p/> | |
| 88 | * Name: Go ahead | |
| 89 | * Code: 249 | |
| 90 | */ | |
| 91 | public static final int Go_ahead = 249; | |
| 92 | /** | |
| 93 | * Indicates that what follows is | |
| 94 | * subnegotiation of the indicated | |
| 95 | * option. | |
| 96 | * <p/> | |
| 97 | * Name: SB | |
| 98 | * Code: 250 | |
| 99 | */ | |
| 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 | } |