|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindbright.ssh2.SSH2StreamSniffer
Sniffer class which dumps a copy of all data transmitted. This
class prints a hex-dump of all data to System.err. It
is very useful for debugging.
| Nested Class Summary | |
protected class |
SSH2StreamSniffer.SniffInput
|
protected class |
SSH2StreamSniffer.SniffOutput
|
| Field Summary | |
protected int |
id
|
| Method Summary | |
SSH2StreamFilter |
createFilter(SSH2Connection connection,
SSH2StreamChannel channel)
Instance constructor |
static SSH2StreamSniffer |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int id
| Method Detail |
public static SSH2StreamSniffer getFilterFactory()
public SSH2StreamFilter createFilter(SSH2Connection connection,
SSH2StreamChannel channel)
SSH2StreamFilterFactory
createFilter in interface SSH2StreamFilterFactorypublic java.io.InputStream getInputFilter(java.io.InputStream toBeFiltered)
SSH2StreamFilter
getInputFilter in interface SSH2StreamFiltertoBeFiltered - The stream to filter.public java.io.OutputStream getOutputFilter(java.io.OutputStream toBeFiltered)
SSH2StreamFilter
getOutputFilter in interface SSH2StreamFiltertoBeFiltered - The stream to filter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||