| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The filter plugin is the base interface for plugins that want to intercept the communication between front end and back end plugins. Filters and protocol handlers are a good example.
Maintainer: Matthias L. Jugel
| Method Summary | |
|  FilterPlugin | getFilterSource() | 
|  int | read(byte[] b)Read a block of data from the back end. | 
|  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 a block of data to the back end. | 
| Method Detail | 
public void setFilterSource(FilterPlugin source)
                     throws java.lang.IllegalArgumentException
source - the data source
java.lang.IllegalArgumentExceptionpublic FilterPlugin getFilterSource()
public int read(byte[] b)
         throws java.io.IOException
b - the buffer to read the data into
java.io.IOException
public void write(byte[] b)
           throws java.io.IOException
b - the buffer to be sent
java.io.IOException| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||