Package org.jivesoftware.smackx.debugger
Class EnhancedDebuggerWindow
- java.lang.Object
-
- org.jivesoftware.smackx.debugger.EnhancedDebuggerWindow
-
public final class EnhancedDebuggerWindow extends Object
The EnhancedDebuggerWindow is the main debug window that will show all the EnhancedDebuggers. For each connection to debug there will be an EnhancedDebugger that will be shown in the EnhancedDebuggerWindow.This class also provides information about Smack like for example the Smack version and the installed providers.
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_TABLE_ROWS
Keeps the max number of rows to keep in the tables.static boolean
PERSISTED_DEBUGGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnhancedDebuggerWindow
getInstance()
Returns the unique EnhancedDebuggerWindow instance available in the system.boolean
isVisible()
void
setVisible(boolean visible)
void
waitUntilClosed()
-
-
-
Field Detail
-
PERSISTED_DEBUGGER
public static boolean PERSISTED_DEBUGGER
-
MAX_TABLE_ROWS
public static int MAX_TABLE_ROWS
Keeps the max number of rows to keep in the tables. A value less than 0 means that packets will never be removed. If you are planning to use this debugger in a production environment then you should set a lower value (e.g. 50) to prevent the debugger from consuming all the JVM memory.
-
-
Method Detail
-
getInstance
public static EnhancedDebuggerWindow getInstance()
Returns the unique EnhancedDebuggerWindow instance available in the system.- Returns:
- the unique EnhancedDebuggerWindow instance
-
setVisible
public void setVisible(boolean visible)
-
isVisible
public boolean isVisible()
-
waitUntilClosed
public void waitUntilClosed() throws InterruptedException
- Throws:
InterruptedException
-
-