1 52 53 package freemarker.debug; 54 55 import java.rmi.Remote ; 56 import java.rmi.RemoteException ; 57 import java.util.Collection ; 58 import java.util.List ; 59 60 66 public interface Debugger extends Remote 67 { 68 public static final int DEFAULT_PORT = 7011; 69 70 75 public void addBreakpoint(Breakpoint breakpoint) 76 throws 77 RemoteException ; 78 79 84 public void removeBreakpoint(Breakpoint breakpoint) 85 throws 86 RemoteException ; 87 88 93 public void removeBreakpoints(String templateName) 94 throws 95 RemoteException ; 96 97 101 public void removeBreakpoints() 102 throws 103 RemoteException ; 104 105 109 public List getBreakpoints() 110 throws 111 RemoteException ; 112 113 118 public List getBreakpoints(String templateName) 119 throws 120 RemoteException ; 121 122 127 public Collection getSuspendedEnvironments() 128 throws 129 RemoteException ; 130 131 137 public Object addDebuggerListener(DebuggerListener listener) 138 throws 139 RemoteException ; 140 141 147 public void removeDebuggerListener(Object id) 148 throws 149 RemoteException ; 150 } 151 | Popular Tags |