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.IllegalArgumentException
FilterPlugin getFilterSource()
int read(byte[] b) throws java.io.IOException
b
- the buffer to read the data intojava.io.IOException
void write(byte[] b) throws java.io.IOException
b
- the buffer to be sentjava.io.IOException