public interface XmppDebugger
| Modifier and Type | Method and Description |
|---|---|
InputStream |
createInputStream(InputStream inputStream)
Creates a new input stream from the actual input stream.
|
OutputStream |
createOutputStream(OutputStream outputStream)
Creates a new output stream from the actual output stream.
|
void |
initialize(XmppSession xmppSession)
This method is called when a new XMPP session is initialized.
|
void |
readStanza(String xml,
Object streamElement)
This method is called, whenever a stream element is read.
|
void |
writeStanza(String xml,
Object streamElement)
This method is called, whenever a stream element is written.
|
void initialize(XmppSession xmppSession)
xmppSession - The XMPP session.void writeStanza(String xml, Object streamElement)
xml - The xml representation of the stream element.streamElement - The stream element. Maybe null, if no stream element, but an opening or closing stream element is written.void readStanza(String xml, Object streamElement)
xml - The xml representation of the stream element.streamElement - The stream element. Maybe null, if no stream element, but an opening or closing stream element is read.OutputStream createOutputStream(OutputStream outputStream)
outputStream - The actual output stream.InputStream createInputStream(InputStream inputStream)
inputStream - The actual input stream.Copyright © 2014–2017 XMPP.rocks. All rights reserved.