Class 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 
      Constructor Description
      LiteDebugger​(org.jivesoftware.smack.XMPPConnection connection)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void incomingStreamSink​(java.lang.CharSequence incomingCharSequence)  
      void onIncomingStreamElement​(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)  
      void onOutgoingStreamElement​(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)  
      void outgoingStreamSink​(java.lang.CharSequence outgoingCharSequence)  
      void rootWindowClosing​(java.awt.event.WindowEvent evt)
      Notification that the root window is closing.
      void userHasLogged​(org.jxmpp.jid.EntityFullJid user)  
      • Methods inherited from class org.jivesoftware.smack.debugger.SmackDebugger

        newConnectionReader, newConnectionWriter, onIncomingElementCompleted, onOutgoingElementCompleted
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LiteDebugger

        public LiteDebugger​(org.jivesoftware.smack.XMPPConnection connection)
    • Method Detail

      • rootWindowClosing

        public void rootWindowClosing​(java.awt.event.WindowEvent evt)
        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

        public void outgoingStreamSink​(java.lang.CharSequence outgoingCharSequence)
        Specified by:
        outgoingStreamSink in class org.jivesoftware.smack.debugger.SmackDebugger
      • incomingStreamSink

        public void incomingStreamSink​(java.lang.CharSequence incomingCharSequence)
        Specified by:
        incomingStreamSink in class org.jivesoftware.smack.debugger.SmackDebugger
      • userHasLogged

        public void userHasLogged​(org.jxmpp.jid.EntityFullJid user)
        Specified by:
        userHasLogged in class org.jivesoftware.smack.debugger.SmackDebugger
      • onIncomingStreamElement

        public void onIncomingStreamElement​(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
        Specified by:
        onIncomingStreamElement in class org.jivesoftware.smack.debugger.SmackDebugger
      • onOutgoingStreamElement

        public void onOutgoingStreamElement​(org.jivesoftware.smack.packet.TopLevelStreamElement streamElement)
        Specified by:
        onOutgoingStreamElement in class org.jivesoftware.smack.debugger.SmackDebugger