Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jsd.telnet: Javadoc index of package jsd.telnet.


Package Samples:

jsd.telnet

Classes:

TelnetWrapper: The telnet wrapper is a sample class for how to use the telnet protocol handler of the JTA source package. To write a program using the wrapper you may use the following piece of code as an example: TelnetWrapper telnet = new TelnetWrapper(); try { telnet.connect(args[0], 23); telnet.login("user", "password"); telnet.setPrompt("user@host"); telnet.waitfor("Terminal type?"); telnet.send("dumb"); System.out.println(telnet.send("ls -l")); } catch(java.io.IOException e) { e.printStackTrace(); } Please keep in mind that the password is visible for anyone who can download the class file. So use this ...
TelnetProtocolHandler: This is a telnet protocol handler. The handler needs implementations for several methods to handle the telnet options and to be able to read and write the buffer. Maintainer: Marcus Meißner
ScriptHandler: A script handler, that tries to match strings and returns true when it found the string it searched for. Maintainer: Matthias L. Jugel

Home | Contact Us | Privacy Policy | Terms of Service