public class SLF4JSmackDebugger extends SmackDebugger
| Modifier and Type | Field and Description |
|---|---|
static String |
LOGGER_NAME |
static AtomicBoolean |
printInterpreted |
static String |
RECEIVED_TAG |
static String |
SENT_TAG |
connection| Modifier and Type | Method and Description |
|---|---|
static void |
enable()
Makes Smack use this Debugger.
|
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 |
userHasLogged(EntityFullJid user)
Called when a user has logged in to the server.
|
public static final String LOGGER_NAME
public static final AtomicBoolean printInterpreted
public static final String SENT_TAG
public static final String RECEIVED_TAG
public static void enable()
public Reader newConnectionReader(Reader newReader)
SmackDebuggernewConnectionReader in class SmackDebuggernewReader - connection reader.public Writer newConnectionWriter(Writer newWriter)
SmackDebuggernewConnectionWriter in class SmackDebuggernewWriter - connection writer.public void userHasLogged(EntityFullJid user)
SmackDebuggeruserHasLogged in class SmackDebuggeruser - the user@host/resource that has just logged inpublic void onIncomingStreamElement(TopLevelStreamElement streamElement)
SmackDebuggerThis method is invoked right after the incoming stream was parsed.
onIncomingStreamElement in class SmackDebuggerstreamElement - the incoming top level stream element.public void onOutgoingStreamElement(TopLevelStreamElement streamElement)
SmackDebuggerThis method is invoked right before the element is serialized to XML and put into the outgoing stream.
onOutgoingStreamElement in class SmackDebuggerstreamElement - the outgoing top level stream element.