Smack

org.jivesoftware.smackx.debugger
Class EnhancedDebuggerWindow

java.lang.Object
  extended by org.jivesoftware.smackx.debugger.EnhancedDebuggerWindow

public class EnhancedDebuggerWindow
extends java.lang.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.

Author:
Gaston Dombiak

Field Summary
static int MAX_TABLE_ROWS
          Keeps the max number of rows to keep in the tables.
static boolean PERSISTED_DEBUGGER
           
 
Method Summary
static EnhancedDebuggerWindow getInstance()
          Returns the unique EnhancedDebuggerWindow instance available in the system.
 boolean isVisible()
           
 void rootWindowClosing(java.awt.event.WindowEvent evt)
          Notification that the root window is closing.
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

rootWindowClosing

public void rootWindowClosing(java.awt.event.WindowEvent evt)
Notification that the root window is closing. Stop listening for received and transmitted packets in all the debugged connections.

Parameters:
evt - the event that indicates that the root window is closing

setVisible

public void setVisible(boolean visible)

isVisible

public boolean isVisible()

Smack

Copyright © 2003-2007 Jive Software.