Java Doc for TelnetCommand.java in  » Net » Apache-commons-net-1.4.1 » org » apache » commons » net » telnet » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » Apache commons net 1.4.1 » org.apache.commons.net.telnet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.net.telnet.TelnetCommand

TelnetCommand
final public class TelnetCommand (Code)
The TelnetCommand class cannot be instantiated and only serves as a storehouse for telnet command constants.
author:
   Daniel F. Savarese
See Also:   org.apache.commons.net.telnet.Telnet
See Also:   org.apache.commons.net.telnet.TelnetClient


Field Summary
final public static  intABORT
     Abort code.
final public static  intAO
     Abort Output code.
final public static  intAYT
     Are You There code.
final public static  intBREAK
     Break code.
final public static  intDM
     Data mark code.
final public static  intDO
     Request to use option code.
final public static  intDONT
     Don't use option code.
final public static  intEC
     Erase Character code.
final public static  intEL
     Erase Line code.
final public static  intEOF
     End of file code.
final public static  intEOR
     End of record code.
final public static  intGA
     Go Ahead code.
final public static  intIAC
     Interpret As Command code.
final public static  intIP
     Interrupt Process code.
final public static  intMAX_COMMAND_VALUE
     The maximum value a command code can have.
final public static  intNOP
     No Operation code.
final public static  intSB
     Start subnegotiation code.
final public static  intSE
     End subnegotiation code.
final public static  intSUSP
     Suspend process code.
final public static  intSYNCH
     Synchronize code.
final public static  intWILL
     Agree to use option code.
final public static  intWONT
     Refuse to use option code.


Method Summary
final public static  StringgetCommand(int code)
     Returns the string representation of the telnet protocol command corresponding to the given command code.


Parameters:
  code - The command code of the telnet protocol command.

final public static  booleanisValidCommand(int code)
     Determines if a given command code is valid.

Field Detail
ABORT
final public static int ABORT(Code)
Abort code. Value is 238. **



AO
final public static int AO(Code)
Abort Output code. Value is 245 according to RFC 854. **



AYT
final public static int AYT(Code)
Are You There code. Value is 246 according to RFC 854. **



BREAK
final public static int BREAK(Code)
Break code. Value is 243 according to RFC 854. **



DM
final public static int DM(Code)
Data mark code. Value is 242 according to RFC 854. **



DO
final public static int DO(Code)
Request to use option code. Value is 253 according to RFC 854. **



DONT
final public static int DONT(Code)
Don't use option code. Value is 254 according to RFC 854. **



EC
final public static int EC(Code)
Erase Character code. Value is 247 according to RFC 854. **



EL
final public static int EL(Code)
Erase Line code. Value is 248 according to RFC 854. **



EOF
final public static int EOF(Code)
End of file code. Value is 236. **



EOR
final public static int EOR(Code)
End of record code. Value is 239. **



GA
final public static int GA(Code)
Go Ahead code. Value is 249 according to RFC 854. **



IAC
final public static int IAC(Code)
Interpret As Command code. Value is 255 according to RFC 854. **



IP
final public static int IP(Code)
Interrupt Process code. Value is 244 according to RFC 854. **



MAX_COMMAND_VALUE
final public static int MAX_COMMAND_VALUE(Code)
The maximum value a command code can have. This value is 255. **



NOP
final public static int NOP(Code)
No Operation code. Value is 241 according to RFC 854. **



SB
final public static int SB(Code)
Start subnegotiation code. Value is 250 according to RFC 854. **



SE
final public static int SE(Code)
End subnegotiation code. Value is 240 according to RFC 854. **



SUSP
final public static int SUSP(Code)
Suspend process code. Value is 237. **



SYNCH
final public static int SYNCH(Code)
Synchronize code. Value is 242. **



WILL
final public static int WILL(Code)
Agree to use option code. Value is 251 according to RFC 854. **



WONT
final public static int WONT(Code)
Refuse to use option code. Value is 252 according to RFC 854. **





Method Detail
getCommand
final public static String getCommand(int code)(Code)
Returns the string representation of the telnet protocol command corresponding to the given command code.


Parameters:
  code - The command code of the telnet protocol command. The string representation of the telnet protocol command.




isValidCommand
final public static boolean isValidCommand(int code)(Code)
Determines if a given command code is valid. Returns true if valid, false if not.


Parameters:
  code - The command code to test. True if the command code is valid, false if not.




Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.