com.mindbright.ssh2
public class SSH2X11Filter extends java.lang.Object implements SSH2StreamFilter, SSH2StreamFilterFactory
Modifier and Type | Field and Description |
---|---|
protected SSH2Connection |
connection |
protected static java.lang.String |
X11AUTH_PROTO |
protected com.mindbright.ssh2.SSH2X11Filter.X11Output |
x11Out |
Modifier | Constructor and Description |
---|---|
|
SSH2X11Filter() |
protected |
SSH2X11Filter(SSH2Connection connection,
SSH2StreamChannel channel) |
Modifier and Type | Method and Description |
---|---|
SSH2StreamFilter |
createFilter(SSH2Connection connection,
SSH2StreamChannel channel)
Instance constructor
|
static SSH2X11Filter |
getFilterFactory() |
java.io.InputStream |
getInputFilter(java.io.InputStream toBeFiltered)
Get the filter for the input stream.
|
java.io.OutputStream |
getOutputFilter(java.io.OutputStream toBeFiltered)
Get the filter for the output stream.
|
protected static final java.lang.String X11AUTH_PROTO
protected SSH2Connection connection
protected com.mindbright.ssh2.SSH2X11Filter.X11Output x11Out
public SSH2X11Filter()
protected SSH2X11Filter(SSH2Connection connection, SSH2StreamChannel channel)
public static SSH2X11Filter getFilterFactory()
public SSH2StreamFilter createFilter(SSH2Connection connection, SSH2StreamChannel channel)
SSH2StreamFilterFactory
createFilter
in interface SSH2StreamFilterFactory
public java.io.InputStream getInputFilter(java.io.InputStream toBeFiltered)
SSH2StreamFilter
getInputFilter
in interface SSH2StreamFilter
toBeFiltered
- The stream to filter.public java.io.OutputStream getOutputFilter(java.io.OutputStream toBeFiltered)
SSH2StreamFilter
getOutputFilter
in interface SSH2StreamFilter
toBeFiltered
- The stream to filter.