|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smack.debugger.LiteDebugger
public class LiteDebugger
The LiteDebugger is a very simple debugger that allows to debug sent, received and interpreted messages.
| Constructor Summary | |
|---|---|
LiteDebugger(Connection connection,
Writer writer,
Reader reader)
|
|
| Method Summary | |
|---|---|
Reader |
getReader()
Returns the special Reader that wraps the main Reader and logs data to the GUI. |
PacketListener |
getReaderListener()
Returns the thread that will listen for all incoming packets and write them to the GUI. |
Writer |
getWriter()
Returns the special Writer that wraps the main Writer and logs data to the GUI. |
PacketListener |
getWriterListener()
Returns the thread that will listen for all outgoing packets and write them to the GUI. |
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 |
rootWindowClosing(WindowEvent evt)
Notification that the root window is closing. |
void |
userHasLogged(String user)
Called when a user has logged in to the server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LiteDebugger(Connection connection,
Writer writer,
Reader reader)
| Method Detail |
|---|
public void rootWindowClosing(WindowEvent evt)
evt - the event that indicates that the root window is closingpublic Reader newConnectionReader(Reader newReader)
SmackDebugger
newConnectionReader in interface SmackDebuggerpublic Writer newConnectionWriter(Writer newWriter)
SmackDebugger
newConnectionWriter in interface SmackDebuggerpublic void userHasLogged(String user)
SmackDebugger
userHasLogged in interface SmackDebuggeruser - the user@host/resource that has just logged inpublic Reader getReader()
SmackDebugger
getReader in interface SmackDebuggerpublic Writer getWriter()
SmackDebugger
getWriter in interface SmackDebuggerpublic PacketListener getReaderListener()
SmackDebugger
getReaderListener in interface SmackDebuggerpublic PacketListener getWriterListener()
SmackDebugger
getWriterListener in interface SmackDebugger
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||