Java org.apache.commons.net.telnet TelnetClient fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.net.telnet TelnetClient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.net.telnet TelnetClient.

The text is from its open source code.

Subclass

org.apache.commons.net.telnet.TelnetClient has subclasses.
Click this link to see all its subclasses.

Constructor

TelnetClient()
Default TelnetClient constructor, sets terminal-type VT100 .
TelnetClient(String termtype)
Construct an instance with the specified terminal type.

Method

voidaddOptionHandler(TelnetOptionHandler opthand)
Registers a new TelnetOptionHandler for this telnet client to use.
voiddisconnect()
Disconnects the telnet session, closing the input and output streams as well as the socket.
InputStreamgetInputStream()
Returns the telnet connection input stream.
OutputStreamgetOutputStream()
Returns the telnet connection output stream.
voidregisterNotifHandler(TelnetNotificationHandler notifhand)
Registers a notification handler to which will be sent notifications of received telnet option negotiation commands.
booleansendAYT(long timeout)
Sends an Are You There sequence and waits for the result.
voidsetReaderThread(boolean flag)
Sets the status of the reader thread.