Example usage for Java org.apache.commons.net.bsd RExecClient fields, constructors, methods, implement or subclass
The text is from its open source code.
RExecClient() The default RExecClient constructor. |
void | connect(InetAddress host) Opens a Socket connected to a remote host at the current default port and originating from the current host at a system assigned port. |
void | disconnect() Disconnects from the server, closing all associated open sockets and streams. |
InputStream | getInputStream() Returns the InputStream from which the standard outputof the remote process can be read. |
OutputStream | getOutputStream() Returns the OutputStream through which the standard input of the remote process can be written. |
void | rexec(String username, String password, String command) Same as rexec(username, password, command, false); |