|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 | |
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 sourcepublic int read(byte[] b) throws java.io.IOException
b
- the buffer to read the data intopublic void write(byte[] b) throws java.io.IOException
b
- the buffer to be sent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |