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
printInterpretedFields inherited from class org.jivesoftware.smack.debugger.SmackDebugger
connection -
Constructor Summary
ConstructorsConstructorDescriptionAndroidDebugger(XMPPConnection connection) Constructs a new Smack debugger for Android. -
Method Summary
Methods inherited from class org.jivesoftware.smack.debugger.AbstractDebugger
incomingStreamSink, onIncomingStreamElement, onOutgoingStreamElement, outgoingStreamSink, userHasLoggedMethods 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:
login classAbstractDebugger
-
log
- Specified by:
login classAbstractDebugger
-