## Uses of Class
com.jscape.inet.telnet.TelnetException

- Packages that use TelnetException
  Package | Description
  --- | ---
  com.jscape.inet.telnet |
  com.jscape.inet.telnetssh |
  com.jscape.inet.telnetssl |
  com.jscape.inet.terminal |

- - ### Uses of TelnetException in com.jscape.inet.telnet

    Subclasses of TelnetException in com.jscape.inet.telnet
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TelnetTaskTimeoutException` A subclass of TelnetException, this exception is thrown by a TelnetSession instance when using the TelnetSession#send or TelnetSession#sendWait methods and the TelnetTask exceeds the maximum defined timeout waiting for either the start prompt or end prompt.

    Methods in com.jscape.inet.telnet that throw TelnetException
    Modifier and Type | Method and Description
    --- | ---
    `void` | Telnet.`connect()` Connect the client socket to host and port specified by contructor or `Telnet.setHostname(java.lang.String)`, `Telnet.setPort(int)` methods.
    `void` | TelnetSession.`connect(java.lang.String username, java.lang.String password)` Establishes connection with telnet server and performs login using specified username and password.
    `void` | TelnetSession.`connect(java.lang.String username, java.lang.String password, int timeout)` Establishes connection with telnet server and performs login using specified username and password.
    `void` | TelnetSession.`disconnect()` Disconnects from telnet server.
    `java.lang.String` | TelnetSession.`send(java.lang.String command)` Sends command to telnet host terminated by command terminator.
    `java.lang.String` | TelnetSession.`send(java.lang.String command, long timeout)` Sends command to telnet host terminated by command terminator.
    `java.lang.String` | TelnetSession.`sendWait(java.lang.String command, java.lang.String prompt)` Sends command to telnet host terminated by command terminator.
    `java.lang.String` | TelnetSession.`sendWait(java.lang.String command, java.lang.String prompt, boolean regex)` Sends command to telnet host terminated by command terminator.
    `java.lang.String` | TelnetSession.`sendWait(java.lang.String command, java.lang.String prompt, boolean regex, long timeout)` Sends command to telnet host terminated by command terminator.
    `java.lang.String` | TelnetSession.`sendWait(java.lang.String command, java.lang.String prompt, long timeout)` Sends command to telnet host terminated by command terminator.
    `void` | TelnetTask.`setEndPromptRegex(boolean b)` Specifies if end prompt is a regular expression
    `void` | TelnetTask.`setStartPromptRegex(boolean b)` Specifies if start prompt is a regular expression

  - ### Uses of TelnetException in com.jscape.inet.telnetssh

    Methods in com.jscape.inet.telnetssh that throw TelnetException
    Modifier and Type | Method and Description
    --- | ---
    `void` | TelnetSsh.`connect()` Establishes connection with SSH server and creates secure tunnel to Telnet server.

  - ### Uses of TelnetException in com.jscape.inet.telnetssl

    Methods in com.jscape.inet.telnetssl that throw TelnetException
    Modifier and Type | Method and Description
    --- | ---
    `void` | TelnetSsl.`connect()` Establishes connection to telnet server using SSL/TLS.

  - ### Uses of TelnetException in com.jscape.inet.terminal

    Methods in com.jscape.inet.terminal that throw TelnetException
    Modifier and Type | Method and Description
    --- | ---
    `void` | Terminal.`connect()` Connects to remote host.

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved