SSH Factory

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

Packages that use TelnetException
com.jscape.inet.telnet   
 

Uses of TelnetException in com.jscape.inet.telnet
 

Subclasses of TelnetException in com.jscape.inet.telnet
 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
 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
 


SSH Factory

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