Package org.jivesoftware.smackx.debugger
Class LiteDebugger
java.lang.Object
org.jivesoftware.smack.debugger.SmackDebugger
org.jivesoftware.smackx.debugger.LiteDebugger
public class LiteDebugger
extends org.jivesoftware.smack.debugger.SmackDebugger
The LiteDebugger is a very simple debugger that allows to debug sent, received and
interpreted messages.
-
Field Summary
Fields inherited from class org.jivesoftware.smack.debugger.SmackDebugger
connection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidincomingStreamSink(CharSequence incomingCharSequence) voidonIncomingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement) voidonOutgoingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement) voidoutgoingStreamSink(CharSequence outgoingCharSequence) voidNotification that the root window is closing.voiduserHasLogged(org.jxmpp.jid.EntityFullJid user) Methods inherited from class org.jivesoftware.smack.debugger.SmackDebugger
newConnectionReader, newConnectionWriter, onIncomingElementCompleted, onOutgoingElementCompleted
-
Constructor Details
-
LiteDebugger
public LiteDebugger(org.jivesoftware.smack.XMPPConnection connection)
-
-
Method Details
-
rootWindowClosing
Notification that the root window is closing. Stop listening for received and transmitted packets.- Parameters:
evt- the event that indicates that the root window is closing
-
outgoingStreamSink
- Specified by:
outgoingStreamSinkin classorg.jivesoftware.smack.debugger.SmackDebugger
-
incomingStreamSink
- Specified by:
incomingStreamSinkin classorg.jivesoftware.smack.debugger.SmackDebugger
-
userHasLogged
public void userHasLogged(org.jxmpp.jid.EntityFullJid user) - Specified by:
userHasLoggedin classorg.jivesoftware.smack.debugger.SmackDebugger
-
onIncomingStreamElement
public void onIncomingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement) - Specified by:
onIncomingStreamElementin classorg.jivesoftware.smack.debugger.SmackDebugger
-
onOutgoingStreamElement
public void onOutgoingStreamElement(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement) - Specified by:
onOutgoingStreamElementin classorg.jivesoftware.smack.debugger.SmackDebugger
-