de.mud.ssh
public abstract class SshIO extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
dataToSend |
java.lang.String |
hashHostKey |
| Constructor and Description |
|---|
SshIO()
Initialise SshIO
|
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect() |
abstract java.lang.String |
getTerminalType() |
byte[] |
handleSSH(byte[] buff)
Read data from the remote host.
|
void |
sendData(java.lang.String str) |
void |
setLogin(java.lang.String user) |
void |
setPassword(java.lang.String password) |
void |
setWindowSize(int columns,
int rows) |
protected abstract void |
write(byte[] buf) |
public java.lang.String dataToSend
public java.lang.String hashHostKey
public void setLogin(java.lang.String user)
public void setPassword(java.lang.String password)
protected abstract void write(byte[] buf)
throws java.io.IOException
java.io.IOExceptionpublic abstract java.lang.String getTerminalType()
public void disconnect()
public void setWindowSize(int columns,
int rows)
throws java.io.IOException
java.io.IOExceptionpublic void sendData(java.lang.String str)
throws java.io.IOException
java.io.IOExceptionpublic byte[] handleSSH(byte[] buff)
throws java.io.IOException
java.io.IOException