de.mud.jta
public interface FilterPlugin
Maintainer: Matthias L. Jugel
| Modifier and Type | Method and Description |
|---|---|
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.
|
void setFilterSource(FilterPlugin source) throws java.lang.IllegalArgumentException
source - the data sourcejava.lang.IllegalArgumentExceptionFilterPlugin getFilterSource()
int read(byte[] b)
throws java.io.IOException
b - the buffer to read the data intojava.io.IOExceptionvoid write(byte[] b)
throws java.io.IOException
b - the buffer to be sentjava.io.IOException