Package org.jivesoftware.smackx.debugger
Class EnhancedDebuggerWindow
java.lang.Object
org.jivesoftware.smackx.debugger.EnhancedDebuggerWindow
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
FieldsModifier and TypeFieldDescriptionstatic intKeeps the max number of rows to keep in the tables.static boolean -
Method Summary
Modifier and TypeMethodDescriptionstatic EnhancedDebuggerWindowReturns the unique EnhancedDebuggerWindow instance available in the system.booleanvoidsetVisible(boolean visible) void
-
Field Details
-
PERSISTED_DEBUGGER
public static boolean PERSISTED_DEBUGGER -
MAX_TABLE_ROWS
public static int MAX_TABLE_ROWSKeeps 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 Details
-
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
- Throws:
InterruptedException
-