public class LiteDebugger extends SmackDebugger
connection
Constructor and Description |
---|
LiteDebugger(XMPPConnection connection) |
Modifier and Type | Method and Description |
---|---|
Reader |
newConnectionReader(Reader newReader)
Returns a new special Reader that wraps the new connection Reader.
|
Writer |
newConnectionWriter(Writer newWriter)
Returns a new special Writer that wraps the new connection Writer.
|
void |
onIncomingStreamElement(TopLevelStreamElement streamElement)
Used by the connection to notify about an incoming top level stream element.
|
void |
onOutgoingStreamElement(TopLevelStreamElement streamElement)
Used by the connection to notify about a outgoing top level stream element.
|
void |
rootWindowClosing(WindowEvent evt)
Notification that the root window is closing.
|
void |
userHasLogged(EntityFullJid user)
Called when a user has logged in to the server.
|
public LiteDebugger(XMPPConnection connection)
public void rootWindowClosing(WindowEvent evt)
evt
- the event that indicates that the root window is closingpublic Reader newConnectionReader(Reader newReader)
SmackDebugger
newConnectionReader
in class SmackDebugger
newReader
- connection reader.public Writer newConnectionWriter(Writer newWriter)
SmackDebugger
newConnectionWriter
in class SmackDebugger
newWriter
- connection writer.public void userHasLogged(EntityFullJid user)
SmackDebugger
userHasLogged
in class SmackDebugger
user
- the user@host/resource that has just logged inpublic void onIncomingStreamElement(TopLevelStreamElement streamElement)
SmackDebugger
This method is invoked right after the incoming stream was parsed.
onIncomingStreamElement
in class SmackDebugger
streamElement
- the incoming top level stream element.public void onOutgoingStreamElement(TopLevelStreamElement streamElement)
SmackDebugger
This method is invoked right before the element is serialized to XML and put into the outgoing stream.
onOutgoingStreamElement
in class SmackDebugger
streamElement
- the outgoing top level stream element.