|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.mud.jta.Plugin
de.mud.jta.plugin.SSH
public class SSH
Secure Shell plugin for the JTA. This is a plugin to be used instead of Telnet for secure remote terminal sessions over insecure networks. Take a look at the package de.mud.ssh for further information about ssh or look at the official ssh homepage: http://www.ssh.fi/.
Maintainer: Matthias L. Jugel
Field Summary | |
---|---|
protected SshIO |
handler
|
protected java.lang.String |
pass
|
protected FilterPlugin |
source
|
protected java.lang.String |
user
|
Fields inherited from class de.mud.jta.Plugin |
---|
bus, id |
Constructor Summary | |
---|---|
SSH(PluginBus bus,
java.lang.String id)
Create a new ssh plugin. |
Method Summary | |
---|---|
FilterPlugin |
getFilterSource()
|
javax.swing.JMenu |
getPluginMenu()
Get the menu entry for this component. |
javax.swing.JComponent |
getPluginVisual()
Get the visible components from the plugin. |
int |
read(byte[] b)
Read data from the backend and decrypt it. |
void |
setFilterSource(FilterPlugin source)
Set the source plugin where we get our data from and where the data sink (write) is. |
void |
write(byte[] b)
Write data to the back end. |
Methods inherited from class de.mud.jta.Plugin |
---|
error, getId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FilterPlugin source
protected SshIO handler
protected java.lang.String user
protected java.lang.String pass
Constructor Detail |
---|
public SSH(PluginBus bus, java.lang.String id)
Method Detail |
---|
public void setFilterSource(FilterPlugin source)
FilterPlugin
setFilterSource
in interface FilterPlugin
source
- the data sourcepublic FilterPlugin getFilterSource()
getFilterSource
in interface FilterPlugin
public int read(byte[] b) throws java.io.IOException
read
in interface FilterPlugin
b
- the buffer where to read the decrypted data in
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in interface FilterPlugin
b
- the unencrypted data to be encrypted and sent
java.io.IOException
public javax.swing.JComponent getPluginVisual()
VisualPlugin
getPluginVisual
in interface VisualPlugin
public javax.swing.JMenu getPluginMenu()
VisualPlugin
getPluginMenu
in interface VisualPlugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |