Class AndroidDebugger
java.lang.Object
org.jivesoftware.smack.debugger.SmackDebugger
org.jivesoftware.smack.debugger.AbstractDebugger
org.jivesoftware.smackx.debugger.android.AndroidDebugger
Very simple debugger that prints to the android log the sent and received stanzas.
Only use this debugger if really required, Android has a good java.util.logging
implementation, therefore JulDebugger
is preferred.
printInterpreted
static variable to true
.-
Field Summary
Fields inherited from class org.jivesoftware.smack.debugger.AbstractDebugger
printInterpreted
Fields inherited from class org.jivesoftware.smack.debugger.SmackDebugger
connection
-
Constructor Summary
ConstructorDescriptionAndroidDebugger
(XMPPConnection connection) Constructs a new Smack debugger for Android. -
Method Summary
Methods inherited from class org.jivesoftware.smack.debugger.AbstractDebugger
incomingStreamSink, onIncomingStreamElement, onOutgoingStreamElement, outgoingStreamSink, userHasLogged
Methods inherited from class org.jivesoftware.smack.debugger.SmackDebugger
newConnectionReader, newConnectionWriter, onIncomingElementCompleted, onOutgoingElementCompleted
-
Constructor Details
-
AndroidDebugger
Constructs a new Smack debugger for Android.- Parameters:
connection
- the connection to debug.
-
-
Method Details
-
log
- Specified by:
log
in classAbstractDebugger
-
log
- Specified by:
log
in classAbstractDebugger
-