public interface SmackDebugger
Every implementation of this interface must have a public constructor with the following arguments: XMPPConnection, Writer, Reader.
Modifier and Type | Method and Description |
---|---|
java.io.Reader |
getReader()
Returns the special Reader that wraps the main Reader and logs data to the GUI.
|
StanzaListener |
getReaderListener()
Returns the thread that will listen for all incoming packets and write them to the GUI.
|
java.io.Writer |
getWriter()
Returns the special Writer that wraps the main Writer and logs data to the GUI.
|
StanzaListener |
getWriterListener()
Returns the thread that will listen for all outgoing packets and write them to the GUI.
|
java.io.Reader |
newConnectionReader(java.io.Reader reader)
Returns a new special Reader that wraps the new connection Reader.
|
java.io.Writer |
newConnectionWriter(java.io.Writer writer)
Returns a new special Writer that wraps the new connection Writer.
|
void |
userHasLogged(EntityFullJid user)
Called when a user has logged in to the server.
|
void userHasLogged(EntityFullJid user)
user
- the user@host/resource that has just logged injava.io.Reader getReader()
java.io.Writer getWriter()
java.io.Reader newConnectionReader(java.io.Reader reader)
reader
- connection reader.java.io.Writer newConnectionWriter(java.io.Writer writer)
writer
- connection writer.StanzaListener getReaderListener()
StanzaListener getWriterListener()