de.mud.jta.plugin

Class Shell

Implemented Interfaces:
FilterPlugin

public class Shell
extends Plugin
implements FilterPlugin

The shell plugin is the backend component for terminal emulation using a shell. It provides the i/o streams of the shell as data source.

Maintainer: Matthias L. Jugel

Version:
$Id: Shell.java 499 2005-09-29 08:24:54Z leo $
Author:
Matthias L. Jugel, Marcus Mei???ner, Pete Zaitcev

Field Summary

protected String
shellCommand

Fields inherited from class de.mud.jta.Plugin

bus, id

Constructor Summary

Shell(PluginBus bus, String id)

Method Summary

FilterPlugin
getFilterSource()
int
read(byte[] b)
void
setFilterSource(FilterPlugin plugin)
void
write(byte[] b)

Methods inherited from class de.mud.jta.Plugin

error, getId

Field Details

shellCommand

protected String shellCommand

Constructor Details

Shell

public Shell(PluginBus bus,
             String id)

Method Details

getFilterSource

public FilterPlugin getFilterSource()
Specified by:
getFilterSource in interface FilterPlugin

read

public int read(byte[] b)
            throws IOException
Specified by:
read in interface FilterPlugin

setFilterSource

public void setFilterSource(FilterPlugin plugin)
Specified by:
setFilterSource in interface FilterPlugin

write

public void write(byte[] b)
            throws IOException
Specified by:
write in interface FilterPlugin