Reading data |
To read data during the rlogin session you may use the java.io.InputStream provided by the Rlogin#getInputStream method. Generally you will want to have the input stream read using a separate thread to prevent blocking I/O.
Example
// get input stream InputStream in = rlogin.getInputStream(); |