Java org.apache.commons.net.bsd RLoginClient fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.net.bsd RLoginClient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.net.bsd RLoginClient.

The text is from its open source code.

Field

intDEFAULT_PORT
The default rlogin port.

Constructor

RLoginClient()
The default RLoginClient constructor.

Method

voidconnect(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.
voiddisconnect()
Disconnects from the server, closing all associated open sockets and streams.
InputStreamgetInputStream()
Returns the InputStream from which the standard outputof the remote process can be read.
OutputStreamgetOutputStream()
Returns the OutputStream through which the standard input of the remote process can be written.
voidrlogin(String localUsername, String remoteUsername, String terminalType)
Same as the other rlogin method, but no terminal speed is defined.