|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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 All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |