KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openejb > server > telnet > TelnetCodes


1 /**
2  * Redistribution and use of this software and associated documentation
3  * ("Software"), with or without modification, are permitted provided
4  * that the following conditions are met:
5  *
6  * 1. Redistributions of source code must retain copyright
7  * statements and notices. Redistributions must also contain a
8  * copy of this document.
9  *
10  * 2. Redistributions in binary form must reproduce the
11  * above copyright notice, this list of conditions and the
12  * following disclaimer in the documentation and/or other
13  * materials provided with the distribution.
14  *
15  * 3. The name "OpenEJB" must not be used to endorse or promote
16  * products derived from this Software without prior written
17  * permission of The OpenEJB Group. For written permission,
18  * please contact dev@openejb.org.
19  *
20  * 4. Products derived from this Software may not be called "OpenEJB"
21  * nor may "OpenEJB" appear in their names without prior written
22  * permission of The OpenEJB Group. OpenEJB is a registered
23  * trademark of The OpenEJB Group.
24  *
25  * 5. Due credit should be given to the OpenEJB Project
26  * (http://www.openejb.org/).
27  *
28  * THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
29  * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
30  * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
31  * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
32  * THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
33  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
34  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
35  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
37  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
38  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
39  * OF THE POSSIBILITY OF SUCH DAMAGE.
40  *
41  * Copyright 2001 (C) The OpenEJB Group. All Rights Reserved.
42  *
43  * $Id: TelnetCodes.java 1912 2005-06-16 22:29:56Z jlaskowski $
44  */

45 package org.openejb.server.telnet;
46
47
48
49 /**
50  * @author <a HREF="mailto:david.blevins@visi.com">David Blevins</a>
51  */

52 public interface TelnetCodes {
53
54     /**
55      * End of subnegotiation parameters.
56      *
57      * Name: SE
58      * Code: 240
59      */

60     public static final int SE = 240;
61
62     /**
63      * No operation.
64      *
65      * Name: NOP
66      * Code: 241
67      */

68     public static final int NOP = 241;
69
70     /**
71      * The data stream portion of a Synch.
72      * This should always be accompanied
73      * by a TCP Urgent notification.
74      *
75      * Name: Data Mark
76      * Code: 242
77      */

78     public static final int Data_Mark = 242;
79
80     /**
81      * NVT character BRK.
82      *
83      * Name: Break
84      * Code: 243
85      */

86     public static final int Break = 243;
87
88     /**
89      * The function IP.
90      *
91      * Name: Interrupt Process
92      * Code: 244
93      */

94     public static final int Interrupt_Process = 244;
95
96     /**
97      * The function AO.
98      *
99      * Name: Abort output
100      * Code: 245
101      */

102     public static final int Abort_output = 245;
103
104     /**
105      * The function AYT.
106      *
107      * Name: Are You There
108      * Code: 246
109      */

110     public static final int Are_You_There = 246;
111
112     /**
113      * The function EC.
114      *
115      * Name: Erase character
116      * Code: 247
117      */

118     public static final int Erase_character = 247;
119
120     /**
121      * The function EL.
122      *
123      * Name: Erase Line
124      * Code: 248
125      */

126     public static final int Erase_Line = 248;
127
128     /**
129      * The GA signal.
130      *
131      * Name: Go ahead
132      * Code: 249
133      */

134     public static final int Go_ahead = 249;
135
136     /**
137      * Indicates that what follows is
138      * subnegotiation of the indicated
139      * option.
140      *
141      * Name: SB
142      * Code: 250
143      */

144     public static final int SB = 250;
145
146     /**
147      * Indicates the desire to begin
148      * performing, or confirmation that
149      * you are now performing, the
150      * indicated option.
151      *
152      * Name: WILL (option code)
153      * Code: 251
154      */

155     public static final int WILL = 251;
156
157     /**
158      * Indicates the refusal to perform,
159      * or continue performing, the
160      * indicated option.
161      *
162      * Name: WON'T (option code)
163      * Code: 252
164      */

165     public static final int WONT = 252;
166
167     /**
168      * Indicates the request that the
169      * other party perform, or
170      * confirmation that you are expecting
171      * he other party to perform, the
172      * ndicated option.
173      *
174      * Name: DO (option code)
175      * Code: 253
176      */

177     public static final int DO = 253;
178
179     /**
180      * Indicates the demand that the
181      * other party stop performing,
182      * or confirmation that you are no
183      * longer expecting the other party
184      * to perform, the indicated option.
185      *
186      * Name: DON'T (option code)
187      * Code: 254
188      */

189     public static final int DONT = 254;
190
191     /**
192      * Interpret as command
193      * aka Data Byte
194      *
195      * Name: IAC
196      * Code: 255
197      */

198     public static final int IAC = 255;
199
200 }
201
Popular Tags