Example usage for Java org.apache.commons.net.telnet TelnetClient fields, constructors, methods, implement or subclass
The text is from its open source code.
TelnetClient() Default TelnetClient constructor, sets terminal-type VT100 . | |
TelnetClient(String termtype) Construct an instance with the specified terminal type. |
void | addOptionHandler(TelnetOptionHandler opthand) Registers a new TelnetOptionHandler for this telnet client to use. |
void | disconnect() Disconnects the telnet session, closing the input and output streams as well as the socket. |
InputStream | getInputStream() Returns the telnet connection input stream. |
OutputStream | getOutputStream() Returns the telnet connection output stream. |
void | registerNotifHandler(TelnetNotificationHandler notifhand) Registers a notification handler to which will be sent notifications of received telnet option negotiation commands. |
boolean | sendAYT(long timeout) Sends an Are You There sequence and waits for the result. |
void | setReaderThread(boolean flag) Sets the status of the reader thread. |