|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jqql.debug.DebugSwitch
public class DebugSwitch
Debug switching class, singleton, control the setting of debug status and manage the Debug client. It takes responsibility for delivering Debug event to clients. Thus, there can exist more than one Debug client at the same time. Debug切换类,单一实例,控制debug状态的设置和管理Debug客户端,其负责向客户端转发 Debug事件。所以可以有多个调试客户端同时存在。
Method Summary | |
---|---|
void |
addDebugListener(IDebugListener dl)
Add a debug event listener. |
void |
deliverDebugObject(IDebugObject obj)
Deliver debug packet. |
static DebugSwitch |
getInstance()
|
boolean |
isDebug()
|
void |
removeDebugListener(IDebugListener dl)
Remove a debug event listener 删除一个调试事件监听器 |
void |
setDebug(boolean debug)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DebugSwitch getInstance()
public void addDebugListener(IDebugListener dl)
dl
- IDebugListenerpublic void removeDebugListener(IDebugListener dl)
dl
- IDebugListenerpublic void deliverDebugObject(IDebugObject obj)
e
- IDebugObject object
IDebugObject对象public boolean isDebug()
public void setDebug(boolean debug)
debug
- The debug to set.
|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |