Creating a new Rlogin instance |
You may create a new Rlogin instance providing the remote host, username, local username and terminal type arguments to the constructor. The username represents the user whose credentials are to be used to execute any commands whereas the local username is the user who you will login as. In many cases these may be the same. The terminal type is the terminal emulation type you wish to use, for example vt100.
Example
// create new Rlogin instance Rlogin rlogin = new Rlogin("server.com","jsmith","jsmith","vt100");
|