SSH Factory
A B C D E F G I K M P R S T W

A

ACTIVE - Static variable in class com.jscape.inet.ssh.SshTask
SshTask is active and waiting for start prompt to execute command
ACTIVE - Static variable in class com.jscape.inet.telnet.TelnetTask
TelnetTask is active and waiting for start prompt to execute command
AUTH_METHOD_HOSTBASE - Static variable in class com.jscape.inet.ssh.Ssh
 
AUTH_METHOD_KBI - Static variable in class com.jscape.inet.ssh.Ssh
 
AUTH_METHOD_NONE - Static variable in class com.jscape.inet.ssh.Ssh
 
AUTH_METHOD_PASSWORD - Static variable in class com.jscape.inet.ssh.Ssh
 
AUTH_METHOD_PUBLICKEY - Static variable in class com.jscape.inet.ssh.Ssh
 
addIpClientListener(IpClientListener) - Method in class com.jscape.inet.ipclient.IpClient
Adds IpClient event listener
addSshListener(SshListener) - Method in class com.jscape.inet.ssh.Ssh
Add Ssh event listener.
addSshListener(SshListener) - Method in class com.jscape.inet.ssh.SshSession
Add Ssh event listener.
addSshScriptListener(SshScriptListener) - Method in class com.jscape.inet.ssh.SshScript
Adds a SshScriptListener to this SshScript.
addTask(SshTask) - Method in class com.jscape.inet.ssh.SshScript
Adds a SshTask to this SshScript.
addTask(TelnetTask) - Method in class com.jscape.inet.telnet.TelnetScript
Adds a TelnetTask to this TelnetScript.
addTelnetListener(TelnetListener) - Method in class com.jscape.inet.telnet.Telnet
Add telnet event listener.
addTelnetListener(TelnetListener) - Method in class com.jscape.inet.telnet.TelnetSession
Add telnet event listener.
addTelnetScriptListener(TelnetScriptListener) - Method in class com.jscape.inet.telnet.TelnetScript
Adds a TelnetScriptListener to this TelnetScript.
available() - Method in class com.jscape.inet.telnet.TelnetInputStream
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.

B

Binary - class com.jscape.inet.telnet.options.Binary.
Implements Telnet BINARY option as described in RFC 856.
Binary() - Constructor for class com.jscape.inet.telnet.options.Binary
Creates a new Binary instance.

C

CHANNEL_REQUEST_ENV - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_EXEC - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_EXIT_SIGNAL - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_EXIT_STATUS - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_PTY_REQ - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_SHELL - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_SIGNAL - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_SUBSYSTEM - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_WINDOW_CHANGE - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_X11_REQ - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_REQUEST_XON_XOFF - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_TYPE_DIRECT_TCPIP - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_TYPE_FORWARDED_TCPIP - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_TYPE_SESSION - Static variable in class com.jscape.inet.ssh.Ssh
 
CHANNEL_TYPE_X11 - Static variable in class com.jscape.inet.ssh.Ssh
 
COMMAND_MAP - Static variable in class com.jscape.inet.telnet.Telnet
This field can be used to map command codes to their String representation.
COMPLETE - Static variable in class com.jscape.inet.ssh.SshTask
SshTask has finished execution of command and has received end prompt
COMPLETE - Static variable in class com.jscape.inet.telnet.TelnetTask
TelnetTask has finished execution of command and has received end prompt
COMPRESSION_ALG_NONE - Static variable in class com.jscape.inet.ssh.Ssh
 
COMPRESSION_ALG_ZLIB - Static variable in class com.jscape.inet.ssh.Ssh
 
cancel() - Method in class com.jscape.inet.ssh.SshTask
Cancels this task by setting it's status to complete.
cancel() - Method in class com.jscape.inet.telnet.TelnetTask
Cancels this task by setting it's status to complete.
com.jscape.inet.ipclient - package com.jscape.inet.ipclient
Contains classes for creating TCP/IP client applications.
com.jscape.inet.ipclientssh - package com.jscape.inet.ipclientssh
Contains classes for creating secure TCP/IP client applications using an SSH encrypted tunnel.
com.jscape.inet.ssh - package com.jscape.inet.ssh
Contains classes for communicating with SSH (Secure Shell) servers.
com.jscape.inet.ssh.util - package com.jscape.inet.ssh.util
Contains utility classes for use in authenticating with an SSH server.
com.jscape.inet.telnet - package com.jscape.inet.telnet
Contains classes for communicating with telnet servers.
com.jscape.inet.telnet.options - package com.jscape.inet.telnet.options
Contains various option negotiation classes for the telnet protocol.
com.jscape.sscl - package com.jscape.sscl
 
com.jscape.util - package com.jscape.util
Contains some generic utility classes used by this library.
connect() - Method in class com.jscape.inet.ipclient.IpClient
Establishes connection with server.
connect() - Method in class com.jscape.inet.ipclientssh.IpClientSsh
Establishes connection with SSH server, performs authentication and creates tunnel to hostname and port provided in constructor.
connect() - Method in class com.jscape.inet.ssh.Ssh
Connects to SSH server.
connect(int) - Method in class com.jscape.inet.ssh.SshSession
Establishes connection with SSH server and performs login
connect() - Method in class com.jscape.inet.ssh.SshSession
Establishes connection with SSH server and performs login
connect() - Method in class com.jscape.inet.telnet.Telnet
Connect the client socket to host and port specified by contructor or Telnet.setHostname(java.lang.String), Telnet.setPort(int) methods.
connect(String, String, int) - Method in class com.jscape.inet.telnet.TelnetSession
Establishes connection with telnet server and performs login using specified username and password.
connect(String, String) - Method in class com.jscape.inet.telnet.TelnetSession
Establishes connection with telnet server and performs login using specified username and password.
connected(IpClientConnectedEvent) - Method in interface com.jscape.inet.ipclient.IpClientListener
Invoked when connection to server is established.
connected(SshConnectedEvent) - Method in class com.jscape.inet.ssh.SshAdapter
Invoked when SSH connection is established.
connected(SshConnectedEvent) - Method in interface com.jscape.inet.ssh.SshListener
Invoked when SSH connection is established.
connected(TelnetConnectedEvent) - Method in class com.jscape.inet.telnet.TelnetAdapter
Invoked when Telnet connection is established.
connected(TelnetConnectedEvent) - Method in interface com.jscape.inet.telnet.TelnetListener
Invoked when Telnet connection is established.

D

DEFAULT_TYPE - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_AUTH_CANCELLED_BY_USER - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_BY_APPLICATION - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_COMPRESSION_ERROR - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_CONNECTION_LOST - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_HOST_KEY_NOT_VERIFIABLE - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_ILLEGAL_USER_NAME - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_KEY_EXCHANGE_FAILED - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_MAC_ERROR - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_PROTOCOL_ERROR - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_RESERVED - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_SERVICE_NOT_AVAILABLE - Static variable in class com.jscape.inet.ssh.Ssh
 
DISCONNECT_TOO_MANY_CONNECTIONS - Static variable in class com.jscape.inet.ssh.Ssh
 
DoOptionEvent - class com.jscape.inet.telnet.DoOptionEvent.
Fired by Telnet instance when a DO OPTION command is received from the Telnet server.
DoOptionEvent(Object, TelnetOption) - Constructor for class com.jscape.inet.telnet.DoOptionEvent
Constructs a new DoOptionEvent instance.
DoSubOptionEvent - class com.jscape.inet.telnet.DoSubOptionEvent.
Fired by Telnet instance when a SB OPTION command is received from the Telnet server.
DoSubOptionEvent(Object, TelnetOption) - Constructor for class com.jscape.inet.telnet.DoSubOptionEvent
Constructs a new DoSubOptionEvent instance.
DontOptionEvent - class com.jscape.inet.telnet.DontOptionEvent.
Fired by Telnet instance when a DONT OPTION command is received from the Telnet server.
DontOptionEvent(Object, TelnetOption) - Constructor for class com.jscape.inet.telnet.DontOptionEvent
Constructs a new DontOptionEvent instance.
dataReceived(SshDataReceivedEvent) - Method in class com.jscape.inet.ssh.SshAdapter
Invoked when data is received from Telnet server.
dataReceived(SshDataReceivedEvent) - Method in interface com.jscape.inet.ssh.SshListener
Invoked when data is received from SSH server.
dataReceived(SshDataReceivedEvent) - Method in class com.jscape.inet.ssh.SshTask
Gets data received from Ssh server as fired by SshListener
dataReceived(TelnetDataReceivedEvent) - Method in class com.jscape.inet.telnet.TelnetAdapter
Invoked when data is received from Telnet server.
dataReceived(TelnetDataReceivedEvent) - Method in interface com.jscape.inet.telnet.TelnetListener
Invoked when data is received from Telnet server.
dataReceived(TelnetDataReceivedEvent) - Method in class com.jscape.inet.telnet.TelnetTask
Gets data received from Telnet server as fired by TelnetListener
debug(String) - Method in class com.jscape.inet.ssh.SshSession
Sends debug message to debug stream.
debug(String) - Method in class com.jscape.inet.telnet.TelnetSession
Sends debug message to debug stream.
disconnect() - Method in class com.jscape.inet.ipclient.IpClient
Closes connection with server.
disconnect() - Method in class com.jscape.inet.ipclientssh.IpClientSsh
Closes tunnel between SSH server and host and closes connection to SSH server.
disconnect() - Method in class com.jscape.inet.ssh.Ssh
Closes open connection.
disconnect() - Method in class com.jscape.inet.ssh.SshSession
Disconnects from SSH server.
disconnect() - Method in class com.jscape.inet.telnet.Telnet
Disconnects and releases all associated resources.
disconnect() - Method in class com.jscape.inet.telnet.TelnetSession
Disconnects from telnet server.
disconnected(IpClientDisconnectedEvent) - Method in interface com.jscape.inet.ipclient.IpClientListener
Invoked when connection to server is closed.
disconnected(SshDisconnectedEvent) - Method in class com.jscape.inet.ssh.SshAdapter
Invoked when SSH connection is released.
disconnected(SshDisconnectedEvent) - Method in interface com.jscape.inet.ssh.SshListener
Invoked when SSH connection is released.
disconnected(TelnetDisconnectedEvent) - Method in class com.jscape.inet.telnet.TelnetAdapter
Invoked when Telnet connection is released.
disconnected(TelnetDisconnectedEvent) - Method in interface com.jscape.inet.telnet.TelnetListener
Invoked when Telnet connection is released.
doOption(DoOptionEvent) - Method in class com.jscape.inet.telnet.TelnetAdapter
Invoked when a DO OPTION (request client to use option) command is received from the Telnet server.
doOption(DoOptionEvent) - Method in interface com.jscape.inet.telnet.TelnetListener
Invoked when a DO OPTION (request client to use option) command is received from the Telnet server.
doSubOption(DoSubOptionEvent) - Method in class com.jscape.inet.telnet.TelnetAdapter
Invoked when SB OPTION (subnegotiation) command is received from Telnet server, typically after accepting a WILL OPTION (offer client to use option) command from Telnet server.
doSubOption(DoSubOptionEvent) - Method in interface com.jscape.inet.telnet.TelnetListener
Invoked when SB OPTION (subnegotiation) command is received from Telnet server, typically after accepting a WILL OPTION command from Telnet server.
dontOption(DontOptionEvent) - Method in class com.jscape.inet.telnet.TelnetAdapter
Invoked when a DONT OPTION (refuse client request to use option) command is received from the Telnet server.
dontOption(DontOptionEvent) - Method in interface com.jscape.inet.telnet.TelnetListener
Invoked when a DONT OPTION (refuse client request to use option) command is received from the Telnet server.

E

ENCRYPTION_ALG_3DES_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_AES128_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_AES192_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_AES256_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_ARCFOUR - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_BLOWFISH_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_CAST128_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_DES_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_IDEA_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_NONE - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_SERPENT128_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_SERPENT192_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_SERPENT256_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_TWOFISH128_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_TWOFISH192_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_TWOFISH256_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ENCRYPTION_ALG_TWOFISH_CBC - Static variable in class com.jscape.inet.ssh.Ssh
 
ExceptionWrapper - interface com.jscape.util.ExceptionWrapper.
 
execute(File) - Method in class com.jscape.sscl.SSCL
Executes commands provided in file.
execute(byte[]) - Method in class com.jscape.sscl.SSCL
Executes commands provided in byte[]

F

flush() - Method in class com.jscape.inet.telnet.TelnetInputStream
Reads until the amount of data available is greater than 0 bytes

G

getCharacterSet() - Method in class com.jscape.inet.telnet.Telnet
Gets the character set used when reading data from Telnet server.
getCommand() - Method in class com.jscape.inet.ssh.SshTask
Gets the command to execute
getCommand() - Method in class com.jscape.inet.telnet.TelnetTask
Gets the command to execute
getCommandCode() - Method in class com.jscape.inet.telnet.TelnetCommandEvent
Returns command sent by Telnet server.
getCommandName(int) - Method in class com.jscape.inet.telnet.Telnet
Gets name of command based on corresponding command.
getCommandTerminator() - Method in class com.jscape.inet.ssh.SshSession
Gets terminator used when sending data to SSH server.
getCommandTerminator() - Method in class com.jscape.inet.telnet.TelnetSession
Gets terminator used when sending data to telnet server.
getData() - Method in class com.jscape.inet.ssh.SshDataReceivedEvent
Gets data received from the Ssh server.
getData() - Method in class com.jscape.inet.telnet.TelnetDataReceivedEvent
Gets data received from the Telnet server as a string.
getDebug() - Method in class com.jscape.inet.ssh.Ssh
Gets whether debugging is enabled.
getDebug() - Method in class com.jscape.inet.ssh.SshSession
Checks if debugging is enabled.
getDebug() - Method in class com.jscape.inet.telnet.Telnet
Gets debugging state.
getDebugStream() - Method in class com.jscape.inet.ssh.Ssh
Gets PrintStream used in reporting debug statements.
getDebugStream() - Method in class com.jscape.inet.ssh.SshSession
Gets PrintStream used in outputting debug information.
getDebugStream() - Method in class com.jscape.inet.telnet.Telnet
Gets PrintStream used in reporting debug statements.
getDebugStream() - Method in class com.jscape.inet.telnet.TelnetSession
Gets PrintStream used in outputting debug information.
getEndPrompt() - Method in class com.jscape.inet.ssh.SshTask
Gets the end shell prompt this SshTask should wait for to indicate that this SshTask is complete.
getEndPrompt() - Method in class com.jscape.inet.telnet.TelnetTask
Gets the end shell prompt this TelnetTask should wait for to indicate that this TelnetTask is complete.
getEndPromptTimeout() - Method in class com.jscape.inet.ssh.SshTask
Gets the maximum timeout between the time the task is in running state and the expected end prompt is received.
getEndPromptTimeout() - Method in class com.jscape.inet.telnet.TelnetTask
Gets the maximum timeout between the time the task is in running state and the expected end prompt is received.
getException() - Method in class com.jscape.inet.ipclient.IpClientException
Gets Exception which caused this IpClientException.
getException() - Method in class com.jscape.inet.ssh.SshException
Gets source of this exception
getException() - Method in class com.jscape.inet.ssh.SshTaskFailedEvent
Gets the exception that caused the SshTask to fail.
getException() - Method in class com.jscape.inet.telnet.TelnetException
Gets source of this exception
getException() - Method in class com.jscape.inet.telnet.TelnetTaskFailedEvent
Gets the exception that caused the TelnetTask to fail.
getException() - Method in interface com.jscape.util.ExceptionWrapper
Gets the source of the exception.
getHost() - Method in class com.jscape.inet.ssh.SshConnectedEvent
Gets host of SSH server.
getHost() - Method in class com.jscape.inet.ssh.SshDisconnectedEvent
Gets host of SSH server.
getHost() - Method in class com.jscape.inet.telnet.TelnetConnectedEvent
Gets host of Telnet server.
getHost() - Method in class com.jscape.inet.telnet.TelnetDisconnectedEvent
Gets host of Telnet server.
getHostname() - Method in class com.jscape.inet.ipclient.IpClientConnectedEvent
Gets hostname of server
getHostname() - Method in class com.jscape.inet.ipclient.IpClientDisconnectedEvent
Gets server hostname.
getHostname() - Method in class com.jscape.inet.ssh.Ssh
Return server hostname.
getHostname() - Method in class com.jscape.inet.telnet.Telnet
Return server hostname.
getInputStream() - Method in class com.jscape.inet.ipclient.IpClient
Gets InputStream from socket connection established with server.
getInputStream() - Method in class com.jscape.inet.ssh.Ssh
Returns connection input stream.
getInputStream() - Method in class com.jscape.inet.telnet.Telnet
Returns input stream associated with current Telnet connection.
getLoginPrompt() - Method in class com.jscape.inet.telnet.TelnetSession
Gets login prompt to wait for before sending username.
getName() - Method in class com.jscape.inet.ssh.SshTask
Gets name of this SshTask as defined in constructor.
getName() - Method in class com.jscape.inet.telnet.TelnetTask
Gets name of this TelnetTask as defined in constructor.
getNextTask() - Method in class com.jscape.inet.ssh.SshTask
Gets the next task executed after this SshTask.
getNextTask() - Method in class com.jscape.inet.telnet.TelnetTask
Gets the next task executed after this TelnetTask.
getOption() - Method in class com.jscape.inet.telnet.DoOptionEvent
Gets the TelnetOption sent by Telnet server.
getOption() - Method in class com.jscape.inet.telnet.DoSubOptionEvent
Gets the TelnetOption sent by Telnet server.
getOption() - Method in class com.jscape.inet.telnet.DontOptionEvent
Gets the TelnetOption sent by Telnet server.
getOption() - Method in class com.jscape.inet.telnet.WillOptionEvent
Gets the TelnetOption sent by Telnet server.
getOption() - Method in class com.jscape.inet.telnet.WontOptionEvent
Gets the TelnetOption sent by Telnet server.
getOptionCode() - Method in class com.jscape.inet.telnet.TelnetOption
Gets option code.
getOptionName() - Method in class com.jscape.inet.telnet.TelnetOption
Gets name of this option based on its option code.
getOutputStream() - Method in class com.jscape.inet.ipclient.IpClient
Gets OutputStream from socket connection established with server.
getOutputStream() - Method in class com.jscape.inet.ssh.Ssh
Returns connection output stream.
getOutputStream() - Method in class com.jscape.inet.telnet.Telnet
Returns output stream associated with current telnet connection.
getPasswordPrompt() - Method in class com.jscape.inet.telnet.TelnetSession
Gets password prompt to wait for before sending password.
getPort() - Method in class com.jscape.inet.ipclient.IpClientConnectedEvent
Gets port of server
getPort() - Method in class com.jscape.inet.ipclient.IpClientDisconnectedEvent
Gets server port.
getPort() - Method in class com.jscape.inet.ssh.Ssh
Return server port.
getPort() - Method in class com.jscape.inet.ssh.SshConnectedEvent
Gets port of SSH server.
getPort() - Method in class com.jscape.inet.ssh.SshDisconnectedEvent
Gets port of SSH server.
getPort() - Method in class com.jscape.inet.telnet.Telnet
Return server port.
getPort() - Method in class com.jscape.inet.telnet.TelnetConnectedEvent
Gets port of Telnet server.
getPort() - Method in class com.jscape.inet.telnet.TelnetDisconnectedEvent
Gets port of Telnet server.
getPort() - Method in class com.jscape.inet.telnet.TelnetSession
Gets the port of the telnet server.
getPreviousTask() - Method in class com.jscape.inet.ssh.SshTask
Gets the SshTask executed prior to this SshTask.
getPreviousTask() - Method in class com.jscape.inet.telnet.TelnetTask
Gets the TelnetTask executed prior to this TelnetTask.
getPrivateKey() - Method in class com.jscape.inet.ssh.util.SshParameters
Sets key pair to be used when authenticating with SSH Server.
getReader() - Method in class com.jscape.inet.telnet.Telnet
Returns Reader object for reading from the server.
getResponse() - Method in class com.jscape.inet.ssh.SshTask
Gets response to command executed.
getResponse() - Method in class com.jscape.inet.telnet.TelnetTask
Gets response to command executed.
getScript() - Method in class com.jscape.inet.ssh.SshTask
Gets the SshScript this SshTask is bound to.
getScript() - Method in class com.jscape.inet.telnet.TelnetTask
Gets the TelnetScript this TelnetTask is bound to.
getShellPrompt() - Method in class com.jscape.inet.ssh.SshSession
Gets shell prompt to wait for before sending commands.
getShellPrompt() - Method in class com.jscape.inet.telnet.TelnetSession
Gets shell prompt to wait for before sending commands.
getSocket() - Method in class com.jscape.inet.ipclient.IpClient
Gets Socket established after invoking the IpClient#connect method.
getSocket() - Method in class com.jscape.inet.ipclientssh.IpClientSsh
Gets Socket established after invoking the IpClient#connect method.
getSource() - Method in class com.jscape.sscl.SSCLException
 
getSsh() - Method in class com.jscape.inet.ssh.SshSession
Gets underlying Ssh instance
getSshHostname() - Method in class com.jscape.inet.ssh.util.SshParameters
Gets SSH hostname.
getSshPassword() - Method in class com.jscape.inet.ssh.util.SshParameters
Gets SSH password.
getSshPort() - Method in class com.jscape.inet.ssh.util.SshParameters
Gets SSH port.
getSshUsername() - Method in class com.jscape.inet.ssh.util.SshParameters
Gets SSH username.
getStartPrompt() - Method in class com.jscape.inet.ssh.SshTask
Gets the shell prompt this SshTask should wait for before executing command.
getStartPrompt() - Method in class com.jscape.inet.telnet.TelnetTask
Gets the shell prompt this TelnetTask should wait for before executing command.
getStartPromptTimeout() - Method in class com.jscape.inet.ssh.SshTask
Gets the maximum timeout between the time the task is in active state and the expected start prompt is received.
getStartPromptTimeout() - Method in class com.jscape.inet.telnet.TelnetTask
Gets the maximum timeout between the time the task is in active state and the expected start prompt is received.
getStatus() - Method in class com.jscape.inet.ssh.SshTask
Gets completion status of this SshTask.
getStatus() - Method in class com.jscape.inet.telnet.TelnetTask
Gets completion status of this TelnetTask.
getStream() - Method in class com.jscape.inet.telnet.TelnetInputStream
Returns underlying stream.
getStream() - Method in class com.jscape.inet.telnet.TelnetOutputStream
Returns underlying stream.
getTask(String) - Method in class com.jscape.inet.ssh.SshScript
Gets the named SshTask based on the name attribute of a SshTask.
getTask() - Method in class com.jscape.inet.ssh.SshTaskEndEvent
Gets the SshTask that has started.
getTask() - Method in class com.jscape.inet.ssh.SshTaskFailedEvent
Gets the SshTask that has failed.
getTask() - Method in class com.jscape.inet.ssh.SshTaskStartEvent
Gets the SshTask that has started.
getTask() - Method in class com.jscape.inet.ssh.SshTaskTimeoutEvent
Gets the SshTask that has timed out.
getTask() - Method in class com.jscape.inet.ssh.SshTaskTimeoutException
Gets the SshTask that timed out
getTask(String) - Method in class com.jscape.inet.telnet.TelnetScript
Gets the named TelnetTask based on the name attribute of a TelnetTask.
getTask() - Method in class com.jscape.inet.telnet.TelnetTaskEndEvent
Gets the TelnetTask that has started.
getTask() - Method in class com.jscape.inet.telnet.TelnetTaskFailedEvent
Gets the TelnetTask that has failed.
getTask() - Method in class com.jscape.inet.telnet.TelnetTaskStartEvent
Gets the TelnetTask that has started.
getTask() - Method in class com.jscape.inet.telnet.TelnetTaskTimeoutEvent
Gets the TelnetTask that has timed out.
getTask() - Method in class com.jscape.inet.telnet.TelnetTaskTimeoutException
Gets the TelnetTask that timed out
getTelnet() - Method in class com.jscape.inet.telnet.TelnetSession
Gets underlying Telnet instance
getTerminalType() - Method in class com.jscape.inet.telnet.options.TerminalType
Gets the terminal type.
getTerminator() - Method in class com.jscape.inet.ssh.SshTask
Gets line terminator used when sending commands.
getTerminator() - Method in class com.jscape.inet.telnet.TelnetTask
Gets line terminator used when sending commands.
getTimeout() - Method in class com.jscape.inet.ssh.Ssh
Gets the timeout for opening connection to SSH server.
getTimeout() - Method in class com.jscape.inet.ssh.SshTask
Deprecated. replaced by getEndPromptTimeout
getTimeout() - Method in class com.jscape.inet.telnet.Telnet
Gets the timeout for opening connection to Telnet server.
getTimeout() - Method in class com.jscape.inet.telnet.TelnetTask
Deprecated. replaced by getEndPromptTimeout method
getWriter() - Method in class com.jscape.inet.telnet.Telnet
Returns Writer object for writing to server.

I

IpClient - class com.jscape.inet.ipclient.IpClient.
Implements basic functionality of a TCP/IP client connection.
IpClient(String, int) - Constructor for class com.jscape.inet.ipclient.IpClient
Creates a new IpClient instance.
IpClient(String, int, int) - Constructor for class com.jscape.inet.ipclient.IpClient
Creates a new IpClient instance.
IpClientConnectedEvent - class com.jscape.inet.ipclient.IpClientConnectedEvent.
Fired when connection with server is established
IpClientConnectedEvent(Object, String, int) - Constructor for class com.jscape.inet.ipclient.IpClientConnectedEvent
Creates a new IpClientConnectedEvent instance.
IpClientDisconnectedEvent - class com.jscape.inet.ipclient.IpClientDisconnectedEvent.
Fired when connection with server is closed.
IpClientDisconnectedEvent(Object, String, int) - Constructor for class com.jscape.inet.ipclient.IpClientDisconnectedEvent
Creates a new IpClientDisconnectedEvent instance.
IpClientException - exception com.jscape.inet.ipclient.IpClientException.
IpClientException is thrown by many methods of IpClient class.
IpClientException(String) - Constructor for class com.jscape.inet.ipclient.IpClientException
Creates exception with specified message string.
IpClientException(String, Exception) - Constructor for class com.jscape.inet.ipclient.IpClientException
IpClientException is thrown by many methods of IpClient class.
IpClientListener - interface com.jscape.inet.ipclient.IpClientListener.
Implements methods for capturing connected and disconnected events from IpClient class.
IpClientSsh - class com.jscape.inet.ipclientssh.IpClientSsh.
Implements basic functionality of a TCP/IP client connection tunnelling data through a secure SSH connection.
IpClientSsh(SshParameters, String, int) - Constructor for class com.jscape.inet.ipclientssh.IpClientSsh
Creates a new IpClientSsh instance.
IpClientSsh(SshParameters, String, int, int) - Constructor for class com.jscape.inet.ipclientssh.IpClientSsh
Creates a new IpClientSsh instance.
IpClientSsh(SshParameters, String, int, int, SshConfiguration) - Constructor for class com.jscape.inet.ipclientssh.IpClientSsh
 
isActive() - Method in class com.jscape.inet.ssh.SshTask
Checks if this SshTask is active.
isActive() - Method in class com.jscape.inet.telnet.TelnetTask
Checks if this TelnetTask is active.
isComplete() - Method in class com.jscape.inet.ssh.SshScript
Checks whether this SshScript has completed execution of all SshTask.
isComplete() - Method in class com.jscape.inet.ssh.SshTask
Checks if this SshTask is complete.
isComplete() - Method in class com.jscape.inet.telnet.TelnetScript
Checks whether this TelnetScript has completed execution of all TelnetTask.
isComplete() - Method in class com.jscape.inet.telnet.TelnetTask
Checks if this TelnetTask is complete.
isConnected() - Method in class com.jscape.inet.ssh.Ssh
Checks if the current client is connected.
isDebug() - Method in class com.jscape.inet.telnet.TelnetSession
Checks if debugging is enabled.
isEmpty() - Method in class com.jscape.inet.ssh.SshScript
Checks if there are any SshTask bound to this SshScript
isEmpty() - Method in class com.jscape.inet.telnet.TelnetScript
Checks if there are any TelnetTask bound to this TelnetScript
isEndPromptRegex() - Method in class com.jscape.inet.ssh.SshTask
Checks if end prompt is a regular expression
isEndPromptRegex() - Method in class com.jscape.inet.telnet.TelnetTask
Checks if end prompt is a regular expression
isInitReader() - Method in class com.jscape.inet.ssh.Ssh
Gets if reader should be initialized automatically or if will be created by user.
isPending() - Method in class com.jscape.inet.ssh.SshTask
Checks if this SshTask is pending activation.
isPending() - Method in class com.jscape.inet.telnet.TelnetTask
Checks if this TelnetTask is pending activation.
isRunning() - Method in class com.jscape.inet.ssh.SshTask
Checks if this SshTask is running.
isRunning() - Method in class com.jscape.inet.telnet.TelnetTask
Checks if this TelnetTask is running.
isStartPromptRegex() - Method in class com.jscape.inet.ssh.SshTask
Specified if start prompt is a regular expression
isStartPromptRegex() - Method in class com.jscape.inet.telnet.TelnetTask
Specified if start prompt is a regular expression
isTimedOut() - Method in class com.jscape.inet.ssh.SshTask
Checks if task has exceeded timeout
isTimedOut() - Method in class com.jscape.inet.telnet.TelnetTask
Checks if task has exceeded timeout

K

KEY_EXCHANGE_DIFFIE_HELLMAN - Static variable in class com.jscape.inet.ssh.Ssh
 

M

MAC_ALG_HMAC_MD5 - Static variable in class com.jscape.inet.ssh.Ssh
 
MAC_ALG_HMAC_MD5_96 - Static variable in class com.jscape.inet.ssh.Ssh
 
MAC_ALG_HMAC_SHA1 - Static variable in class com.jscape.inet.ssh.Ssh
 
MAC_ALG_HMAC_SHA1_96 - Static variable in class com.jscape.inet.ssh.Ssh
 
MAC_ALG_NONE - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_CLOSE - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_DATA - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_EOF - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_EXTENDED_DATA - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_FAILURE - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_OPEN - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_OPEN_CONFIRMATION - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_OPEN_FAILURE - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_REQUEST - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_SUCCESS - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_CHANNEL_WINDOW_ADJUST - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_DEBUG - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_DISCONNECT - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_GLOBAL_REQUEST - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_IGNORE - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_KEXDH_INIT - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_KEXDH_REPLY - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_KEXINIT - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_NEWKEYS - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_REQUEST_FAILURE - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_REQUEST_SUCCESS - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_SERVICE_ACCEPT - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_SERVICE_REQUEST - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_UNIMPLEMENTED - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_USERAUTH_BANNER - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_USERAUTH_FAILURE - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_USERAUTH_PK_OK - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_USERAUTH_REQUEST - Static variable in class com.jscape.inet.ssh.Ssh
 
MSG_USERAUTH_SUCCESS - Static variable in class com.jscape.inet.ssh.Ssh
 
main(String[]) - Static method in class com.jscape.sscl.SSCL
Launches SSCL application.
mark(int) - Method in class com.jscape.inet.telnet.TelnetInputStream
Marks the current position in this input stream.
markSupported() - Method in class com.jscape.inet.telnet.TelnetInputStream
Checks if mark is supported in this TelnetInputStream

P

PENDING - Static variable in class com.jscape.inet.ssh.SshTask
SshTask is waiting to be activated
PENDING - Static variable in class com.jscape.inet.telnet.TelnetTask
TelnetTask is waiting to be activated
PROTOCOL_REQUEST_TCPIP_FORWARD - Static variable in class com.jscape.inet.ssh.Ssh
 
PROTOCOL_REQUEST_TCPIP_FORWARD_CANCEL - Static variable in class com.jscape.inet.ssh.Ssh
 
PUB_KEY_ALG_PGP_SIGN_DSS - Static variable in class com.jscape.inet.ssh.Ssh
 
PUB_KEY_ALG_PGP_SIGN_RSA - Static variable in class com.jscape.inet.ssh.Ssh
 
PUB_KEY_ALG_SPKI_SIGN_DSS - Static variable in class com.jscape.inet.ssh.Ssh
 
PUB_KEY_ALG_SPKI_SIGN_RSA - Static variable in class com.jscape.inet.ssh.Ssh
 
PUB_KEY_ALG_SSH_DSS - Static variable in class com.jscape.inet.ssh.Ssh
 
PUB_KEY_ALG_SSH_RSA - Static variable in class com.jscape.inet.ssh.Ssh
 
PUB_KEY_ALG_X509V3_SIGN_DSS - Static variable in class com.jscape.inet.ssh.Ssh
 
PUB_KEY_ALG_X509V3_SIGN_RSA - Static variable in class com.jscape.inet.ssh.Ssh
 
pause(long) - Method in class com.jscape.inet.ssh.SshSession
Pauses current session for specified timeout
pause(long) - Method in class com.jscape.inet.telnet.TelnetSession
Pauses current session for specified timeout
println(String) - Method in class com.jscape.inet.telnet.TelnetOutputStream
Write line of data with escaping IAC terminated with LF.
println(String, String) - Method in class com.jscape.inet.telnet.TelnetOutputStream
Write line of data with escaping IAC terminated with specified line terminator.

R

RUNNING - Static variable in class com.jscape.inet.ssh.SshTask
SshTask has received start prompt and is currently executing command
RUNNING - Static variable in class com.jscape.inet.telnet.TelnetTask
TelnetTask has received start prompt and is currently executing command
read() - Method in class com.jscape.inet.telnet.TelnetInputStream
Read data from telnet stream with escaping control characters.
read(byte[]) - Method in class com.jscape.inet.telnet.TelnetInputStream
Read data from telnet stream with escaping control characters.
read(byte[], int, int) - Method in class com.jscape.inet.telnet.TelnetInputStream
Read data from telnet stream with escaping control characters.
readBlock(String[]) - Method in class com.jscape.inet.telnet.TelnetInputStream
Reads from the stream.
readLine(String[]) - Method in class com.jscape.inet.telnet.TelnetInputStream
Reads from the stream.
readSubnegotiation(InputStream) - Method in class com.jscape.inet.telnet.TelnetOption
Reads subnegotiation data for this TelnetOption By default this method is empty and and is intended for use in subclasses requiring option negotiation.
readSubnegotiation(InputStream) - Method in class com.jscape.inet.telnet.options.TerminalType
Reads subnegotiation data for this TelnetOption
removeIpClientListener(IpClientListener) - Method in class com.jscape.inet.ipclient.IpClient
Removes an IpClient event listener
removeSshListener(SshListener) - Method in class com.jscape.inet.ssh.Ssh
Remove Ssh event listener.
removeSshListener(SshListener) - Method in class com.jscape.inet.ssh.SshSession
Remove Ssh event listener.
removeSshScriptListener(SshScriptListener) - Method in class com.jscape.inet.ssh.SshScript
Removes a SshScriptListener from this SshScript
removeTelnetListener(TelnetListener) - Method in class com.jscape.inet.telnet.Telnet
Remove telnet event listener.
removeTelnetListener(TelnetListener) - Method in class com.jscape.inet.telnet.TelnetSession
Remove telnet event listener.
removeTelnetScriptListener(TelnetScriptListener) - Method in class com.jscape.inet.telnet.TelnetScript
Removes a TelnetScriptListener from this TelnetScript
requestExec(String) - Method in class com.jscape.inet.ssh.Ssh
Method requestExec request the SSH server to start the execution of the given command.
requestPTY(String, int, int) - Method in class com.jscape.inet.ssh.Ssh
Method requestPty allocates a pseudo-terminal for the session.
requestShell() - Method in class com.jscape.inet.ssh.Ssh
Method requestShell request the user's default shell.
reset() - Method in class com.jscape.inet.telnet.TelnetInputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.

S

SERVICE_CONNECTION - Static variable in class com.jscape.inet.ssh.Ssh
 
SERVICE_USERAUTH - Static variable in class com.jscape.inet.ssh.Ssh
 
SSCL - class com.jscape.sscl.SSCL.
Runs a script using commands defined in the Secure Shell Command Line language.
SSCL() - Constructor for class com.jscape.sscl.SSCL
Constructs new SSCL instance.
SSCLException - exception com.jscape.sscl.SSCLException.
 
SSCLException(String) - Constructor for class com.jscape.sscl.SSCLException
 
SSCLException(String, Exception) - Constructor for class com.jscape.sscl.SSCLException
 
Ssh - class com.jscape.inet.ssh.Ssh.
Implements the basic functionality of a SSH2 (Secure Shell) client.
Ssh(SshParameters) - Constructor for class com.jscape.inet.ssh.Ssh
Constructs a new Ssh instance
Ssh(String, String) - Constructor for class com.jscape.inet.ssh.Ssh
Constructs a new Ssh instance.
Ssh(String, int, String) - Constructor for class com.jscape.inet.ssh.Ssh
Constructs a new Ssh instance.
Ssh(String, String, String) - Constructor for class com.jscape.inet.ssh.Ssh
Consructs a new Ssh instance.
Ssh(String, int, String, String) - Constructor for class com.jscape.inet.ssh.Ssh
Constructs a new Ssh instance.
Ssh(String, int, String, String, SshConfiguration) - Constructor for class com.jscape.inet.ssh.Ssh
 
SshAdapter - class com.jscape.inet.ssh.SshAdapter.
Implements methods for capturing events sourced from Ssh class.
SshAdapter() - Constructor for class com.jscape.inet.ssh.SshAdapter
 
SshConnectedEvent - class com.jscape.inet.ssh.SshConnectedEvent.
Fired by Ssh instance upon successfull connection to SSH server.
SshConnectedEvent(Object, String, int) - Constructor for class com.jscape.inet.ssh.SshConnectedEvent
Creates SshConnectedEvent.
SshDataReceivedEvent - class com.jscape.inet.ssh.SshDataReceivedEvent.
Fired by Ssh instance when SSH server sends data to client.
SshDataReceivedEvent(Object, String) - Constructor for class com.jscape.inet.ssh.SshDataReceivedEvent
Creates a new SshDataReceivedEvent instance.
SshDisconnectedEvent - class com.jscape.inet.ssh.SshDisconnectedEvent.
Fired by Ssh instance upon disconnect from server.
SshDisconnectedEvent(Object, String, int) - Constructor for class com.jscape.inet.ssh.SshDisconnectedEvent
Created SshDisconnectedEvent.
SshException - exception com.jscape.inet.ssh.SshException.
SshException is thrown by many methods of Ssh class.
SshException(String) - Constructor for class com.jscape.inet.ssh.SshException
Creates exception with specified message string.
SshException(String, Exception) - Constructor for class com.jscape.inet.ssh.SshException
Creates exception with specified message string and source exception
SshListener - interface com.jscape.inet.ssh.SshListener.
Implements methods for capturing events sourced from Ssh class.
SshParameters - class com.jscape.inet.ssh.util.SshParameters.
Contains information used in establishing a connection to and authenticating with an SSH server.
SshParameters(String, int, String, String, File) - Constructor for class com.jscape.inet.ssh.util.SshParameters
Creates a new parameters instance.
SshParameters(String, String, File) - Constructor for class com.jscape.inet.ssh.util.SshParameters
Creates a new SshParameters instance.
SshParameters(String, int, String, File) - Constructor for class com.jscape.inet.ssh.util.SshParameters
Creates a new SshParameters instance.
SshParameters(String, String, String) - Constructor for class com.jscape.inet.ssh.util.SshParameters
Creates a new SshParameters instance.
SshParameters(String, int, String, String) - Constructor for class com.jscape.inet.ssh.util.SshParameters
Creates a new SshParameters instance.
SshParameters(String, String, String, File) - Constructor for class com.jscape.inet.ssh.util.SshParameters
Creates a new SshParameters instance.
SshScript - class com.jscape.inet.ssh.SshScript.
The SshScript class provides a simple way of running a set of batch scripted commands against a SSH server.
SshScript(Ssh) - Constructor for class com.jscape.inet.ssh.SshScript
Constructs a new SshScript instance.
SshScript(Ssh, String) - Constructor for class com.jscape.inet.ssh.SshScript
Constructs a new SshScript instance.
SshScriptListener - interface com.jscape.inet.ssh.SshScriptListener.
Implements methods for capturing events sourced from SshScript class.
SshSession - class com.jscape.inet.ssh.SshSession.
Convenience class for automating communications with a SSH server.
SshSession(SshParameters) - Constructor for class com.jscape.inet.ssh.SshSession
Creates a new SshSession instance.
SshSession(String, String, String) - Constructor for class com.jscape.inet.ssh.SshSession
Creates a new SshSession instance.
SshSession(String, int, String, String) - Constructor for class com.jscape.inet.ssh.SshSession
Creates a new SshSession instance.
SshTask - class com.jscape.inet.ssh.SshTask.
The SshTask class represents a command to be executed in batch (non-interactive) mode on SSH server.
SshTask(String, String, String, String) - Constructor for class com.jscape.inet.ssh.SshTask
Constructs a new SshTask instance.
SshTask(String, String, String) - Constructor for class com.jscape.inet.ssh.SshTask
Constructs a new SshTask instance.
SshTaskEndEvent - class com.jscape.inet.ssh.SshTaskEndEvent.
Fired when a SshTask has completed
SshTaskEndEvent(Object, SshTask) - Constructor for class com.jscape.inet.ssh.SshTaskEndEvent
Creates a new instance of SshTaskEndEvent
SshTaskFailedEvent - class com.jscape.inet.ssh.SshTaskFailedEvent.
Fired when a SshTask has failed to complete
SshTaskFailedEvent(Object, SshTask, Exception) - Constructor for class com.jscape.inet.ssh.SshTaskFailedEvent
Creates a new instance of SshTaskFailedEvent.
SshTaskStartEvent - class com.jscape.inet.ssh.SshTaskStartEvent.
Fired when a SshTask is started
SshTaskStartEvent(Object, SshTask) - Constructor for class com.jscape.inet.ssh.SshTaskStartEvent
Creates a new instance of SshTaskStartEvent
SshTaskTimeoutEvent - class com.jscape.inet.ssh.SshTaskTimeoutEvent.
Fired when a SshTask has exceeded the defined timeout
SshTaskTimeoutEvent(Object, SshTask) - Constructor for class com.jscape.inet.ssh.SshTaskTimeoutEvent
Creates a new instance of SshTaskTimeoutEvent
SshTaskTimeoutException - exception com.jscape.inet.ssh.SshTaskTimeoutException.
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 the end prompt.
SshTaskTimeoutException(SshTask) - Constructor for class com.jscape.inet.ssh.SshTaskTimeoutException
Constructs a new SshTaskTimeoutException instance
send(String, long) - Method in class com.jscape.inet.ssh.SshSession
Sends command to SSH host terminated by command terminator.
send(String) - Method in class com.jscape.inet.ssh.SshSession
Sends command to SSH host terminated by command terminator.
send(String, String) - Method in class com.jscape.inet.ssh.SshSession
Deprecated. replaced by SshSession.sendWait(String, String) method
send(String, long) - Method in class com.jscape.inet.telnet.TelnetSession
Sends command to telnet host terminated by command terminator.
send(String) - Method in class com.jscape.inet.telnet.TelnetSession
Sends command to telnet host terminated by command terminator.
sendCommand(int) - Method in class com.jscape.inet.telnet.Telnet
Sends telnet command.
sendCommand(int, int) - Method in class com.jscape.inet.telnet.Telnet
Sends telnet command with specified parameter.
sendDoOption(TelnetOption) - Method in class com.jscape.inet.telnet.Telnet
Sends Telnet option to server with Telnet DO OPTION (request to use option) command
sendDontOption(TelnetOption) - Method in class com.jscape.inet.telnet.Telnet
Sends Telnet option to server with Telnet DONT OPTION (refuse request to use option) command
sendNoWait(String) - Method in class com.jscape.inet.ssh.SshSession
Sends command to SSH host terminated by command terminator.
sendNoWait(String) - Method in class com.jscape.inet.telnet.TelnetSession
Sends command to telnet host terminated by command terminator.
sendOptionSubnegotiation(TelnetOption) - Method in class com.jscape.inet.telnet.Telnet
Initiate subnegotiation for option.
sendRaw(String) - Method in class com.jscape.inet.ssh.SshSession
Sends data to SSH host without command terminator.
sendRaw(String) - Method in class com.jscape.inet.telnet.TelnetSession
Sends data to telnet host without command terminator.
sendWait(String, String, long) - Method in class com.jscape.inet.ssh.SshSession
Sends command to SSH host terminated by command terminator.
sendWait(String, String, boolean, long) - Method in class com.jscape.inet.ssh.SshSession
Sends command to SSH host terminated by command terminator.
sendWait(String, String) - Method in class com.jscape.inet.ssh.SshSession
Sends command to SSH host terminated by command terminator.
sendWait(String, String, boolean) - Method in class com.jscape.inet.ssh.SshSession
Sends command to SSH host terminated by command terminator.
sendWait(String, String, long) - Method in class com.jscape.inet.telnet.TelnetSession
Sends command to telnet host terminated by command terminator.
sendWait(String, String, boolean, long) - Method in class com.jscape.inet.telnet.TelnetSession
Sends command to telnet host terminated by command terminator.
sendWait(String, String) - Method in class com.jscape.inet.telnet.TelnetSession
Sends command to telnet host terminated by command terminator.
sendWait(String, String, boolean) - Method in class com.jscape.inet.telnet.TelnetSession
Sends command to telnet host terminated by command terminator.
sendWillOption(TelnetOption) - Method in class com.jscape.inet.telnet.Telnet
Sends Telnet option to server with Telnet WILL OPTION (accept offer to use option) command.
sendWontOption(TelnetOption) - Method in class com.jscape.inet.telnet.Telnet
Sends Telnet option to server with Telnet WONT OPTION (refuse offer to use option) command.
setCharacterSet(String) - Method in class com.jscape.inet.telnet.Telnet
Sets character set used when reading data from telnet server
setCommandTerminator(String) - Method in class com.jscape.inet.ssh.SshSession
Sets terminator used when sending data to SSH server.
setCommandTerminator(String) - Method in class com.jscape.inet.telnet.TelnetSession
Sets terminator used when sending data to telnet server.
setDebug(boolean) - Method in class com.jscape.inet.ssh.Ssh
Enable debugging output to debugging stream.
setDebug(boolean) - Method in class com.jscape.inet.ssh.SshSession
Enables or disables debugging information.
setDebug(boolean) - Method in class com.jscape.inet.telnet.Telnet
Enable debugging output to debugging stream.
setDebug(boolean) - Method in class com.jscape.inet.telnet.TelnetSession
Enables or disables debugging information.
setDebugStream(PrintStream) - Method in class com.jscape.inet.ssh.Ssh
Sets PrintStream used in reporting debug statements.
setDebugStream(PrintStream) - Method in class com.jscape.inet.ssh.SshSession
Sets PrintStream used in outputting debug information.
setDebugStream(PrintStream) - Method in class com.jscape.inet.telnet.Telnet
Sets PrintStream used in reporting debug statements.
setDebugStream(PrintStream) - Method in class com.jscape.inet.telnet.TelnetSession
Sets PrintStream used in outputting debug information.
setDebugStream(PrintStream) - Method in class com.jscape.sscl.SSCL
Sets the debug stream used by SSCL.
setEndPromptRegex(boolean) - Method in class com.jscape.inet.ssh.SshTask
Specifies if end prompt is a regular expression
setEndPromptRegex(boolean) - Method in class com.jscape.inet.telnet.TelnetTask
Specifies if end prompt is a regular expression
setEndPromptTimeout(long) - Method in class com.jscape.inet.ssh.SshTask
Sets the maximum timeout between the time the task is in running state and the expected end prompt is received.
setEndPromptTimeout(long) - Method in class com.jscape.inet.telnet.TelnetTask
Sets the maximum timeout between the time the task is in running state and the expected end prompt is received.
setHostname(String) - Method in class com.jscape.inet.telnet.Telnet
Set server hostname.
setInitReader(boolean) - Method in class com.jscape.inet.ssh.Ssh
Sets if reader should be initialized automatically or if will be created by user.
setInputStream(InputStream) - Method in class com.jscape.inet.ipclient.IpClient
Replaces InputStream from socket connection established with server.
setLoginPrompt(String) - Method in class com.jscape.inet.telnet.TelnetSession
Sets login prompt to wait for before sending username.
setLoginPrompt(String, boolean) - Method in class com.jscape.inet.telnet.TelnetSession
Sets login prompt to wait for before sending username.
setOutputStream(OutputStream) - Method in class com.jscape.inet.ipclient.IpClient
Sets OutputStream from socket connection established with server.
setPasswordPrompt(String) - Method in class com.jscape.inet.telnet.TelnetSession
Sets password prompt to wait for before sending password.
setPasswordPrompt(String, boolean) - Method in class com.jscape.inet.telnet.TelnetSession
Sets password prompt to wait for before sending password.
setPollingInterval(int) - Method in class com.jscape.inet.ssh.SshSession
Sets the polling interval used when checking for completion of commands sent using send or sendWait methods.
setPort(int) - Method in class com.jscape.inet.telnet.Telnet
Set server port.
setPort(int) - Method in class com.jscape.inet.telnet.TelnetSession
Sets the port of the telnet server
setPrivateKey(File) - Method in class com.jscape.inet.ssh.util.SshParameters
Sets key pair to be used when authenticating with SSH Server.
setShellPrompt(String) - Method in class com.jscape.inet.ssh.SshSession
Sets shell prompt to wait for before sending commands.
setShellPrompt(String, boolean) - Method in class com.jscape.inet.ssh.SshSession
Sets shell prompt to wait for before sending commands.
setShellPrompt(String) - Method in class com.jscape.inet.telnet.TelnetSession
Sets shell prompt to wait for before sending commands.
setShellPrompt(String, boolean) - Method in class com.jscape.inet.telnet.TelnetSession
Sets shell prompt to wait for before sending commands.
setSocket(Socket) - Method in class com.jscape.inet.ipclient.IpClient
Sets socket replacing current socket with new socket
setSshHostname(String) - Method in class com.jscape.inet.ssh.util.SshParameters
Sets SSH hostname.
setSshPassword(String) - Method in class com.jscape.inet.ssh.util.SshParameters
Sets SSH password.
setSshPort(int) - Method in class com.jscape.inet.ssh.util.SshParameters
Sets SSH port.
setSshUsername(String) - Method in class com.jscape.inet.ssh.util.SshParameters
Sets SSH username.
setStartPromptRegex(boolean) - Method in class com.jscape.inet.ssh.SshTask
Specifies if start prompt is a regular expression
setStartPromptRegex(boolean) - Method in class com.jscape.inet.telnet.TelnetTask
Specifies if start prompt is a regular expression
setStartPromptTimeout(long) - Method in class com.jscape.inet.ssh.SshTask
Sets the maximum timeout between the time the task is in active state and the expected start prompt is received.
setStartPromptTimeout(long) - Method in class com.jscape.inet.telnet.TelnetTask
Sets the maximum timeout between the time the task is in active state and the expected start prompt is received.
setTerminalType(String) - Method in class com.jscape.inet.ssh.Ssh
Sets terminal type emulation to use for this SSH session.
setTerminalType(String) - Method in class com.jscape.inet.telnet.options.TerminalType
Sets the terminal type.
setTerminator(String) - Method in class com.jscape.inet.ssh.SshTask
Sets line terminator used when sending commands.
setTerminator(String) - Method in class com.jscape.inet.telnet.TelnetTask
Sets line terminator used when sending commands.
setTimeout(int) - Method in class com.jscape.inet.ssh.Ssh
Sets the timeout for opening connection to SSH server.
setTimeout(long) - Method in class com.jscape.inet.ssh.SshTask
Deprecated. replaced by setEndPromptTimeout
setTimeout(int) - Method in class com.jscape.inet.telnet.Telnet
Sets the timeout for opening connection to Telnet server.
setTimeout(long) - Method in class com.jscape.inet.telnet.TelnetTask
Deprecated. replaced by setEndPromptTimeout method
skip(long) - Method in class com.jscape.inet.telnet.TelnetInputStream
Skips over and discards n bytes of data from this input stream.

T

TC_AO - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : Abort output
TC_AYT - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : Are You There
TC_BRK - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : Break.
NVT character BRK.
TC_DM - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : Data Mark.
The data stream portion of a Synch.
TC_DO - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : DO.
Indicates the request that the other party perform, or confirmation that you are expecting the other party to perform, the indicated option.
TC_DONT - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : DON'T.
Indicates the demand that the other party stop performing, or confirmation that you are no longer expecting the other party to perform, the indicated option.
TC_GA - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : Go ahead
TC_IP - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : Interrupt Process.
TC_NOP - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : No operation.
TC_SB - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : Subnegotiation.
Indicates that what follows is subnegotiation of the indicated option.
TC_SE - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : End of subnegotiation parameters.
TC_WILL - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : WILL.
Indicates the desire to begin performing, or confirmation that you are now performing, the indicated option.
TC_WONT - Static variable in class com.jscape.inet.telnet.Telnet
Telnet command : WON'T.
Indicates the refusal to perform, or continue performing, the indicated option.
TSC_BEL - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : BELL.
Produces an audible or visible signal (which does NOT move the print head).
TSC_BS - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : Back Space.
Moves the print head one character position towards the left margin.
TSC_CR - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : Carriage Return.
Moves the printer to the left margin of the current line.
TSC_EC - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : Erase character
TSC_EL - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : Erase line
TSC_FF - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : Form Feed.
Moves the printer to the top of the next page, keeping the same horizontal position.
TSC_HT - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : Horizontal Tab.
Moves the printer to the next horizontal tab stop.
TSC_IAC - Static variable in class com.jscape.inet.telnet.Telnet
Telnet escape charater : Interpret as Command
TSC_LF - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : Line Feed.
Moves the printer to the next print line, keeping the same horizontal position.
TSC_NULL - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : No operation
TSC_VT - Static variable in class com.jscape.inet.telnet.Telnet
Telnet special character : Vertical Tab.
Moves the printer to the next vertical tab stop.
Telnet - class com.jscape.inet.telnet.Telnet.
Implements the basic functionality of a Telnet client as defined in RFC 854.
Telnet(String) - Constructor for class com.jscape.inet.telnet.Telnet
Constructs Telnet object for connection to specified host.
Telnet(String, int) - Constructor for class com.jscape.inet.telnet.Telnet
Constructs Telnet object.
TelnetAdapter - class com.jscape.inet.telnet.TelnetAdapter.
Implements methods for capturing events sourced from Telnet class.
TelnetAdapter() - Constructor for class com.jscape.inet.telnet.TelnetAdapter
 
TelnetCommandEvent - class com.jscape.inet.telnet.TelnetCommandEvent.
Fired by Telnet client instance when Telnet server has sent command.
TelnetCommandEvent(Object, int) - Constructor for class com.jscape.inet.telnet.TelnetCommandEvent
Creates a new TelnetCommandEvent object.
TelnetConnectedEvent - class com.jscape.inet.telnet.TelnetConnectedEvent.
Fired by Telnet instance upon successfull connection to Telnet server.
TelnetConnectedEvent(Object, String, int) - Constructor for class com.jscape.inet.telnet.TelnetConnectedEvent
Creates TelnetConnectedEvent.
TelnetDataReceivedEvent - class com.jscape.inet.telnet.TelnetDataReceivedEvent.
Fired by Telnet instance when Telnet server sends data to client.
TelnetDataReceivedEvent(Object, String) - Constructor for class com.jscape.inet.telnet.TelnetDataReceivedEvent
Creates a new TelnetDataReceivedEvent instance.
TelnetDisconnectedEvent - class com.jscape.inet.telnet.TelnetDisconnectedEvent.
Fired by Telnet instance upon disconnect from server.
TelnetDisconnectedEvent(Object, String, int) - Constructor for class com.jscape.inet.telnet.TelnetDisconnectedEvent
Created TelnetDisconnectedEvent.
TelnetException - exception com.jscape.inet.telnet.TelnetException.
TelnetException is thrown by many methods of Telnet class.
TelnetException(String) - Constructor for class com.jscape.inet.telnet.TelnetException
Creates exception with specified message string.
TelnetException(String, Exception) - Constructor for class com.jscape.inet.telnet.TelnetException
Creates exception with specified message string and source exception
TelnetInputStream - class com.jscape.inet.telnet.TelnetInputStream.
Specialised input stream used to interpret telnet commands in ASCII stream.
TelnetInputStream(Telnet, InputStream) - Constructor for class com.jscape.inet.telnet.TelnetInputStream
Creates a new TelnetInputStream object.
TelnetListener - interface com.jscape.inet.telnet.TelnetListener.
Implements methods for capturing events sourced from Telnet class.
TelnetOption - class com.jscape.inet.telnet.TelnetOption.
TelnetOption class enables developers to implement and use existing and future telnet protocol options.
TelnetOption(int) - Constructor for class com.jscape.inet.telnet.TelnetOption
Creates a new TelnetOption instance.
TelnetOutputStream - class com.jscape.inet.telnet.TelnetOutputStream.
Specialised output stream used to embed Telnet commands in ASCII stream.
TelnetOutputStream(OutputStream) - Constructor for class com.jscape.inet.telnet.TelnetOutputStream
Creates a new TelnetOutputStream instance.
TelnetScript - class com.jscape.inet.telnet.TelnetScript.
The TelnetScript class provides a simple way of running a set of batch scripted commands against a TelnetServer.
TelnetScript(Telnet) - Constructor for class com.jscape.inet.telnet.TelnetScript
Constructs a new TelnetScript instance.
TelnetScript(Telnet, String) - Constructor for class com.jscape.inet.telnet.TelnetScript
Constructs a new TelnetScript instance.
TelnetScriptListener - interface com.jscape.inet.telnet.TelnetScriptListener.
Implements methods for capturing events sourced from TelnetScript class.
TelnetSession - class com.jscape.inet.telnet.TelnetSession.
Convenience class for automating communications with a Telnet server.
TelnetSession(String) - Constructor for class com.jscape.inet.telnet.TelnetSession
Creates a new TelnetSession instance.
TelnetSession(String, boolean) - Constructor for class com.jscape.inet.telnet.TelnetSession
Creates a new TelnetSession instance.
TelnetSession(String, String) - Constructor for class com.jscape.inet.telnet.TelnetSession
Creates a new TelnetSession instance.
TelnetSession(String, String, boolean) - Constructor for class com.jscape.inet.telnet.TelnetSession
Creates a new TelnetSession instance.
TelnetSession(String, int, boolean) - Constructor for class com.jscape.inet.telnet.TelnetSession
Creates a new TelnetSession instance.
TelnetSession(String, int) - Constructor for class com.jscape.inet.telnet.TelnetSession
Creates a new TelnetSession instance.
TelnetSession(String, int, String) - Constructor for class com.jscape.inet.telnet.TelnetSession
Creates a new TelnetSession instance.
TelnetSession(String, int, String, boolean) - Constructor for class com.jscape.inet.telnet.TelnetSession
Creates a new TelnetSession instance.
TelnetTask - class com.jscape.inet.telnet.TelnetTask.
The TelnetTask class represents a command to be executed in batch (non-interactive) mode.
TelnetTask(String, String, String, String) - Constructor for class com.jscape.inet.telnet.TelnetTask
Constructs a new TelnetTask instance.
TelnetTask(String, String, String) - Constructor for class com.jscape.inet.telnet.TelnetTask
Constructs a new TelnetTask instance.
TelnetTaskEndEvent - class com.jscape.inet.telnet.TelnetTaskEndEvent.
Fired when a TelnetTask has completed
TelnetTaskEndEvent(Object, TelnetTask) - Constructor for class com.jscape.inet.telnet.TelnetTaskEndEvent
Creates a new instance of TelnetTaskEndEvent
TelnetTaskFailedEvent - class com.jscape.inet.telnet.TelnetTaskFailedEvent.
Fired when a TelnetTask has failed to complete
TelnetTaskFailedEvent(Object, TelnetTask, Exception) - Constructor for class com.jscape.inet.telnet.TelnetTaskFailedEvent
Creates a new instance of TelnetTaskFailedEvent.
TelnetTaskStartEvent - class com.jscape.inet.telnet.TelnetTaskStartEvent.
Fired when a TelnetTask is started
TelnetTaskStartEvent(Object, TelnetTask) - Constructor for class com.jscape.inet.telnet.TelnetTaskStartEvent
Creates a new instance of TelnetTaskStartEvent
TelnetTaskTimeoutEvent - class com.jscape.inet.telnet.TelnetTaskTimeoutEvent.
Fired when a TelnetTask has exceeded the defined timeout
TelnetTaskTimeoutEvent(Object, TelnetTask) - Constructor for class com.jscape.inet.telnet.TelnetTaskTimeoutEvent
Creates a new instance of TelnetTaskEndEvent
TelnetTaskTimeoutException - exception com.jscape.inet.telnet.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.
TelnetTaskTimeoutException(TelnetTask) - Constructor for class com.jscape.inet.telnet.TelnetTaskTimeoutException
Constructs a new TelnetTaskTimeoutException instance
TerminalType - class com.jscape.inet.telnet.options.TerminalType.
Represents the TERMINAL TYPE Telnet option as defined in RFC 1091.
TerminalType() - Constructor for class com.jscape.inet.telnet.options.TerminalType
Creates a new TerminalType instance.
TerminalType(String) - Constructor for class com.jscape.inet.telnet.options.TerminalType
Creates a new TerminalType instance.
TimingMark - class com.jscape.inet.telnet.options.TimingMark.
Telnet TIMING_MARK option as described in RFC 860.
TimingMark() - Constructor for class com.jscape.inet.telnet.options.TimingMark
Creates a new TimingMark instance.
taskEnd(SshTaskEndEvent) - Method in interface com.jscape.inet.ssh.SshScriptListener
Invoked when command for a SshTask completes execution.
taskEnd(TelnetTaskEndEvent) - Method in interface com.jscape.inet.telnet.TelnetScriptListener
Invoked when command for a TelnetTask completes execution.
taskFailed(SshTaskFailedEvent) - Method in interface com.jscape.inet.ssh.SshScriptListener
Invoked when command for a SshTask fails execution.
taskFailed(TelnetTaskFailedEvent) - Method in interface com.jscape.inet.telnet.TelnetScriptListener
Invoked when command for a TelnetTask fails execution.
taskStart(SshTaskStartEvent) - Method in interface com.jscape.inet.ssh.SshScriptListener
Invoked when command for a SshTask begins execution.
taskStart(TelnetTaskStartEvent) - Method in interface com.jscape.inet.telnet.TelnetScriptListener
Invoked when command for a TelnetTask begins execution.
taskTimeout(SshTaskTimeoutEvent) - Method in interface com.jscape.inet.ssh.SshScriptListener
Invoked when a SshTask exceeds timeout waiting for end prompt.
taskTimeout(TelnetTaskTimeoutEvent) - Method in interface com.jscape.inet.telnet.TelnetScriptListener
Invoked when a TelnetTask exceeds timeout waiting for end prompt.
toString() - Method in class com.jscape.inet.ssh.SshConnectedEvent
 
toString() - Method in class com.jscape.inet.ssh.SshDisconnectedEvent
 
tread() - Method in class com.jscape.inet.telnet.TelnetInputStream
Read data from telnet stream without escaping control characters.
twrite(int) - Method in class com.jscape.inet.telnet.TelnetOutputStream
Write data to telnet stream without escaping IAC.
twrite(byte[]) - Method in class com.jscape.inet.telnet.TelnetOutputStream
Write data to telnet stream without escaping IAC.

W

WillOptionEvent - class com.jscape.inet.telnet.WillOptionEvent.
Fired by Telnet instance when a WILL OPTION command is received from the Telnet server.
WillOptionEvent(Object, TelnetOption) - Constructor for class com.jscape.inet.telnet.WillOptionEvent
Constructs a new WillOptionEvent instance.
WontOptionEvent - class com.jscape.inet.telnet.WontOptionEvent.
Fired by Telnet instance when a WONT OPTION command is received from the Telnet server.
WontOptionEvent(Object, TelnetOption) - Constructor for class com.jscape.inet.telnet.WontOptionEvent
Constructs a new WontOptionEvent instance.
willOption(WillOptionEvent) - Method in class com.jscape.inet.telnet.TelnetAdapter
Invoked when a WILL OPTION (offer client to use option) command is received from the Telnet server.
willOption(WillOptionEvent) - Method in interface com.jscape.inet.telnet.TelnetListener
Invoked when a WILL OPTION (offer client to use option) command is received from the Telnet server.
wontOption(WontOptionEvent) - Method in class com.jscape.inet.telnet.TelnetAdapter
Invoked when a WONT OPTION (refuse clients offer to use option) command is received from the Telnet server.
wontOption(WontOptionEvent) - Method in interface com.jscape.inet.telnet.TelnetListener
Invoked when a WONT OPTION (refuse clients offer to use option) command is received from the Telnet server.
write(int) - Method in class com.jscape.inet.telnet.TelnetOutputStream
Write data to telnet stream with escaping IAC.
write(byte[]) - Method in class com.jscape.inet.telnet.TelnetOutputStream
Write data to telnet stream with escaping IAC.
write(byte[], int, int) - Method in class com.jscape.inet.telnet.TelnetOutputStream
Write data to telnet stream with escaping IAC.
writeSubnegotiation(OutputStream) - Method in class com.jscape.inet.telnet.TelnetOption
Writes subnegotiation data for this TelnetOption.
writeSubnegotiation(OutputStream) - Method in class com.jscape.inet.telnet.options.TerminalType
Writes subnegotiation data for this TelnetOption.

A B C D E F G I K M P R S T W
SSH Factory

Copyright JSCAPE 2004 All Rights Reserved